fix(ci): call the lab cost gate at @main - #150
Merged
Merged
Conversation
GitHub rejects a reusable workflow ref written as @refs/heads/main with HTTP 422. The pin allowlist follows that one uses string so the same-repo exception stays exact.
Member
Author
|
FOUNDER_OVERRIDE_MERGE (not Kate/
|
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.
Summary
The lab provision workflow called the cost gate with
@refs/heads/main. GitHub rejects that reusable-workflow ref with HTTP 422, so F-SELF never started a provision run. This changes that oneusesline to@main.The sweeper and the other lab workflows do not call a reusable workflow with that ref. Comments and
GITHUB_WORKFLOW_REFchecks still say@refs/heads/main, which is the OIDC form GitHub records for a workflow on main.The release pin allowlist names this exact
usesstring. CI compares the generated pin report to the tree, so those records moved with the line.NONINTERACTIVE_TEARDOWN_READYstays false. The denylist is untouched.Evidence
Cost gate is green: https://github.com/vantioai/vantio-open-core/actions/runs/36799577186
Local evidence on Phantom-Box, not in this commit:
/home/vantioai/scratch/c8-fself-fsweep-2026-10-01/resume-after-oidc/evidence/RESULT.jsonwas recorded at 2026-10-01T01:10:50Z. Classification FAIL, stopped at provision dispatch. Main wasa81df8b9dc3852326b8ce0b25f70fe8f70eae3f8.NONINTERACTIVE_TEARDOWN_READYis false and was not edited.vantio-w3-lab-billing-readsucceeded.expected_oop_usdis 0 and abort is false. Account960577828987. Forbidden account934814114565was not used.provision-dispatch-422.json: POST dispatch ofw3-lab-auto-provision.ymlon main returned HTTP 422 (AD3C:127A0C:205D03F:69CF829:6ABDB2E7). GitHub said the called workflowvantioai/vantio-open-core/.github/workflows/w3-lab-auto-cost-gate.yml@refs/heads/mainis not a valid branch, tag, or commit. No provision run was created.w3-lab-auto-cost-gate-36799577186.json:expected_oop_usd0, abort false, reasons empty, worst case $2.00, Free plan read viafreetier:GetAccountPlanStatein us-east-1. Cost Explorer was not called.scripts/aws/w3_lab_auto.py.Test
node --test scripts/release/ws11/ws11.test.mjs— 14 pass, 0 fail.Review
CODE_KATE (workflow). Do not merge.