Skip to content

007 S007-05: Schema and roles tests, the register templates tmpl and tmpl_imported, and the fixture's logins (T221, T231, T227, T216, T228; part of opensoft/openRepoTools#165) - #98

Merged
mergify[bot] merged 1 commit into
mainfrom
007-p02-schema-roles-templates-fixture-logins
Nov 15, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
007-p02-schema-roles-templates-fixture-logins

Conversation

@brettheap

@brettheap brettheap commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openRepoTools-1
Claim: opensoft/openRepoTools#165 (comment)

Pull request P02 of feature 007's task sets, version 12g: lane 2's set
S007-05 in one commit, through the code queue. It is stacked on P01,
code pull request #88 (7f1141be), its
immediate predecessor (rule 2): its base is P01's head
7f1141b, on code main's
c9c65cc, P01's own base. It is cut from
lane 1's line R at merge163 8acf130,
the first merge to hold all its commits, which took lane 2's T228c
(merge164 9990baf takes T243x and
changes none of these four paths); merge161
8f3278e took lane 2's T231j. Its 31
task commits, all built by lane 2, were picked with cherry-pick -x in
line R's order; the part below lists them in that order. 29 picks
applied with no conflict and kept their own patch-ids. Two, T227b and
T228b, met text the cut lacks and are settled below, each adding exactly
its own lines. Every path is in its task's files:, is a marker, or is
T228b's or T228c's hunk in the fixture module (below). No plain commit
of landing note 15 falls in this set, and no line R commit holds its
code by hunk. The full shas are pointers into lane 1's share.

Rule 11: lane 2's gate tables for the schema module (T221l) and the
roles module (T216b) are on line R since merge110 and merge116, and in
this commit. The schema table here, as T221l added it and T231f, T231g,
T231h and T231i extended it, has 57 keys: 51 test-function names, one
for each of the module's 51 test functions, and 6 single ids,
name[param]. The roles table has one key, the "*" row, which makes every
id of the module wait for T107, T108, T109, T110 and T228.

T228b's and T228c's hunks in T200's fixture module: version 12g's row
for P02 brings T228b's 70-line case into this pull request, since T228's
files: gain tests/test_sql_register_fixture.py on the spec side, and
T228c, T228's slice for that case, adds two import lines there. tasks.md
at spec main c304e387cf9b5a1ccd3337e926a5d726132b1547 does not hold that
path yet: T228's files: name only tests/pgcluster.py. Until it does, the
set-PR kit refuses this pull request's prompt with R-PATH-OUTSIDE on
that path unless it is given --allow-extra-path. T228b's case reads the
names threading and time, which P01's module does not import, and which
line R's fixture module imports with T229b's import lines (S007-13).
T228c adds import threading and import time after import sys,
where T229b puts them, so the case's names are bound in this commit
without T229b, as T205d's import pytest binds T205c's in P01.

In this pull request's own CI the gate is active, and the landed tasks
are P01's seven and these five. A gated collection of the suite on this
commit's tree holds 5738 ids. None of the 173 ids of the schema and
roles modules runs: each waits for at least one task that neither P01
nor P02 lands, and skips naming it, the schema module's 157 (104 of them
for T107, T108, T109 and T110) and the roles module's 16 (all for T107,
T108, T109 and T110). The gate skips none of the other 5565 ids: P01's
tree's 5564, none of whose states these markers change, and T228b's
case, in the fixture module, which has no table and whose names T228c
binds.

