Skip to content

007 S007-07: Test C5, the readers' table and default arms, with T505's primary case and key()'s trim (T217, T235, T259; part of opensoft/openRepoTools#165) - #92

Merged
mergify[bot] merged 2 commits into
mainfrom
007-p05-readers-table-and-default-arms
Nov 16, 2026
Merged

mergify[bot] merged 2 commits into
mainfrom
007-p05-readers-table-and-default-arms

Conversation

@brettheap

@brettheap brettheap commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openRepoTools-1
Claim: opensoft/openRepoTools#165 (comment)
CI-Shadow: sql-register-v13
CI-Delivery: sql-register-v13
CI-Task-Set: P05

Pull request P05 of feature 007's task sets, version 12f: lane 2's set
S007-07 in one commit, through the code queue. It is stacked on P01,
code pull request #88 (rule 2): its base is
P01's head 7f1141b, one commit on code
main c9c65cc, which line R takes as
merge154 32e11de. When P01 lands, this
pull request is retargeted to main with its head unchanged (landing note
24). It lands after no other pull request (rule 3). It is cut from lane
1's line R at merge158 7e11b77 onto
that base. Its 53 task commits, all lane 2's, were picked with
cherry-pick -x in line R's order, and every pick is clean: line R's
merge129 01f3fc3 took 52 of them, lane
2's line N1 at T217zu, in N1's own order, and merge144
b4c5442 took T217zv. The part below
lists them in that order. No plain commit of landing note 15 falls in
this set, and no other line R commit holds its code by hunk. The full
shas are pointers into lane 1's share.

Not picked: N1's merge of T207c,
616d292, which changes only
tests/sql_register_helpers.py; T207c
cda4dbb is S007-01's, and P01 holds it.
Nor lane 5's 101-line seed of tests/test_sql_register_readers.py, in
T502's part 1 7e55ec8, line R's blob
b947ba55a8763a4cc8b22dff63c3787e85737870 at merge25
c6acdff: it is S007-30's, outside
T502's files:, and N1's module supersedes it (landing note 11; P05's cut
notes). Line R's merge129 met it as an add/add and settled it by taking
N1's file whole, line R's merge129 blob
8db7ce9ac006e3eba940a442ee5b6e5b4bcb71d0. P01's head holds no readers
module, so the first pick adds N1's file and no pick meets the seed.

Only tests land. In this pull request's CI every id of the readers
module skips, naming the tasks it waits for (rule 4), since none of the
table's keys is met by the markers of P01's seven tasks and T217, T235
and T259; the run shows collection and the table's key check pass.

007 S007-07: Test C5, the readers' table and default arms, with T505's primary case and key()'s trim (T217, T235, T259; part of opensoft/openRepoTools#165)

P05 follow-up 1: T259b, lane 2's empty gate row for key()'s [files] id, on lane 3's SHOULD that it skips until P25 though it passes now (commit 2a02cd9eba113329870ed7eba6efd470375b8739)

This commit is added to P05's branch on its head
3b71c7c (code PR 92), with no
force-push: the branch keeps its cut's one commit, and a later commit
carries its own explicit message (landing note 23).

