Skip to content

tests/test_lane_helpers.sh: the repoA-1 and repoCase-1 row-stamp cases fail once run.sh's TMPDIR reaches 70 characters, which T010's exact-pins job can hit (the cases #215 left; part of #186) #304

Closed

Description

@brettheap

Two cases in tests/test_lane_helpers.sh fail once run.sh's TMPDIR reaches about 70 characters. The assembly's exact-pins job, from T010's patch, can reach that length. These are the cases #215 left when it closed #180. Part of #186.

What fails

  • tests/test_lane_helpers.sh:1272, in the repoA-1 case (r2's F3). Its check is "…with clause (c)'s directory and window in the tail, for the person reading the row". It expects ; dir $HOME/projects/repoA; window in the row's stamp.
  • :8551-8552, in the repoCase-1 case (r2's F4). It expects dir $HOME/projects/repoCase;, and fails from a TMPDIR of 71.

Why

Where it was seen

Rehearsal D (#186 6325307095). P3's composed and standalone jobs each failed test_the_lane_helper_suite_passes on the :1272 case, at run.sh's TMPDIR of 70. The same case passed in a SMOKE run at a TMPDIR of about 56 (s1).

Why CI can hit it

  • T010's exact-pins job (patches/t010-assembly-exact-pin-job.patch, composed.yml:106 in the candidate) runs bash code/tests/run.sh -rs on ubuntu-24.04 with no XDG_STATE_HOME.
  • Its TMPDIR is 65 characters plus the pid's digits. A 4-digit pid gives 69, which passes with no margin. A 5-digit pid gives 70, which fails.
  • Main's CI does not show it: its tests jobs run plain pytest, and its one run.sh job selects only guard_launch_mode or repo_hygiene.

The decision, before exact-pins becomes a required check

There are two ways to fix it; they can be combined:

Reviews

Update, 2026-10-22T13:5xZ (lane openRepoTools-3)

Activity

  1. brettheap commented on Oct 22, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoTools-3, session 83619980-06bb-4469-ae73-2a8c5e61981a@Eagle, 2026-10-22T12:29:59Z, for #304

    Logged in lanes/log/openRepoTools-3.md at 2662b20aacd81c6c94830fd5a8762572ee329bef.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoTools#304:
       none
    2. `gh pr list --repo opensoft/openRepoTools --state all --search "#304"`, kept where the row or its body names `#304`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoTools` branches naming `304` as a whole token:
       none
    
  2. brettheap commented on Oct 22, 2026

    @brettheap
    ContributorAuthor

    Lane openRepoTools-3, 2026-10-22T16:5xZ: the patch for this issue is now v2. opt1-v2.diff (sha256 64ea7093bbd79969…, +62 −13) replaces v1 (a4017809…). v2 folds in both independent reviews:

    The only change to a check: the repoCase-1 and repoMIX-1 row checks now also read the RESUMED stamp's ; window testsess:0 @1. That kills a wrong-window mutant that v1 let through. Everything else is comment text.

    The changes, the verification and the interdiff are in #186 6346391739. Brett's ruling stands as recorded above: a tenth follow-up at T014, after code-0001 and before both bumps. Nothing lands under e2.

    Lane: openRepoTools-3

  3. brettheap commented on Oct 22, 2026

    @brettheap
    ContributorAuthor

    Lane openRepoTools-3, 2026-10-22T21:5xZ: #304's fix is ready to land at T014. Its v2 is verified, and its commit message is pinned.

    Lane: openRepoTools-3

  4. brettheap commented on Nov 10, 2026

    @brettheap
    ContributorAuthor

    Lane: openRepoTools-3

    Verdict: fixed by 1e6f2d1 in opensoft/openRepoTools-code#1 (merge 2a057a6d, 2026-10-26), which is v1.1.0 itself. Closing as completed.

    • The commit, on opensoft/openRepoTools-code: "The shell suite's lane-start row-stamp cases no longer answer by the length of run.sh's TMPDIR: repoCase-1 and repoMIX-1 use a short projects root and repoA-1 reads its directory from the lane's log (tests/test_lane_helpers.sh: the repoA-1 and repoCase-1 row-stamp cases fail once run.sh's TMPDIR reaches 70 characters, which T010's exact-pins job can hit (the cases #215 left; part of #186) #304)". It is test-only (+62, -13) and an ancestor of code main.
    • At code main 9a219ed, tests/test_lane_helpers.sh:1341-1343: the repoA-1 case stops at the clause "window renamed, no launch; dir " and takes the directory from the lane's own RESUMED line, "; dir $HOME/projects/repoA;".
    • Same file at 9a219ed, :8515-8519: repoCase-1 and repoMIX-1 use A15_PROOT, asserted to be at most 55 characters wherever run.sh's TMPDIR points (the triage read these lines at :8467-8469 at code main 86d635b).
    • cut_to_line still cuts a row at 230 characters (lane-start:3881-3882, at 9a219ed), but the three cases no longer depend on it.
    • v1.1.0 is annotated tag 36d8d51, which points at 2a057a6d, so the fix is already released.

    Method: read, not run. Lane 3's triage read code main at 86d635b on 2026-11-10 and ran no tests; one cite per issue was re-read at 9a219ed.

    Brett Heap's word, given in lane openRepoTools-3's session on 2026-11-10 (the NEEDS-BRETT dialog, "Closing the six fixed or obsolete issues": #304, #145, #125, #124, #127 and #91, answered by 12:11:11Z): "Close all six (Recommended)". Its description: "Each gets one evidence comment and is closed, and lane 3 releases its claim on it."

    🤖 Generated with Claude Code

  5. brettheap commented on Nov 10, 2026

    @brettheap
    ContributorAuthor

    RELEASED — lane openRepoTools-3, session 83619980-06bb-4469-ae73-2a8c5e61981a@Eagle, 2026-11-10T12:43:34Z, for #304 — closed: fixed by 1e6f2d1 in opensoft/openRepoTools-code#1 (v1.1.0); evidence 6767587362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions