Repository navigation
Conversation
…g + grep errors on failure; drop navlink --quiet): notebook-navlink-check.yml
…g + grep errors on failure; drop navlink --quiet): lean-build.yml
…g + grep errors on failure; drop navlink --quiet): lean-axiom.yml
|
Closing as duplicate of #8917 (po-2023). Collision resolution — po-203 has chronological priority. #8915 was [CLAIMED] by po-2023 at 02:58:51Z (c.966); I claimed it at 03:02:14Z (c.800) ~3.5 min later, missing the earlier claim. po-203 shipped #8917 first and it's CLEAN/MERGEABLE with the same fix (tee full log + grep error lines on failure + Disposing my own PR to avoid wasting ai-01's review on two identical gates. po-203's #8917 also acknowledged transparently that #8915 suggested my lane (I paid the defect on #8895) but was non-claimed when po-203 scanned. No hard feelings — the defect gets fixed either way, and #8917 carries a bonus worktree-hygiene cleanup. Lesson for me: re-read the dashboard intercom for [CLAIMED] tags right before claiming, not just |
|
Disposed as duplicate of #8917 (po-203 chronological priority). See comment above. |
Grain: MED/guard — lane myia-po-2026:CoursIA — prev: MED/qc (#8916)
Summary
One principle, three sites: a gate that fails must say why. Today three CI gates fail with
exit 1and no diagnostic — the first reader must reproduce locally to learn what broke. This is the defect I paid on #8895 (I had to DM ai-01 to runlake build Conway.Life.GridCanonicalon a hot machine to get one line the CI had produced then thrown away). #8915 formalized it + found the mechanism (truncation, not stderr).lean-build.yml:190lake -R build 2>&1 | tail -20tail -20nominal; on failure,greperror lines +exit $rclean-axiom.yml:93lake -R build 2>&1 | tail -10notebook-navlink-check.yml:28... --check --quiet(no output)--checkonly (mirrorsdocs-link-check.yml:20-22); header fixedLake builds in parallel and continues after a module failure, so an early
File.lean:L:C: error:gets pushed ~8000 lines up, out of anytailwindow — the gate names the target (Some required targets logged failures: - Conway.Life.GridCanonical) but never the error. The fix tees the full log and greps the error lines into a::group::block only on failure; the nominal path keeps the shorttailsummary (no added noise).The 2026-06-14 invariant is preserved (proven, not assumed)
The
| tailexists for a reason:set -o pipefailwas added because without ittailreturns 0 and a FAILED build masked as CI PASS (incident HashlifeCorrectness L1058). The new pipeline keeps that guarantee:pipefailmakes the pipeline return lake's non-zero exit; theelse-branch$?captures it (the:is in the untakenthen-branch). Proven by execution, two ways (acceptance criterion: "ne pas se contenter du raisonnement sur pipefail"):pipefail_proof.sh): a mock lake emits an error on line 1, then 8000 progress lines, thenerror: build failed, exit 1.error:line is ~8000 lines above thetail -20window → diagnostic LOST (the defect reproduced).greprecovers1:...GridCanonical.lean:42:11: error: unknown identifier 'foo'+8004:error: build failed, exit=1 → error recovered + step fails ✓.tail -20only, no added noise ✓.error: ...lakefile.lean:L:C: ...— thegrepregex\.lean:[0-9]+:[0-9]+: (error|warning)matches lake's actual format (recovered at log line 1), exit=1 propagates. (The local rc1 toolchain is incomplete perMEMORY.mdc.449, so the throwaway hit a lakefile-parse error rather than reaching my intended module — but that still validates the regex against real lake output + the exit propagation; the burying scenario is what the mock covers.)Acceptance criteria
File.lean:L:C: error:line in the CI log (grep recovery, proven on mock + real lake).source:line -> targetper broken link (drops--quiet; checker already prints these without--quiet, perdocs-link-check.ymlrationale).tailsummary only).notebook-navlink-check.ymlheader describes what the file actually does (fixed L4-7 + L31 — no longer claims the reversed--quietconvention).Verification
yaml.safe_load→jobsparsed).run:line confirmed--checkonly (the 3 remaining "quiet" strings are explanatory comments).tee "$RUNNER_TEMP/lake.log"+grep+exit $rcpipeline.Base / method
Fresh base
87da50c76f. Localgit fetchbroken (invalid index-pack, C: 99% full) → delivered via GitHub contents/git-refs API relay (byte-content PUT; cf #8908/#8916).Closes #8915.
🤖 Generated with Claude Code