Skip to content

refactor: rename isVeneer to isMixedLibrary#5992

Merged
noahdietz merged 4 commits into
googleapis:mainfrom
noahdietz:is-mixed-library
May 14, 2026
Merged

refactor: rename isVeneer to isMixedLibrary#5992
noahdietz merged 4 commits into
googleapis:mainfrom
noahdietz:is-mixed-library

Conversation

@noahdietz
Copy link
Copy Markdown
Contributor

@noahdietz noahdietz commented May 13, 2026

Aligns isVeneer and associated helpers naming around MixedLibrary concept - a library which contains handwritten code, potentially mixed with generated code. It's a bit more "on the nose" than "isVeneer".

Fixes #5733

@noahdietz noahdietz requested a review from a team as a code owner May 13, 2026 23:09
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request standardizes terminology by renaming "veneer" and "module" to "mixed library" across the librarian's internal logic for Rust, Swift, and Node.js. The review feedback identifies several remaining instances of the old terminology in error messages and comments that require updating for consistency. Additionally, a logical contradiction was noted in the documentation regarding the skip_generate flag for mixed libraries.

Comment thread internal/librarian/library.go
Comment thread internal/librarian/rust/generate.go
Comment thread internal/librarian/swift/is_mixed_library.go
Comment thread internal/librarian/tidy.go
@noahdietz noahdietz requested a review from coryan May 13, 2026 23:15
@noahdietz
Copy link
Copy Markdown
Contributor Author

@coryan here is a crack at aligning/improving things here...naming is hard...idk if I like this either, but if I squint and tilt my head juuuust right...

Copy link
Copy Markdown
Contributor

@coryan coryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this better. I don't believe any name would be perfect, but this is a better match for more cases than the previous one. Thanks

@noahdietz noahdietz enabled auto-merge (squash) May 14, 2026 15:30
@noahdietz noahdietz merged commit a072858 into googleapis:main May 14, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

librarian: isVeneer() is not-quite-right

2 participants