macOS CI: build from the dev clone's engines, never from scratch past the 3h runner limit (L1.8)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5accf492ba
commit
60d82d0c5e
10 files changed
+85
-2
No files matched your search
@@ -0,0 +1,3 @@
|
||||
FAIL
|
||||
|
||||
scripts/ci.sh:24 — Command substitution strips trailing newlines from `readlink` output, allowing a link to the wrong directory through the ELY_SHARE guard. If `engines` points to the existing directory `"$ELY_SHARE/engines"$'\n'`, its target compares equal to `$ELY_SHARE/engines`, and packaging proceeds using that other directory. The same bypass affects `reference`. Both isolated probes reached packaging instead of rejecting the link; evidence: `.work/L1.8-r1-probes.log`. Preserve the complete link target when comparing it, and add regression tests covering this case alongside correct links, local directories, and ordinary wrong links.
|
||||
@@ -0,0 +1,3 @@
|
||||
FAIL
|
||||
|
||||
tests/scripts/ci-share.sh:25 — The helpers check diagnostic text rather than the required outcomes, and `attempt` discards CI's exit status. In disposable copies, removing the guard's `exit 1` leaves all five tests green although a local `engines` directory reaches packaging; replacing link creation with a no-op also leaves them green although neither required link exists. Both failures were reproduced using a local packaging stub; evidence: `.work/L1.8-r2-probes.log`. Preserve the exit status, assert rejected layouts stop before packaging, and check that the absent-directory case creates both links with the exact requested targets.
|
||||
@@ -0,0 +1,7 @@
|
||||
FAIL
|
||||
|
||||
tests/scripts/ci-share.sh:33 — The exact-target assertion still strips trailing newlines: `$(target ...)` removes them after the helper preserves them. In a disposable copy, changing link creation to append a newline to each target leaves the entire suite green, although both links point elsewhere and CI reaches the local packaging stub. The two round 2 mutations now correctly fail, but this target assertion remains incomplete. Preserve a sentinel through the comparison and check the complete stored target. Evidence: `.work/L1.8-r3-probes.log`.
|
||||
|
||||
tests/scripts/ci-share.sh:44 — All rejection cases exercise only `engines`, leaving rejection of a local or misdirected `reference` untested. Restricting the guard to `engines` leaves the suite green; a separate macOS probe then reaches packaging with a local `reference` directory. Exercise rejected layouts for both entries and assert that each stops before packaging. Evidence: `.work/L1.8-r3-probes.log`.
|
||||
|
||||
tests/scripts/ci-share.sh:29 — The new inline comment has eleven words: “name, setup; the check lets it through to the release step”. This violates the ten-word comment limit; the existing comment checker misses inline shell comments and passes. Shorten the comment to ten words or fewer. Evidence: `.work/L1.8-r3-tests.log`.
|
||||
@@ -0,0 +1,3 @@
|
||||
FAIL
|
||||
|
||||
tests/scripts/ci-share.sh:24 — Every case runs the fictitious `probe` platform, leaving macOS rejection untested. In a disposable copy, changing the guard from `[ "$os" != windows ]` to `[ "$os" != macos ]` leaves the suite green; running that copy with `macos` and a local `engines` directory reaches the packaging stub (exit 71), violating L1.8. Exercise `macos` with a local packaging stub, asserting that valid links reach it and rejected layouts stop before it. Evidence: `.work/L1.8-r4-probes.log`.
|
||||
@@ -0,0 +1 @@
|
||||
PASS
|
||||
Reference in new issue
Block a user