Add a claude-generated script that runs our release process.#1887
Draft
nuttycom wants to merge 6 commits intozcash:mainfrom
Draft
Add a claude-generated script that runs our release process.#1887nuttycom wants to merge 6 commits intozcash:mainfrom
claude-generated script that runs our release process.#1887nuttycom wants to merge 6 commits intozcash:mainfrom
Conversation
7feb415 to
22c3835
Compare
Prompt: Today's goal is to write a Python script to facilitate the release of crates in this Rust workspace. The dependencies within this workspace are complex. The last 7 commits in this workspace can serve as an example for the process that should performed. Crates should be released in dependency order, and for each crate being released, the operations for the release of that crate should be performed in a single commit.
Prompt: The `update_supply_chain` step should be modified to use `cargo vet` to update the supply chain metadata, instead of modifying the supply chain metadata directly.
…s` validation. Prompt: As a prerequisite for creating each release commit, just prior to committing the changes, we should run `cargo publish -p <crate_name> --dry-run` to ensure that there are no unresolved problems that could disrupt the release. In addition, we should run `cargo semver-checks` to verify that the version bump being proposed respects SemVer constraints.
22c3835 to
d7f628b
Compare
… update` Prompt: `cargo update` is not sufficiently granular; it may update other dependencies that we don't want updated. Use `cargo check --tests --all-features` instead; this will perform the minimal required update to the Cargo.lock file.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1887 +/- ##
=======================================
Coverage 57.79% 57.79%
=======================================
Files 184 184
Lines 22386 22386
=======================================
Hits 12938 12938
Misses 9448 9448 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…kdown parsing. Prompt: The next goal is to make the `update_changelog` and `update_dependent_changelogs` functions more robust: `update_changelog` needs to operate properly in the case that there does not yet exist a `PLANNED` section for the release we're about to make. The `update_dependent_changelogs` function may need to add a `### Changes` section for the current release if one doesn't exist yet, and may need to add a `Migrated to` line to that section if no such line exists recording updated dependencies. Use the `marko` markdown parser and update the AST directly instead of performing direct manipulation of the CHANGELOG text, taking advantage of the structured nature of the CHANGELOG data.
…when running the release script. Prompt: create a pyproject.toml file such that the `release_crates.py` script can be reliably run using `uv`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.