You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix Rust publish workflow failure caused by crates.io data-access 403 on direct API calls
replace direct crates.io HTTP checks with cargo info registry metadata lookups
keep safety gates for unpublished versions and core-crate propagation before publishing CLI crate
document release best practice updates in AGENTS guidance
Root Cause
Resolve next Rust version used raw curl against crates.io API endpoints, which returned HTTP 403 due crates.io data-access policy enforcement in GitHub Actions.
Validation
verified cargo info based version lookup locally
verified unpublished-version checks for clawdentity-core and clawdentity-cli
verified propagation-check command path for existing versions
Fix addresses the failure from run https://github.com/vrknetha/clawdentity/actions/runs/22348267698/job/64668417630 by removing direct crates.io API calls that returned 403 under data-access policy.\n\nWorkflow now uses cargo info metadata/index lookups for:\n- current version resolution\n- unpublished target-version checks\n- clawdentity-core propagation wait before publishing clawdentity-cli\n\nThis preserves version automation and publish safety without raw crates HTTP calls.
Applied follow-up fix for the latest failure in Resolve current and next crate version:\n\n- force CARGO_TERM_COLOR=never for all cargo info checks\n- strip ANSI escape codes before parsing version:\n\nThis addresses colorized output from Actions causing the parser to return an empty version. Commit: a3b8a9a.
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
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.
Summary
cargo inforegistry metadata lookupsRoot Cause
Resolve next Rust versionused rawcurlagainst crates.io API endpoints, which returned HTTP 403 due crates.io data-access policy enforcement in GitHub Actions.Validation
cargo infobased version lookup locallyclawdentity-coreandclawdentity-cligit push