Lane 3's SHOULD. Lane 3's review of P05 at 3b71c7c found that the
readers table, T217zr's, keys every id of
test_retired_rows_key_trims_leading_zeros_as_text_on_primary to T426, so
its [files] id skips in gated CI until T426 lands (P25), though it
passes at the base, as its docstring says
(opensoft/openRepoTools#165 comment 6894592205). Lane 3 ruled that the
row [files]: () be added: lane 2 builds it on T259's line, lane 1 adds
it to PR 92 as a commit of its own, follow-ups 4 narrows T259's Order,
and lane 3 reviews the new head. Lane 2 built it as T259b, on T217zv
ca2f329 on T259's line, tag l2-007-T259b, and posted it twice:
opensoft/openRepoTools#165 comment 6894691650 and
opensoft/openRepoTools#165 comment 6895976040.

What T259b changes, in lane 2's words. It adds one line to
tests/test_sql_register_readers.py, blob 13e43c94 to 1e35551c: the row
"test_retired_rows_key_trims_leading_zeros_as_text_on_primary[files]":
(), in SQL_REGISTER_GATE_TABLE. An id row replaces its function's row,
and an empty one waits for nothing (T280's waits_for), so [files] runs
in every gated run. [primary] keeps the function's row, T426. The table
has 68 rows, from 67: 40 function rows and 28 id rows. No other row,
test, decorator or line of the module changes. It still holds 40 test
functions and collects 224 ids.

What no longer holds. This pull request's body and the cut's commit
say that in its CI every id of the readers module skips. With T259b
that is no longer true for [files], which now runs and passes; the other
223 ids still skip. Lane 2 says so ("its message's 'every id of the
readers module skips' is no longer true, as lane 3's record says",
opensoft/openRepoTools#165 comment 6895976040), and notes that lane 3's
record says it too.

Lane 2's runs, through tests/run.sh in lane 3's gated form
(SQL_REGISTER_GATE=on, the function's ids by -k), with P05's landed set:

  • the function's ids: at 3b71c7c, [files] and [primary] skipped, each
    "waits for T426"; with the pick (tree a124d91d), [files] passed and
    [primary] still skipped;
  • the whole module: 224 skipped at 3b71c7c; with the pick, 1 passed and
    223 skipped, and no other id's outcome or skip reason moved;
  • an ast check: the table differs by that one row alone, and the 224
    collected ids are the same before and after.

How it was made here. cherry-pick -x of d4c27c4 onto 3b71c7c applied
with no conflict, giving tree a124d91d, which is lane 2's pick tree,
with T259b's own patch-id, f2d3aeed872cc840868c8e55af58e11a7c3c404f.
The path is in T259's files: (T259 is S007-07's, this pull request's
set) at spec main f8c1d3dac0102bb148ca495a2b8008a4cd8f7718 (tasks.md
blob f56ad0a7, line 2465); it is in T217's and T235's too. T259b has no
task line of its own, so it adds no marker:
tests/sql_register_landed/T259 is already in P05. T259's Order
(tasks:2469) still says its tests fail until T426; follow-ups 4 narrows
it to [primary].

(cherry picked from commit d4c27c4)

🤖 Generated with Claude Code

…s primary case and `key()`'s trim (T217, T235, T259; part of opensoft/openRepoTools#165)

Pull request P05 of feature 007's task sets, version 12f: lane 2's set
S007-07 in one commit, through the code queue. It is stacked on P01,
code pull request #88 (rule 2): its base is
P01's head 7f1141b, one commit on code
main c9c65cc, which line R takes as
merge154 32e11de. When P01 lands, this
pull request is retargeted to main with its head unchanged (landing note
24). It lands after no other pull request (rule 3). It is cut from lane
1's line R at merge158 7e11b77 onto
that base. Its 53 task commits, all lane 2's, were picked with
cherry-pick -x in line R's order, and every pick is clean: line R's
merge129 01f3fc3 took 52 of them, lane
2's line N1 at T217zu, in N1's own order, and merge144
b4c5442 took T217zv. The part below
lists them in that order. No plain commit of landing note 15 falls in
this set, and no other line R commit holds its code by hunk. The full
shas are pointers into lane 1's share.

Not picked: N1's merge of T207c,
616d292, which changes only
tests/sql_register_helpers.py; T207c
cda4dbb is S007-01's, and P01 holds it.
Nor lane 5's 101-line seed of tests/test_sql_register_readers.py, in
T502's part 1 7e55ec8, line R's blob
b947ba5 at merge25
c6acdff: it is S007-30's, outside
T502's files:, and N1's module supersedes it (landing note 11; P05's cut
notes). Line R's merge129 met it as an add/add and settled it by taking
N1's file whole, line R's merge129 blob
8db7ce9. P01's head holds no readers
module, so the first pick adds N1's file and no pick meets the seed.

Only tests land. In this pull request's CI every id of the readers
module skips, naming the tasks it waits for (rule 4), since none of the
table's keys is met by the markers of P01's seven tasks and T217, T235
and T259; the run shows collection and the table's key check pass.

007 S007-07: Test C5, the readers' table and default arms, with T505's primary case and `key()`'s trim (T217, T235, T259; part of opensoft/openRepoTools#165)
- T217, lane 2's, each whole, in line R's merge129
  01f3fc3: T217
  460c0bf, T217
  edd3db2, T217
  ab5c66c and T217
  e95e4ab.
- T259, lane 2's, whole, in line R's merge129: T259
  e0852e1.
- T217's T217f to T217k, lane 2's, each whole, in line R's merge129:
  T217f 0287f32, T217g
  6e8e499, T217h
  7e59795, T217i
  3a80fbf, T217j
  1045b77 and T217k
  6b78282.
- T235 and T235b, lane 2's, each whole, in line R's merge129: T235
  c4b828e and T235b
  f58fd4e.
- T217's T217m, T217n and T217l, lane 2's, each whole, in line R's
  merge129: T217m 7b8d329, T217n
  96bef06 and T217l
  a6cc837.
- T235c and T235d, lane 2's, each whole, in line R's merge129: T235c
  79ae7df and T235d
  fb19dde.
- T217's T217o to T217zk, lane 2's, each whole, in line R's merge129:
  T217o 98660ad, T217p
  affcc0c, T217q
  0ad658b, T217r
  20df857, T217s
  b09813d, T217t
  32d5b2a, T217u
  82b8283, T217v
  52d69eb, T217w
  9ef883a, T217x
  525acb8, T217y
  10507e1, T217z
  98100a4, T217za
  e2000cc, T217zb
  74e36ff, T217zc
  9571023, T217zd
  c4373a9, T217ze
  edb767b, T217zf
  ad6505c, T217zg
  c9af23a, T217zh
  060e35c, T217zi
  4c4bf27, T217zj
  fb4675e and T217zk
  7c45a5f.
- T235e, lane 2's, whole, in line R's merge129: T235e
  5a8992d.
- T217's T217zl to T217zu, lane 2's, each whole, in line R's merge129:
  T217zl d72d0f6, T217zm
  4bfd5ea, T217zn
  223596a, T217zo
  cc2e708, T217zp
  73bc948, T217zq
  ce4d8b0, T217zr
  9cacfbc, T217zs
  9e67f03, T217zt
  86849e2 and T217zu
  463dddb.
- T217's T217zv, lane 2's, whole:
  ca2f329, line R's merge144
  b4c5442.
- T217zr 9cacfbc gives the module its
  landing-gate table (rule 11); after T217zv the table has 67 keys, 40
  naming a test function of the module and 27 one id of one.
- tests/test_sql_register_readers.py then equals line R's merge158 blob
  13e43c9, which line R holds from
  merge144 on.
- Markers: tests/sql_register_landed/T217, T235 and T259.

Lane: openRepoTools-1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sourcery-ai

sourcery-ai Bot commented Nov 15, 2026

Copy link
Copy Markdown

Sorry @brettheap, your pull request is larger than the review limit of 150,000 diff characters

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane openRepoTools-3: exact-head review record for P05 (this PR, opensoft/openRepoTools-code PR 92)

  • The reviewer: Claude Opus 5.5 (claude-opus-5-5), an independent exact-head review made in place of Codex, under Brett Heap's waiver of 2026-11-15T11:48:56Z ("Waive Codex, use Opus reviews"), quoted in Amendment 22 act 2: the SQL register under lanes-edit.sh — mode=primary writers in one transaction each, the estate switch and lanes/STORE, the write journal and the renderer (one mirror commit per write), exit 69, fail-closed readers, lanes-index import/rollback, SERIALIZABLE claim order, and the agreement tests openRepoTools#165 comment 6893886125. This is a Claude review, not a Codex local-review receipt.
  • What was reviewed: head 3b71c7c532f0da0b6ebbe5aee1c7cc0213a0cd56, against base 7f1141be15ac9c0d20c25c802ba9533c2fec811c (P01's branch).
  • The verdict: READY. It has no BLOCKING finding.
    • SHOULD: at tests/test_sql_register_readers.py:169, the table keys all of test_retired_rows_key_trims_leading_zeros_as_text_on_primary to T426. So its [files] id, which passes at the base, as its docstring says and an ungated run confirmed, skips in gated CI until P25.
    • NIT: the arms fixture (:1103–1105) is never used.
  • What was checked:
    • the 53 picks, in line R's order, with a clean replay equal to the head less its three markers;
    • the blob claim, and the table (67 keys, none met in this PR);
    • the message's three version-2 fixes;
    • merges with every other head (all clean);
    • a gated run: 22 skipped, 0 failed.
  • The report: lane 3's codex-review-prompts-20261113e/reports/opus-code-92-3b71c7c532f0.md, sha256 e3ab480801d1702f31893a600d9d8958a2e0f7b8218bc7d5251a551e04a27752.
  • Lane 3 accepts this review for this exact head. Lane 3's ruling on #165 adds a [files]: () row as a fix commit, and that new head gets a short delta review.

@brettheap
brettheap changed the base branch from 007-p01-real-engine-fixture-and-gate-2 to main November 15, 2026 14:16
…d, on lane 3's SHOULD that it skips until P25 though it passes now

This commit is added to P05's branch on its head
3b71c7c (code PR 92), with no
force-push: the branch keeps its cut's one commit, and a later commit
carries its own explicit message (landing note 23).

Lane 3's SHOULD. Lane 3's review of P05 at 3b71c7c found that the
readers table, T217zr's, keys every id of
test_retired_rows_key_trims_leading_zeros_as_text_on_primary to T426, so
its [files] id skips in gated CI until T426 lands (P25), though it
passes at the base, as its docstring says
(opensoft/openRepoTools#165 comment 6894592205). Lane 3 ruled that the
row [files]: () be added: lane 2 builds it on T259's line, lane 1 adds
it to PR 92 as a commit of its own, follow-ups 4 narrows T259's Order,
and lane 3 reviews the new head. Lane 2 built it as T259b, on T217zv
ca2f329 on T259's line, tag l2-007-T259b, and posted it twice:
opensoft/openRepoTools#165 comment 6894691650 and
opensoft/openRepoTools#165 comment 6895976040.

What T259b changes, in lane 2's words. It adds one line to
tests/test_sql_register_readers.py, blob 13e43c9 to 1e35551: the row
"test_retired_rows_key_trims_leading_zeros_as_text_on_primary[files]":
(), in SQL_REGISTER_GATE_TABLE. An id row replaces its function's row,
and an empty one waits for nothing (T280's waits_for), so [files] runs
in every gated run. [primary] keeps the function's row, T426. The table
has 68 rows, from 67: 40 function rows and 28 id rows. No other row,
test, decorator or line of the module changes. It still holds 40 test
functions and collects 224 ids.

What no longer holds. This pull request's body and the cut's commit
say that in its CI every id of the readers module skips. With T259b
that is no longer true for [files], which now runs and passes; the other
223 ids still skip. Lane 2 says so ("its message's 'every id of the
readers module skips' is no longer true, as lane 3's record says",
opensoft/openRepoTools#165 comment 6895976040), and notes that lane 3's
record says it too.

Lane 2's runs, through tests/run.sh in lane 3's gated form
(SQL_REGISTER_GATE=on, the function's ids by -k), with P05's landed set:
- the function's ids: at 3b71c7c, [files] and [primary] skipped, each
  "waits for T426"; with the pick (tree a124d91), [files] passed and
  [primary] still skipped;
- the whole module: 224 skipped at 3b71c7c; with the pick, 1 passed and
  223 skipped, and no other id's outcome or skip reason moved;
- an ast check: the table differs by that one row alone, and the 224
  collected ids are the same before and after.

How it was made here. cherry-pick -x of d4c27c4 onto 3b71c7c applied
with no conflict, giving tree a124d91, which is lane 2's pick tree,
with T259b's own patch-id, f2d3aeed872cc840868c8e55af58e11a7c3c404f.
The path is in T259's files: (T259 is S007-07's, this pull request's
set) at spec main f8c1d3dac0102bb148ca495a2b8008a4cd8f7718 (tasks.md
blob f56ad0a7, line 2465); it is in T217's and T235's too. T259b has no
task line of its own, so it adds no marker:
tests/sql_register_landed/T259 is already in P05. T259's Order
(tasks:2469) still says its tests fail until T426; follow-ups 4 narrows
it to [primary].

(cherry picked from commit d4c27c4)

Lane: openRepoTools-1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 2a02cd9eba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T16:36:59.999608Z 2a02cd9 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane openRepoTools-3: exact-head review record for P05 (this PR, opensoft/openRepoTools-code PR 92), fix commit 1, by Opus as Brett's waiver names

  • The reviewer: Claude Opus 5.5 (claude-opus-5-5). It is an independent exact-head delta review, made in place of Codex under Brett Heap's waiver of 2026-11-15T11:48:56Z ("Lane 3 runs an independent Opus 5.5 exact-head review in its place"), quoted in Amendment 22 act 2: the SQL register under lanes-edit.sh — mode=primary writers in one transaction each, the estate switch and lanes/STORE, the write journal and the renderer (one mirror commit per write), exit 69, fail-closed readers, lanes-index import/rollback, SERIALIZABLE claim order, and the agreement tests openRepoTools#165 comment 6893886125. This is a Claude review, not a Codex local-review receipt.
  • What was reviewed:
    • head 2a02cd9eba113329870ed7eba6efd470375b8739;
    • as a delta from 3b71c7c532f0da0b6ebbe5aee1c7cc0213a0cd56, which Opus found READY earlier (record 6894587498);
    • with merge base 7f1141be, and code main at f0070e00.
  • The verdict: READY. It has no BLOCKING finding, and no finding against any path of this PR.
    • A coordination note for the coordinator, which the reviewer graded SHOULD. It concerns code main's v1.3 control files, not this PR:
      • .github/ci/v13-shadow-profiles.json:21–25 still binds P05 to 3b71c7c5, with no source.commits, and .github/ci/delivery_v13.py:44–48 refuses any other head.
      • So a v1.3 canary of P05 at this head first needs the reviewed policy update: source.head 2a02cd9e, and source.commits [3b71c7c5, 2a02cd9e].
      • delivery_v13.py:16–23 also needs a CI-Delivery: sql-register-v13 body line, which this body lacks.
      • Ordinary full CI and the openrepotools-code queue are unaffected.
      • It changes no path of this PR, and it is the policy data the coordinator holds until these facts are in (6898408666). So lane 3 records it as the coordinator's, not as a finding open on this head.
    • NIT 1: body lines 6–13 ("stacked on P01") and 38–39 ("every id of the readers module skips") are stale. The retarget and the fix block supersede them. An edit is optional.
    • Still standing from the earlier review, so not new:
      • The spec half of its SHOULD: T259's Order at tasks.md:2469 is narrowed to [primary] in follow-ups 4.
      • The unused arms fixture (tests/test_sql_register_readers.py:1104–1106) goes to lane 2's next line R follow-up.
  • What was checked:
    • the commit: one commit, a pick of lane 2's T259b d4c27c49, with an equal patch-id, f2d3aeed…. It adds one line, the gate row [files]: () at tests/test_sql_register_readers.py:188;
    • the gate: its table_of and waits_for show that, gated, [files] runs and [primary] still waits for T426;
    • the table, by AST: it goes from 67 to 68 rows, with 40 functions and 224 ids on both sides;
    • the message: it equals the PR body's fix block, and its claims and its three cited posts hold;
    • scope: 4 added paths, all under tests/: the module, which is in its tasks' files:, and 3 empty markers;
    • the merge onto main f0070e00:
      • it is clean, as tree 1cbd5b84, with the PR's own patch-id, 44c3c461…;
      • it shares no path, and P05's dependencies are unchanged on main;
      • once it lands, gated main runs one readers id, [files], and skips 223;
    • hosted CI at the head: run 43726550505, 15 of 15 jobs green.
  • The report: lane 3's codex-review-prompts-20261113e/reports/opus-code-92-2a02cd9eba11.md, sha256 96c6533a6c2765003abb3775399e8637333b44db0d46d70e449badbcc94f51d7. Its transcript's assistant messages are all claude-opus-5-5.
  • Lane 3 accepts this review for this exact head. P05 can go with P06 as the coordinator's canary pair, under lane 2's condition-bound consent (6898422904).

@brettheap

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue openrepotools-sql-register-v13

@mergify

mergify Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

queue openrepotools-sql-register-v13

⚠️ Naming a queue is deprecated. Post @mergifyio queue without a name instead: Mergify then puts the pull request in the first queue whose queue_conditions it matches. A future release will stop accepting the name.

@mergify

mergify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🚫 Left the queue · pull request manually dequeued

5 min in the queue, with no time running CI.

So far

Reason

Pull request #92 has been dequeued by @brettheap with a dequeue command

To get back in the queue

  • Comment @mergifyio queue to queue the pull request again.

Merge conditions not met when it left the queue

  • check-success=@github-actions/openrepotools-batch-heavy
  • any of · required by GitHub repository ruleset rule main: the four tests.yml jobs required (owner act 2):
    • check-neutral = @github-actions/openrepotools-delivery
    • check-skipped = @github-actions/openrepotools-delivery
    • check-success = @github-actions/openrepotools-delivery
2 merge conditions met

Times in UTC · dashboard · how the merge queue works

@brettheap

Copy link
Copy Markdown
Contributor Author

@Mergifyio dequeue

@mergify mergify Bot added dequeued and removed queued labels Nov 16, 2026
@brettheap brettheap closed this Nov 16, 2026
@brettheap brettheap reopened this Nov 16, 2026
@brettheap brettheap closed this Nov 16, 2026
@brettheap brettheap reopened this Nov 16, 2026
@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue openrepotools-sql-register-v13

@mergify

mergify Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

queue openrepotools-sql-register-v13

⚠️ Naming a queue is deprecated. Post @mergifyio queue without a name instead: Mergify then puts the pull request in the first queue whose queue_conditions it matches. A future release will stop accepting the name.

@mergify

mergify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into main as 92fa2b0 at 19:32 UTC

Merged together with #94. 42 min in the queue, 40 min of it CI.

So far

4 merge conditions met
  • check-success=@github-actions/openrepotools-batch-heavy
  • github-code-owner-review-satisfied · required by GitHub repository ruleset rule Require Code Owner Review
  • github-review-approved · required by GitHub repository ruleset rule Require Code Owner Review
  • any of · required by GitHub repository ruleset rule main: the four tests.yml jobs required (owner act 2):
    • check-success = @github-actions/openrepotools-delivery
    • check-neutral = @github-actions/openrepotools-delivery
    • check-skipped = @github-actions/openrepotools-delivery

Times in UTC · dashboard · how the merge queue works

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.

1 participant