Stop contributing compile times to cratebank - #38
Merged
Conversation
PowderworksCode/cratebank is private now, and a workflow cannot resolve an action from a private repository it has not been granted. The gate job fails in about two seconds with `Unable to resolve action powderworkscode/cratebank, not found`, before a single step runs, so every pull request and every push to main is red for a reason that has nothing to do with the change under it. The measurement was worth having, but not at the price of a gate that cannot report on the code. This takes out the step and the opt-in metadata together, returning both files to what they were before the census went in. Nothing else moves: the step built what the cargo steps below it build anyway, and they still run. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rp55cfDuASnkAQMcGgis88
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.
PowderworksCode/cratebankis private, and a workflow cannot resolve an action from a private repository it has not been granted access to. Thegatejob now fails in about two seconds, before a single step runs:Every pull request and every push to
mainis red for a reason that has nothing to do with the change under it. Observed today on #32, wheregatepassed at 18:21 and failed at 18:36 with no change to the workflow in between:gatefa2d3beDownload action repository 'PowderworksCode/cratebank@v0.1.1' (SHA:bbc8b4f)1f790b6The repository still exists and
v0.1.1still carriesaction/action.yml. What changed is visibility.What this does
Removes the step and the
[package.metadata.cratebank]opt-in together, returning.github/workflows/ci.ymlandCargo.tomlto the blobs they had before the census went in (35b0efband218a6c5).Nothing else moves. The step built what the
cargosteps below it build anyway, and those still run —gatekeeps all nine of its remaining steps.The alternative
If the census is worth keeping, the fix instead is cratebank → Settings → Actions → General → Access, allowing repositories in the
PowderworksCodeorganization. That is a change in the other repository, so this pull request takes the path that can be made here. Happy to close this in favour of that.Verified
cargo metadataparses the manifest, the workflow parses withgateandactionintact, andstraitjacketscans the tree clean (91 files).🤖 Generated with Claude Code
https://claude.ai/code/session_01Rp55cfDuASnkAQMcGgis88