007 S007-05: Schema and roles tests, the register templates tmpl and tmpl_imported, and the fixture's logins (T221, T231, T227, T216, T228; part of opensoft/openRepoTools#165)

  • T227 and T228, lane 2's, each whole, 4 commits in line R's merge108
    9a2fdfe, which took lane 2's line FX,
    in this order: T227 b614a29, T228
    a8020f8, T227b
    e209787 and T227c
    a048fdd. T227b's pick meets text the
    cut lacks in tests/pgcluster.py at two places: it adds its
    _imported_check method and its blank line, 17 lines, just before
    T229a's prepare, and its test 7 fixture register, 259 lines, just
    before T229a's section 5.6 clusters (S007-13). Each hunk is settled as
    the cut's text plus T227b's own lines, so the pick adds and removes
    exactly T227b's lines, +334 -28.
  • T221 and T231, lane 2's, each whole, 17 commits in line R's merge110
    1c33787, which took lane 2's line
    W3b, in this order: T221 f4099e7,
    T221 3535234, T221c
    fbb8801, T221d
    2cb95f6, T221f
    8251703, T221e
    8f645fc, T221g
    de8db63, T221h
    409684d, T231
    0ff301b, T231b
    f3fb08e, T231c
    9326400, T221i
    41f9719, T231d
    7c086f1, T221j
    0154c91, T231e
    0d34bd8, T221k
    638178b and T221l
    e4b5a52, the schema module's gate
    table.
  • T216, lane 2's, whole, 3 commits in line R's merge116
    d0198d1, which took lane 2's line N2:
    T216 5f3c463, T216a
    fa5988e and T216b
    383cfdb, the roles module's gate
    table. tests/test_sql_register_roles.py then equals line R's merge163
    blob 607bed3496d07b7857aa0d702548874953a87083, which it holds since
    merge116.
  • T231f, lane 2's, whole: c4c9d74, line
    R's merge135 b0a6ab9.
  • T231g, lane 2's, whole: 56526c0, line
    R's merge141 7253e6e.
  • T228b, lane 2's, whole: 1ca4807, line
    R's merge147 a7945c9. Its
    tests/pgcluster.py hunks apply with no conflict. In the fixture module
    it appends its 70-line case just after T229e's case (S007-13), which
    the cut lacks; the hunk is settled as P01's blob
    3c3f9c095cb201e312dbd9741e9829b757de6e52 plus exactly those 70 lines,
    so the pick adds and removes exactly T228b's lines, +93 -5.
  • T231h and T231i, lane 2's, each whole, in line R's merge157
    a532ee9: T231h
    6469d9d and T231i
    687bab4.
  • T231j, lane 2's, whole: 7240d52, line
    R's merge161 8f3278e.
    tests/test_sql_register_schema.py then equals line R's merge163 blob
    dcfd5c31e0151d838475f1b969b3ccc9a72d85cc, which it holds since
    merge161.
  • T228c, lane 2's, whole: dd0993a, one
    commit on T205d, line R's merge163
    8acf130, which left line R's tree
    unchanged, since T229b's lines were there. It adds import threading
    and import time after import sys in the fixture module, the two
    names T228b's case reads, and nothing else. Its pick applies with no
    conflict and keeps its own patch-id.
  • tests/pgcluster.py then equals line R's merge163 blob
    b72bfcdf2381fc72d92660c8a3970f06253a0903 less exactly the 659 lines of
    T229a, T229c, T229d and T229f (S007-13) that line R's blob holds, and
    plus the 17 lines of P01's and T227's text that T229a and T229d
    replace. The fixture module equals line R's merge163 blob
    6ae31181d17351a71c257d766791e7c4c8e21d63 less exactly the 462 of the
    466 lines that T229b, T229c, T229e and T229f add there and line R's
    blob holds; the other four, which T229b also adds, are in the cut:
    import pytest and its blank line, which P01's T205d holds, and
    import threading and import time, which T228c holds.
  • Every line R merge that touches tests/pgcluster.py or the fixture,
    schema or roles module, lane 2's merges inside its lines among them,
    is there the clean merge of its two parents, so no merge's own change
    is carried.
  • Markers: tests/sql_register_landed/T221, T231, T227, T216 and T228.

🤖 Generated with Claude Code

…d `tmpl_imported`, and the fixture's logins (T221, T231, T227, T216, T228; part of opensoft/openRepoTools#165)

Pull request P02 of feature 007's task sets, version 12g: lane 2's set
S007-05 in one commit, through the code queue. It is stacked on P01,
code pull request #88 (`7f1141be`), its
immediate predecessor (rule 2): its base is P01's head
7f1141b, on code main's
c9c65cc, P01's own base. It is cut from
lane 1's line R at merge163 8acf130,
the first merge to hold all its commits, which took lane 2's T228c
(merge164 9990baf takes T243x and
changes none of these four paths); merge161
8f3278e took lane 2's T231j. Its 31
task commits, all built by lane 2, were picked with cherry-pick -x in
line R's order; the part below lists them in that order. 29 picks
applied with no conflict and kept their own patch-ids. Two, T227b and
T228b, met text the cut lacks and are settled below, each adding exactly
its own lines. Every path is in its task's files:, is a marker, or is
T228b's or T228c's hunk in the fixture module (below). No plain commit
of landing note 15 falls in this set, and no line R commit holds its
code by hunk. The full shas are pointers into lane 1's share.

