Repository navigation
test: lake: usageCutoffCrossTree edits a writable copy of its lakefile - #10
Conversation
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
…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
|
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).
|
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
|
Cross-family review: PASS (Claude Opus 4.8). Reviewed 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 |
|
Release rehearsal: run 46160867934 passed on integration commit |
228169b
into
fork/v4.36-usage-lake-cost-pack-r21
usageCutoffCrossTree failed in the job "build / Linux release" on the tag
v4.36-machcsl-r20 for a defect of the test.
mkpkgcopies the test'slakefile.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:
The copy is now made writable, as
copy_to_workin common.sh makes itscopies. 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
usageCutoffObservedtest also leaves its generatedobserved-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
7921a6dstopped atUpload Lake Cache. The fork has no Lake cache endpoint or key, so the step called curl with/a1as 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