fix(pr-to-video): bound first-run workspace and context (#2382)

* fix(pr-to-video): bound first-run workspace and context

* fix(cli): expose validation gate in help

* fix(pr-to-video): harden workflow guardrails

* style(pr-to-video): apply repository formatting

* chore(skills): refresh pr-to-video manifest
This commit is contained in:
Miguel Ángel
2026-07-13 22:33:21 -04:00
committed by GitHub
parent 9ac4ab8dee
commit fba5cb9c93
10 changed files with 464 additions and 22 deletions
@@ -17,7 +17,8 @@ import { App, Stack } from "aws-cdk-lib";
import { Template } from "aws-cdk-lib/assertions";
import { HyperframesRenderStack } from "./HyperframesRenderStack.js";
// CDK synth is slow on cold start (~5-8s on the slowest CI runner). The
// CDK synth is slow on cold start and reached 32s under full-workspace CI
// contention. The
// default bun:test 5s timeout trips the first `it()` that calls it. Cache
// the default-args synth in `beforeAll` so each test is pure assertions.
// Tests that need non-default props still synth on demand and bump their
@@ -129,9 +130,11 @@ describe("HyperframesRenderStack — contract", () => {
projectName: "demo",
});
const t = Template.fromStack(stack);
t.hasResourceProperties("AWS::Lambda::Function", { FunctionName: "demo-render" });
t.hasResourceProperties("AWS::Lambda::Function", {
FunctionName: "demo-render",
});
t.hasResourceProperties("AWS::StepFunctions::StateMachine", {
StateMachineName: "demo-render",
});
}, 30000);
}, 60000);
});