Rule 11: lane 2's gate tables for the schema module (T221l) and the
roles module (T216b) are on line R since merge110 and merge116, and in
this commit. The schema table here, as T221l added it and T231f, T231g,
T231h and T231i extended it, has 57 keys: 51 test-function names, one
for each of the module's 51 test functions, and 6 single ids,
name[param]. The roles table has one key, the "*" row, which makes every
id of the module wait for T107, T108, T109, T110 and T228.

T228b's and T228c's hunks in T200's fixture module: version 12g's row
for P02 brings T228b's 70-line case into this pull request, since T228's
files: gain tests/test_sql_register_fixture.py on the spec side, and
T228c, T228's slice for that case, adds two import lines there. tasks.md
at spec main c304e387cf9b5a1ccd3337e926a5d726132b1547 does not hold that
path yet: T228's files: name only tests/pgcluster.py. Until it does, the
set-PR kit refuses this pull request's prompt with R-PATH-OUTSIDE on
that path unless it is given --allow-extra-path. T228b's case reads the
names threading and time, which P01's module does not import, and which
line R's fixture module imports with T229b's import lines (S007-13).
T228c adds `import threading` and `import time` after `import sys`,
where T229b puts them, so the case's names are bound in this commit
without T229b, as T205d's `import pytest` binds T205c's in P01.

In this pull request's own CI the gate is active, and the landed tasks
are P01's seven and these five. A gated collection of the suite on this
commit's tree holds 5738 ids. None of the 173 ids of the schema and
roles modules runs: each waits for at least one task that neither P01
nor P02 lands, and skips naming it, the schema module's 157 (104 of them
for T107, T108, T109 and T110) and the roles module's 16 (all for T107,
T108, T109 and T110). The gate skips none of the other 5565 ids: P01's
tree's 5564, none of whose states these markers change, and T228b's
case, in the fixture module, which has no table and whose names T228c
binds.

007 S007-05: Schema and roles tests, the register templates `tmpl` and `tmpl_imported`, and the fixture's logins (T221, T231, T227, T216, T228; part of opensoft/openRepoTools#165)
- T227 and T228, lane 2's, each whole, 4 commits in line R's merge108
  9a2fdfe, which took lane 2's line FX,
  in this order: T227 b614a29, T228
  a8020f8, T227b
  e209787 and T227c
  a048fdd. T227b's pick meets text the
  cut lacks in tests/pgcluster.py at two places: it adds its
  `_imported_check` method and its blank line, 17 lines, just before
  T229a's `prepare`, and its test 7 fixture register, 259 lines, just
  before T229a's section 5.6 clusters (S007-13). Each hunk is settled as
  the cut's text plus T227b's own lines, so the pick adds and removes
  exactly T227b's lines, +334 -28.
- T221 and T231, lane 2's, each whole, 17 commits in line R's merge110
  1c33787, which took lane 2's line
  W3b, in this order: T221 f4099e7,
  T221 3535234, T221c
  fbb8801, T221d
  2cb95f6, T221f
  8251703, T221e
  8f645fc, T221g
  de8db63, T221h
  409684d, T231
  0ff301b, T231b
  f3fb08e, T231c
  9326400, T221i
  41f9719, T231d
  7c086f1, T221j
  0154c91, T231e
  0d34bd8, T221k
  638178b and T221l
  e4b5a52, the schema module's gate
  table.
- T216, lane 2's, whole, 3 commits in line R's merge116
  d0198d1, which took lane 2's line N2:
  T216 5f3c463, T216a
  fa5988e and T216b
  383cfdb, the roles module's gate
  table. tests/test_sql_register_roles.py then equals line R's merge163
  blob 607bed3, which it holds since
  merge116.
- T231f, lane 2's, whole: c4c9d74, line
  R's merge135 b0a6ab9.
- T231g, lane 2's, whole: 56526c0, line
  R's merge141 7253e6e.
