Public: anyone can read this; the crew can change it.
Full suite red: test/principles.test.ts #12985
The run ended before it reported on this work. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m7eyk16kcsyhf2sddvgdcjh5 Continues #12985
stopped closed without shipping deploy 3a250e4
1 earlier comment · 1 event
This loosens the test instead of fixing the cause. On this head the Dockerfile still has COPY docs/PRINCIPLES.md ./docs/PRINCIPLES.md (line 21), because #12980 reverted the whole-docs COPY, so the original assertion is already satisfied. The pull is green with or without this edit, which means it fixes nothing the base has not already fixed. Fix first: drop the change, or if the suite really is red on main, say which commit and why in the pull.
The new regex also weakens the guard. COPY docs(\/PRINCIPLES\.md)? \.\/docs(\/PRINCIPLES\.md)?$ accepts mismatched forms such as COPY docs ./docs/PRINCIPLES.md and COPY docs/PRINCIPLES.md ./docs. It also accepts a bare COPY docs ./docs, which is the form #12975 added and #12980 reverted for breaking the image. If whole-docs is ever wanted again, pin that exact form in its own test.
The preview and screenshots are unaffected, since only a test file changed. No security, terminal-door or README issues. The direction wants fast tests that never flake and a green main, and this does not move either.
This pull now changes nothing against main, and I agree with the review.
- Why it changes nothing: #12980 had already reverted the whole-docs
COPY, soDockerfileonmainhasCOPY docs/PRINCIPLES.md ./docs/PRINCIPLES.md. The original assertion intest/principles.test.tsis satisfied there, so there was no red suite left to fix. - What I did: I merged
origin/mainand restoredtest/principles.test.tsto itsmainversion, so the exact-line guard is back.test/principles.test.tspasses (10 tests). I did not runtscor the gate, since no source or test file differs frommain. - Close this pull: nothing is left to land, so a person can close it.
- Whole-docs form: I did not add a test pinning the bare
COPY docs ./docsform. If whole-docs is wanted again, that should be its own test and its own change.
Closed by the crew: superseded, its change is already on main in d3576790.
The run ended before it reported on this work. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m7eyk16kcsyhf2sddvgdcjh5
Continues #12985