-
Couldn't load subscription status.
- Fork 26
Teams for file paths #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teams for file paths #130
Conversation
1fb6627 to
edde479
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
eb28093 to
c3bfe31
Compare
e66839f to
8fddb42
Compare
8fddb42 to
014d4a7
Compare
90974a8 to
13a9e49
Compare
2a69a8d to
2940be3
Compare
2940be3 to
2480661
Compare
| name: CD | ||
|
|
||
| on: | ||
| workflow_call: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manual kickoff (for now).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome thanks for tackling this
This pull request introduces several improvements and new features to the code ownership infrastructure, focusing on performance, usability, and maintainability. The most significant changes include a new bulk ownership lookup API for files, enhanced documentation and parameterization for ownership queries, workflow optimizations for CI/CD, and dependency updates for the Rust backend. These changes make ownership queries faster and more flexible, improve the artifact publishing and release process, and add more robust validation and error handling.
Features & API Improvements
teams_for_filesin the Rust extension and exposedteams_for_files_from_codeownersin Ruby, allowing efficient ownership queries for multiple files at once. This is significantly faster than querying files individually. [1] [2] [3]for_fileAPI: Addedfrom_codeownersandallow_raiseparameters tofor_file, enabling users to choose lookup strategy and error handling behavior. Documentation was expanded with examples and usage notes. [1] [2]CI/CD & Workflow Optimizations
workflow_calltrigger, improved artifact retention, cache isolation, and added platform-specific gem smoke tests. The release step now generates detailed notes and only publishes new versions. [1] [2] [3]Dependency Updates
codeowners-rsdependency: Upgraded to versionv0.2.17for bug fixes and new features.Documentation & Validation
References: [1] [2] [3] [4] [5]Incorporates https://github.com/rubyatscale/codeowners-rs/releases/tag/v0.2.15 for finding teams from an array of files.
This is an optimization for when callers have a large number of files for which they need to know the owning teams.