Skip to content

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

Merged
legion-implementer[bot] merged 2 commits into
fork/v4.36-usage-lake-cost-pack-r21from
legion/LINUX-1736-usage-lake-cost-pack
Nov 28, 2026
Merged

legion-implementer[bot] merged 2 commits into
fork/v4.36-usage-lake-cost-pack-r21from
legion/LINUX-1736-usage-lake-cost-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-lake-cost-pack-r21, which r21 merges in place of the member it copies. It merges as a squash after its review, when r21 is cut.

The usageCutoffObserved test also leaves its generated observed-files/ directory for inspection. Its cleanup already removes that directory before the next run. A test-local rule ignores only that directory. Git still reports unrelated output. This does not change the test or the source-tree check.

Pull request CI: The Linux release job at 7921a6d stopped at Upload Lake Cache. The fork has no Lake cache endpoint or key, so the step called curl with /a1 as its endpoint. No tests ran. The title, body and configuration checks passed. The CI member (#6) fixes the upload condition in the combined tree. Release rehearsal 5 tests this exact head with the other members and must pass before this pull request merges.

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 211294f82c1d: approve, no findings.

The fixture leaves generated files beside its source so a failed run can
be inspected. Ignore only the directories its existing cleanup removes.
The source-tree check still reports any other new path.

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

Copy link
Copy Markdown
Author

Cross-family review: PASS (Claude Opus 4.8). Reviewed 5da1ce85ec8ef27d6b54300cb35cd82fa8b6c789 (noopOutputs), 6de8f3e1172de46e4a8103c7f4f4507765f78923 (sourceStamp), 7921a6d0360102e5fdf5ecc0c3b373952b49a8f4 (usageCutoffObserved), and the combined tree at 9fddac80674ec8fa262b6720bb79ba745dd6ddf1.

Each rule matches only directories the test generates and that its cleanup removes. No tracked paths are under those directories. The combined change contains only the three .gitignore files. The local Git status check still reports the unrelated sourceStamp/copy4/ control. This review does not establish that release CI passes at the new head.

@legion-implementer

Copy link
Copy Markdown
Author

Release rehearsal: run 46160867934 passed on integration commit 9fddac80674ec8fa262b6720bb79ba745dd6ddf1, which includes this reviewed head 7921a6d0360102e5fdf5ecc0c3b373952b49a8f4. 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 228169b into fork/v4.36-usage-lake-cost-pack-r21 Nov 28, 2026
24 of 26 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