Skip to content

test: lake: usageCutoffCrossTree edits a writable copy of its lakefile - #11

Merged
legion-implementer[bot] merged 1 commit into
fork/v4.36-usage-remote-pack-r21from
legion/LINUX-1736-usage-remote-pack
Nov 28, 2026
Merged

legion-implementer[bot] merged 1 commit into
fork/v4.36-usage-remote-pack-r21from
legion/LINUX-1736-usage-remote-pack

Conversation

@legion-implementer

@legion-implementer legion-implementer Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

usageCutoffCrossTree failed in the job "build / Linux release" on the tag
v4.36-machcsl-r20 for a defect of the test. mkpkg copies the test's
lakefile.toml with cp, which keeps the mode of the source, and CI's step
"Protect Source Tree" makes every tracked file read-only; case 3 then appends
to its copy:

./test.sh: line 144: t2/lakefile.toml: Permission denied

The copy is now made writable, as copy_to_work in common.sh makes its
copies. The test's cases and expectations are unchanged. The same change goes
to each member that carries this test (fork/v4.36-lake-remote-fallback-flat,
fork/v4.36-usage-lake-cost-pack and fork/v4.36-usage-remote-pack).

This is a change of the fork's release r21: it goes into the member branch fork/v4.36-usage-remote-pack-r21, which r21 merges in place of the member it copies. It merges as a squash after its review, when r21 is cut.

Why this pull request's own build / Linux release is red: its job (https://github.com/sjawhar/lean4/actions/runs/46107449025/job/140863303059) stops at Upload Lake Cache, before any test: a pull request's run takes its workflow files from the member branch, which carries upstream's .github, and the fork has no Lake cache endpoint or key; the CI member (#6) fixes that step for the fork's runs. Past that step, its tests would run without the CI member's fix (#6), and some of this member's Lake tests need it (LEAN_GITHASH in the test environment), as r20's tag showed. The members are tested together in the tree the cut takes: this pull request merges only at a head that a passing rehearsal of the release's integration includes, named here before the merge.

Dispatch: LINUX-1736

usageCutoffCrossTree failed in the job "build / Linux release" on the tag
v4.36-machcsl-r20 for a defect of the test. `mkpkg` copies the test's
lakefile.toml with `cp`, which keeps the mode of the source, and CI's step
"Protect Source Tree" makes every tracked file read-only; case 3 then appends
to its copy:

    ./test.sh: line 144: t2/lakefile.toml: Permission denied

The copy is now made writable, as `copy_to_work` in common.sh makes its
copies. The test's cases and expectations are unchanged. The same change goes
to each member that carries this test (fork/v4.36-lake-remote-fallback-flat,
fork/v4.36-usage-lake-cost-pack and fork/v4.36-usage-remote-pack).

Part of LINUX-1736.

Omp-Session: 01a21fea-50cc-71ef-b840-72b8c7ab62bb
Legion-Role: implementer
legion-implementer Bot added a commit that referenced this pull request Nov 28, 2026
…ntegration

The heads of the pull requests that make r21's CI member and its -r21 copies,
merged on the first integration commit: #6 (the CI member, on
the trunk), #7 (remoteExec, usageCutoffCrossTree and cacheInsertPartial in the
service-mode member), #8 (cacheInsertPartial in the cache-insert member), #9
(ccIdentity), #10 and #11 (usageCutoffCrossTree in the two pack members) and
#12 (the Windows declaration in the lazy-import-names member).

The merge needs no resolution: its tree is the first integration commit's
tree with each pull request's change, and where two of them make the same
change (usageCutoffCrossTree's writable lakefile, cacheInsertPartial's
preload) that change once.

Refs: LINUX-1736
Omp-Session: 01a21fea-50cc-71ef-b840-72b8c7ab62bb
Legion-Role: implementer
@legion-implementer

Copy link
Copy Markdown
Author

Review pass by a reviewer of another model family (openai/gpt-6.2-sol), read-only, against the change's rules (a test changes only to fix its own defect; nothing skipped or loosened).

  • Head d72fa154d5a4: approve, no findings.

@legion-implementer

Copy link
Copy Markdown
Author

Release rehearsal: run 46160867934 passed on integration commit 9fddac80674ec8fa262b6720bb79ba745dd6ddf1, which includes this reviewed head d72fa154d5a45b06eb9f343f5de00e0a0530fee7. The x86-64 and Arm64 test and source-tree checks and both Linux sanitizer jobs passed. The final release commit will have its own release CI run.

@legion-implementer
legion-implementer Bot marked this pull request as ready for review November 28, 2026 20:21
@legion-implementer
legion-implementer Bot merged commit ceec136 into fork/v4.36-usage-remote-pack-r21 Nov 28, 2026
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants