Azure / Azure/azure-sdk-for-rust
Make sure generated code is up to date in PRs
- Dominant language
- Rust
- Stars
- 884
- Forks
- 365
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 112
Description
Like in other languages, we need a way to make sure that generated code is up to date with the configured emitter version in the repo. This should fail the build and ask people to regenerate. We should constrain it to just the crates they touched. Plenty of precedent to draw upon from other languages.
Possibly related to #1972.
Contributor guide
Research direction
No files, tests, or entry points are named. Review the existing PR build configuration and the approach discussed in related issue #1972, then define the check around only the crates touched by a PR. Done means the build fails when generated code does not match the configured emitter version and asks contributors to regenerate it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, ci-cd
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100