- T228b, lane 2's, whole: 1ca4807, line
  R's merge147 a7945c9. Its
  tests/pgcluster.py hunks apply with no conflict. In the fixture module
  it appends its 70-line case just after T229e's case (S007-13), which
  the cut lacks; the hunk is settled as P01's blob
  3c3f9c0 plus exactly those 70 lines,
  so the pick adds and removes exactly T228b's lines, +93 -5.
- T231h and T231i, lane 2's, each whole, in line R's merge157
  a532ee9: T231h
  6469d9d and T231i
  687bab4.
- T231j, lane 2's, whole: 7240d52, line
  R's merge161 8f3278e.
  tests/test_sql_register_schema.py then equals line R's merge163 blob
  dcfd5c3, which it holds since
  merge161.
- T228c, lane 2's, whole: dd0993a, one
  commit on T205d, line R's merge163
  8acf130, which left line R's tree
  unchanged, since T229b's lines were there. It adds `import threading`
  and `import time` after `import sys` in the fixture module, the two
  names T228b's case reads, and nothing else. Its pick applies with no
  conflict and keeps its own patch-id.
- tests/pgcluster.py then equals line R's merge163 blob
  b72bfcd less exactly the 659 lines of
  T229a, T229c, T229d and T229f (S007-13) that line R's blob holds, and
  plus the 17 lines of P01's and T227's text that T229a and T229d
  replace. The fixture module equals line R's merge163 blob
  6ae3118 less exactly the 462 of the
  466 lines that T229b, T229c, T229e and T229f add there and line R's
  blob holds; the other four, which T229b also adds, are in the cut:
  `import pytest` and its blank line, which P01's T205d holds, and
  `import threading` and `import time`, which T228c holds.
- Every line R merge that touches tests/pgcluster.py or the fixture,
  schema or roles module, lane 2's merges inside its lines among them,
  is there the clean merge of its two parents, so no merge's own change
  is carried.
- Markers: tests/sql_register_landed/T221, T231, T227, T216 and T228.

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

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

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

  • 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 ce6e42357dac9d7270e9f4e4a56f21585cce5fe8, against base 7f1141be15ac9c0d20c25c802ba9533c2fec811c (P01's branch).
  • The verdict: READY. It has no BLOCKING finding.
    • SHOULD, now settled: tests/test_sql_register_fixture.py:44–45 and :319–388 (T228c's imports and T228b's case) were outside T228's files: on the spec main the review read, 73792183. spec#60 has since landed as 775b72c9, and its tasks:2186 names tests/pgcluster.py and tests/test_sql_register_fixture.py. This PR needs no change.
    • NIT: the docstring of _test7_seed (tests/pgcluster.py:857–861) says the seed is T211's SEED byte for byte. T227c added the HOLD RELEASED line (:918–923), so the docstring is stale. Lane 2 can reword it in a later slice.
  • What was checked:
    • the 31 picks, replayed onto 7f1141be in line R's order:
      • 29 applied clean and kept their patch-ids;
      • T227b and T228b were settled as their own inserted lines;
      • the result plus the five markers equals the head's tree, f17765fe;
    • the blob and blame claims against merge163, and T231j's message against design.md:2065;
    • the gate tables: 157 schema ids and 16 roles ids, none of which runs gated;
    • merges with main 0119ab0b and with every other open head, all clean;
    • a gated run: 1 passed (T228b's case), 13 skipped by the gate, 0 failed;
    • hosted CI at this head: 23 checks pass and 2 skip, and the shard totals sum to 5738.
  • The report: lane 3's codex-review-prompts-20261113e/reports/opus-code-98-ce6e42357dac.md, sha256 4a72d1760d0fbd3f4485ee0760226a9832b4c23c757dbedf0106e6a25250d68a.
  • Lane 3 accepts this review for this exact head. The review still stands after the PR is retargeted to main, provided the head does not change. That needs P01 to land by merge commit, which is how lane 3 will land it.

@brettheap
brettheap changed the base branch from 007-p01-real-engine-fixture-and-gate-2 to main November 15, 2026 14:16
@brettheap

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue openrepotools-code

@mergify

mergify Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

queue openrepotools-code

⚠️ 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 15, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into main as 7647afd at 15:20 UTC

Merged together with #93. 39 min in the queue, 37 min of it CI.

So far

7 merge conditions met
  • check-success=@github-actions/guard-launch-mode
  • check-success=@github-actions/package
  • check-success=@github-actions/tests
  • check-success=@github-actions/tests-no-submodule
  • 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