[codex] add release-plz automation#47
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 468ca1b950
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Run release-plz release-pr | ||
| uses: release-plz/action@v0.5 | ||
| with: | ||
| command: release-pr |
There was a problem hiding this comment.
Make dashboard-only edits open release PRs
When a change only touches tracked dashboard UI sources under dashboard/*/src/**, this release-pr job will not bump a version because release-plz opens PRs from changed packaged crate files; this crate’s whitelist ships generated dashboard/*/dist/** assets instead, and those files are gitignored/not committed. The release job later builds those assets before publishing, so dashboard-only fixes do affect the published crate but can be stranded with no release PR until some Rust/package file changes.
Useful? React with 👍 / 👎.
|
|
||
| ## Manual Recovery | ||
|
|
||
| If release-plz publishes the crate but the binary artifact workflow does not run, check whether `RELEASE_PLZ_TOKEN` was configured. Then manually dispatch `Release` from the Actions tab against the release tag. |
There was a problem hiding this comment.
Don’t document dispatch as a recovery path
If the follow-up release event is missed, manually dispatching Release against the tag will not repair it: .github/workflows/release.yml treats workflow_dispatch as a dry run (dry-run-${GITHUB_SHA::7}) and all upload/update jobs are still gated on github.event_name == 'release', so this instruction only rebuilds local dry-run archives and leaves the GitHub release assets and package-manager manifests unchanged.
Useful? React with 👍 / 👎.
Summary
Adds a working stable release pipeline for TraceDecay.
What this does
Release-plzruns on pushes tomaster.tracedecaycrate and creates thevX.Y.ZGitHub Release.Releaseworkflow runs from the published GitHub Release and builds/uploads binaries.ScriptedAlchemy/homebrew-tapandScriptedAlchemy/scoop-bucket.server.jsonupdate behavior is kept.Setup Done
write.RELEASE_PLZ_TOKENsecret is set.CARGO_REGISTRY_TOKENsecret is set as the bootstrap crates.io publish fallback.TAP_GITHUB_TOKENsecret is set.ScriptedAlchemy/homebrew-tapexists and is initialized.ScriptedAlchemy/scoop-bucketexists and is initialized.crates-ioexists.Follow-up After Merge
ScriptedAlchemy/tracedecay, workflowrelease-plz.yml, environmentcrates-io.CARGO_REGISTRY_TOKENfromrelease-plz.ymland delete the repo secret.No Longer Required
SIGNPATH_API_TOKENSIGNPATH_ORGANIZATION_IDValidation
release-plz.ymlandrelease.ymlas YAML.release-plz.tomlas TOML.git diff --check.actionlintonrelease.ymlandrelease-plz.yml.gitleakson this PR diff: no leaks found.cd dashboard && npm ci && npm run build.cargo publish --dry-run --allow-dirty: packagedtracedecay v0.0.2successfully and stopped before upload because it was a dry run.release-plz release --dry-run; it correctly returned no releases for this automation PR because this PR is not the generated release PR.Releaseworkflow dry run is in progress on this branch.