Skip to content

Commit ea9b9a2

Browse files
committed
chore: remove retired Plan parity scripts
1 parent cd03f1b commit ea9b9a2

6 files changed

Lines changed: 8 additions & 359 deletions

File tree

‎examples/aws-lambda/scripts/_semantic-compare.sh‎

Lines changed: 0 additions & 239 deletions
This file was deleted.

‎examples/aws-lambda/scripts/semantic-compare.test.sh‎

Lines changed: 0 additions & 118 deletions
This file was deleted.

‎packages/producer/src/regression-harness-distributed.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export type DistributedSupportResult = { supported: true } | { supported: false;
8181
* `{ num: 30000, den: 1001 }` (NTSC) trip the type system at the call
8282
* site. We surface this gate in code rather than only in TS so the
8383
* harness can skip the fixture cleanly instead of throwing.
84-
* - hdr must not be `true`. Distributed mode is SDR-only at v1.
84+
* - hdr must not be `true`. Distributed mode is SDR-only.
8585
*
8686
* Callers that want the structured reason can read it off the returned
8787
* `reason` field; the message is intended to be log-friendly.

‎packages/producer/tests/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ passing in the summary):
9494
- `fps.den !== 1` — distributed mode is integer-fps only (no NTSC).
9595
- `fps.num` not in `DISTRIBUTED_FPS` (`@hyperframes/core`) — closed set per `DistributedRenderConfig`.
9696
- `format === "webm"` — `plan()` refuses webm.
97-
- `hdr === true` — distributed mode is SDR-only at v1.
97+
- `hdr === true` — distributed mode is SDR-only.
9898

9999
Both modes use the fixture's authored `minPsnr` as the per-test
100100
threshold — distributed must clear the same quality bar in-process

‎scripts/check-no-main-deletions.mjs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ const PLAN_PARITY_HARNESS_REASON =
756756
"the completed Plan v1-to-v2 rollout harness has no supported v1 cloud path left to exercise";
757757

758758
const PLAN_PARITY_HARNESS_FILES = [
759+
"examples/aws-lambda/scripts/_semantic-compare.sh",
760+
"examples/aws-lambda/scripts/semantic-compare.test.sh",
759761
"packages/producer/fixtures/plan-parity-size-pressure/.plan-parity-fixture.json",
760762
"packages/producer/fixtures/plan-parity-size-pressure/index.html",
761763
"packages/producer/fixtures/plan-parity-visual-audio/.plan-parity-fixture.json",

‎scripts/check-no-main-deletions.test.mjs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,9 @@ test("the Plan v1 cleanup allowlist is limited to samples and the rollout harnes
8080
ALLOWED_DELETIONS.get("packages/producer/src/plan-parity-harness.ts") ?? "",
8181
/completed Plan v1-to-v2 rollout harness/,
8282
);
83+
assert.match(
84+
ALLOWED_DELETIONS.get("examples/aws-lambda/scripts/_semantic-compare.sh") ?? "",
85+
/completed Plan v1-to-v2 rollout harness/,
86+
);
8387
assert.equal(ALLOWED_DELETIONS.has("packages/producer/src/services/distributed/plan.ts"), false);
8488
});

0 commit comments

Comments
 (0)