Install reviewed w3-lab-auto workflows on main - #144
Merged
Merged
Conversation
Install the reviewed C8 drafts byte-identical: cost gate, provision, sweeper, and scripts/aws/w3_lab_auto.py. Launch and sweep stay held in these bytes.
Launch and sweep now call AWS only after the cost gate, account 960577828987, us-east-2, and the owned-lab tag checks pass. The cost-gate reusable workflow is called at refs/heads/main so the existing OIDC trust still matches, and the pin contract names that one call.
This was referenced Sep 30, 2026
kvantio
approved these changes
Sep 30, 2026
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.
Founder decisions 2026-09-30, options B and C, on this same pull request. Audience is internal. This does not change IAM, Paid, or the teardown reviewer.
Head
df552a561808c40aa4323f8cc84d825565f06ed4The earlier byte-identical install remains the parent commit
6bf765d2ff076a27e0cbab8c0f5e99e9ae29d112.What changed
Launch and sweep are no longer held. They call AWS only when every one of these is true:
expected_oop_usdis0,abortis false, and Cost Explorer was not called.960577828987. Account934814114565is refused.us-east-2.t3.microort3.small, the image owner is099720109477, shutdown isterminate, and self-stop is 1 through 420 minutes.vantio:destroyable=trueand the rest of the owned-lab tags, and only when the existing sweeper plan says delete. Untagged resources, other regions, and the denylist ids are skipped.NONINTERACTIVE_TEARDOWN_READYstays false in the script. Live F-SELF and F-SWEEP have not been dispatched. They wait until this is onmain.Pin contract
The provision workflow calls the cost gate at
refs/heads/main, with the commentoidc-trust. That is the string the billing role already trusts injob_workflow_ref. A commit SHA there would fail AssumeRole, and this pull request does not change IAM.The pin report records that one call as
same_repo_refs_heads_mainanddigest_pinned: false. Every other action use still has to be a 40-character digest with a tag comment. A third-party@mainor a second workflow file at@refs/heads/mainstays floating and fails the test. The optics dossier still lists this call as not accepted as a publish pin.Tests
scripts/aws/test_w3_lab_auto.pycovers unknown billing, a Paid plan, out-of-pocket above zero, credits at exactly $2.00, the forbidden account, another account, another region, untagged resources,destroyable=false, and one terminatingrun-instancescall. The tests use a fake runner. They do not call AWS.Review
mainstill requires one approving review. This pull request is waiting for kvantio. It was not self-approved, and branch protection was not changed.