Repository navigation
Conversation
This was referenced Nov 12, 2026
This branch has not been deployed
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.
The beta publication workflow failed with HTTP 403 while checking whether
rustiq-chem-core 0.1.0-beta.1existed. Add a descriptive User-Agent and anAccept: application/jsonheader to crates.io API requests, preserving the existing 200/404 handling and safe failure for all other statuses.A read-only comparison returned HTTP 403 with default curl and HTTP 404 with the corrected headers. The original logs did not retain the response body, and the comparison's 403 body was empty, so User-Agent rejection is strongly supported but the precise server-side rule is unconfirmed.
The first corrected dispatch passed the API checks but exposed another publication blocker:
metadata.jsonand API response files were created in the release checkout, causing Cargo to reject uncommitted package contents. Store these files in a temporary directory outside the checkout and clean it on exit. Keep Cargo's clean-tree checks enabled.Validation:
git diff --checkpassed.rustiq-chem-coreandrustiq-chemversion0.1.0-beta.1were published. Independent crates.io API checks returned HTTP 200 andyanked: falsefor both.fix/crates-api; checkout explicitly selectedv0.1.0-beta.1atdd39cb4f44e91df9a9c9149d0cdd1b9dca1ded2b.publish-crates.ymlwas dispatched. No promotion or full release pipeline was dispatched, and no release binaries or GitHub Release artifacts were rebuilt or replaced.main,develop, and the existing release tag remain unchanged. The GitHub Release API snapshot, including asset metadata, is identical before and after publication. No history was rewritten.Documentation impact: reviewed the release guide. No book edit is needed because commands, validation rules, publication behavior, and documented recovery procedures remain unchanged; these changes repair request compatibility and placement of internal temporary files. No book checks were required.
This PR changes only
.github/workflows/publish-crates.ymland targetsdevelop. Leave merging to the maintainer.