Skip to content

merge queue: checking #97 + #103 together on main (a922a12) - #117

Closed
mergify[bot] wants to merge 207 commits into
mainfrom
mergify/merge-queue/a552fd383a
Closed

mergify[bot] wants to merge 207 commits into
mainfrom
mergify/merge-queue/a552fd383a

Conversation

@mergify

@mergify mergify Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch amazed-saucisse-s4qu1k of the openrepotools-sql-register-p07-p09 queue, to test #97 and #103 before they merge into main. Pushing to this branch or closing this pull request removes them from the queue.

What this draft tests

Mergify checks that #97 and #103 still pass CI on top of main. CI runs on this draft's code, built in this order:

  1. main at a922a12
  2. #97 + #103, the pull requests of this batch, tested together as one tip

⏳ Where it stands: being checked

CI is running on this draft.

Waiting for

  • check-success=@github-actions/openrepotools-batch-heavy
  • check-success=@sonarqubecloud/SonarCloud Code Analysis
  • any of: [🛡 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

Follow the openrepotools-sql-register-p07-p09 queue in the dashboard

What happens next

  • Once the checks pass and every merge condition is met, Mergify merges #97 and #103 into main and closes this draft.
  • If a check fails, Mergify removes #97 and #103 from the queue and closes this draft: this batch has used all of its failure resolution attempts (batch_max_failure_resolution_attempts: 0).
  • If the checks have not finished after 1 hour 30 minutes (checks_timeout), Mergify removes #97 and #103 from the queue and closes this draft: this batch has used all of its failure resolution attempts (batch_max_failure_resolution_attempts: 0).
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: a922a12922fa94ad2611bcba463cc0bf7b4fbc66
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 97
    scopes: []
  - number: 103
    scopes: []
queue_base_sha: a922a12922fa94ad2611bcba463cc0bf7b4fbc66
scopes: []
...
Required conditions of queue rule openrepotools-sql-register-p07-p09 for merge
Required conditions to stay in the queue

brettheap and others added 30 commits November 15, 2026 04:02
…nd 8 (6 tasks; part of opensoft/openRepoTools#165)

Pull request P07 of feature 007's task sets, version 12f: lane 2's sets
S007-10 and S007-15 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
c9c65cc. It is cut from lane 1's line R
at merge158 7e11b77. Its 55 task
commits, all built by lane 2, were picked with cherry-pick -x in line
R's order across the two sets; each part below lists its own, in that
order. Every pick applied with no conflict and kept its own patch-id,
and every path is in its task's files: or is a marker. No plain commit
of landing note 15 falls in these sets, and no line R commit holds their
code by hunk. The full shas are pointers into lane 1's share.

It lands after P03 (S007-08) as a pre-cut gate (rule 3), under lane 2's
correction to version 12f's row for P07 (opensoft/openRepoTools#165
6887220239 and 6887277308), which lane 3 says version 12g takes
(opensoft/openRepoTools#165 6888657466): T273b and T273d import P03's
test modules only inside functions their tests call, never at module
level. So this commit is cut onto P01 without P03, and it queues only
after P03 is on main. Its six modules collect without P03, 335 ids. Of
them, 70 ids of the rollback module, in 19 test functions, import a P03
module when they run, so none of them can pass on a tree without P03: 69
import test_sql_register_import, through T273b's _imp, and 1 imports
test_sql_register_cutover, through T273d's _cut, whose F2Register then
imports test_sql_register_import too.

Rule 11: lane 2's six gate tables are on line R and in this commit:
render's (T210k), writes' (T210l), shape's (T241k), divergence's
(T271e), rollback's (T273g) and renderer_git's (T270k). They hold 61
keys: 3 "*" rows, shape's, divergence's and renderer_git's; 55
test-function names; and 3 single ids, name[param], all in writes.
Collection runs the gate's key check, and every key names a test of its
module.

In this PR's own CI the gate is active, and the landed tasks are P01's
seven and these six. There none of the 335 ids of the six modules runs:
each waits for at least one task that neither P01 nor P07 lands, and
skips naming it, render's 113, writes' 74, shape's 13, divergence's 23,
rollback's 81 and renderer_git's 31. The gate skips no other id: a gated
collection of the suite on this commit's tree marks exactly these 335,
and no table on line R names these six tasks, so their markers turn on
no id. With P03's three markers added, still none of the 335 runs. The
70 ids that import a P03 module all wait for T326, and no table row
names T211, T218 or T272.

007 S007-10: Test 1's phase-N and phase-W parts, test 2 and its shape module (T210, T240, T241; part of opensoft/openRepoTools#165)
- T210, T241 and T240, lane 2's, each whole, 30 of the 32 task commits
  that line R's merge119 9cefc7f took
  with lane 2's line W4b, in this order: T210
  94fc988, T210b
  9d42f3f, T210c
  d54b029, T210d
  eec18ed, T210e
  458a32d, T241
  4189911, T241b
  d1b688c, T210f
  a0480dc, T241c
  0d969c8, T210g
  e38124b, T210h
  6b1ec12, T241d
  0b7266c, T241e
  85ae83f, T241f
  c0e1d59, T210i
  9c4fa24, T241g
  71b79e9, T210j
  d75de90, T241h
  4263bc4, T240
  a50876f, T241i
  469bccd, T241j
  5614d15, T240b
  5ecd43d, T240c
  69e6826, T240d
  5490b20, T240e
  1fe3872, T240f
  1ef2fa7, T240g
  6d7355b, T210k
  4292c2c, T210l
  c13e503 and T241k
  cdb53c0. T210k, T210l and T241k add
  the render, writes and shape modules' gate tables. S007-15's T270b and
  T270h come among them in line R's order, after T240 and after T240e.
- tests/test_sql_register_render.py, tests/test_sql_register_writes.py
  and tests/test_sql_register_shape.py then equal line R's merge158
  blobs 3e89fad,
  6231b8f and
  64fb006; the render module's blob
  holds T270h's lines and all but 15 of T270b's, which T270h rewrites.
- Markers: tests/sql_register_landed/T210, T240 and T241.

007 S007-15: Test 5 (the renderer's git half), test 6 (divergence, with the v1.1.0 writer fixture) and test 8 (rollback) (T270, T271, T273; part of opensoft/openRepoTools#165)
- T270, lane 2's, each whole, in line R's merge119: T270b
  6aee8c4 and T270h
  23a84b2, picked at their line R
  places among S007-10's commits.
- T273, lane 2's, each whole, in line R's merge120
  639601c, which took them with lane
  2's line DR: T273 d48b9de and T273b
  35b616f.
- T271, lane 2's, each whole, in line R's merge122
  6f825db: T271
  92fbaf2, T271b
  f48304f, T271c
  ae50b55, T271d
  ec614d4 and T271e
  09e5bc9. T271 adds the v1.1.0 writer
  under tests/fixtures/lanes-edit-v1.1.0/ with its SHA256SUMS, which
  holds the copy's digest, and T271e adds the divergence module's gate
  table.
- T273, lane 2's, each whole, in line R's merge123
  d33330f: T273c
  f897e72, T273d
  de6012b, T273e
  49c0b1d, T273f
  4ad5816, T273g
  a036b6c, T273h
  d79618c and T273i
  3c0fdee. T273g adds the rollback
  module's gate table.
- T270, lane 2's, each whole, in line R's merge124
  d1fc1d3: T270
  e645fcb, T270c
  4414055, T270d
  b4510d3, T270e
  04f0172, T270f
  cb36df6, T270g
  5a8c50c, T270i
  fdab926, T270j
  e1add02 and T270k
  6658cfd. T270j gives the module its
  own OPERATOR, checked against P02's TEST7_OPERATOR, which it imports
  from tests/pgcluster.py only when a case runs, and T270k adds its gate
  table, whose "*" row names T227; so the module collects on P01, and
  P07 needs no gate on P02.
- tests/test_sql_register_divergence.py,
  tests/test_sql_register_rollback.py and
  tests/test_sql_register_renderer_git.py then equal line R's merge158
  blobs d22bb16,
  4fb9b36 and
  d03ba26, and
  tests/fixtures/lanes-edit-v1.1.0/lanes-edit.sh and SHA256SUMS equal
  line R's merge158 blobs d28ed8f and
  1fa1628, in that order.
- Markers: tests/sql_register_landed/T270, T271 and T273.

Lane: openRepoTools-1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ture for SonarCloud's python:S5779 at tests/test_sql_register_rollback.py:1356, which moves its assert into a helper

This commit is added to P07's branch on its head
69196d6, with no force-push: the
branch keeps its cut's one commit, and a later commit carries its own
explicit message (landing note 23).

The finding. SonarCloud's check on this PR
(#97) failed on its head: "Quality Gate
failed: D Reliability Rating on New Code (required >= A)", since
05:23Z. Its one issue is CRITICAL python:S5779, "Don't use assert
inside a try-except that catches AssertionError", at
tests/test_sql_register_rollback.py:1356, in the partitioned_estate
fixture. That line is T273b's
(35b616f): a direct assert in a try
whose handler catches AssertionError on purpose, so that each case can
report the estate's problem (lane 1:
opensoft/openRepoTools#165 comment 6893999388). Lane 2 took it as
T273k, on T273's line, as a test-only change with no id or gate change
(opensoft/openRepoTools#165 comment 6894063699), and posted it with its
bundle, its Sonar analyzer run and its picks
(opensoft/openRepoTools#165 comment 6894818629).

What it is. T273k is lane 2's commit
f1f181e on its line RB, on T273i
3c0fdee, tree
548405c. It changes
tests/test_sql_register_rollback.py only, +11 -1, from blob
4fb9b36 to blob
57875c3.

The change, in lane 2's words (comment 6894818629):
- The fixture's `assert refused.returncode == 69, ...` moves, as it was,
  into _assert_partitioned_refusal(refused) beside partitioned_estate,
  as _assert_rolled_back already is, and the fixture calls it. No
  assert stands in the try now.
- The fixture still catches AssertionError, from both helpers, so every
  case still fails with why, through shared.problem and _ready().
- missed_estate does not change. It already has this shape (only
  _assert_rolled_back in its try, which Sonar does not flag), so the two
  fixtures now match. _assert_rolled_back does not change.
- Why a helper and not lane 1's private exception: pytest rewrites the
  fixture's assert, so today each case's message carries pytest's
  indented lines and its "assert 2 == 69" and "where 2 =
  CompletedProcess(...)" lines. A raised exception of the module's own
  drops them, so the message would change. In a helper, pytest rewrites
  the same assert in the same way. In process, through pytest 9.1.1's
  own rewriter, with the first refusal made to exit 2: the module
  before and after give one message, and a private-exception variant's
  message lacks pytest's lines.

Lane 2's Sonar run and test runs (comment 6894818629):
- The SonarQube analyzer (project opensoft_openRepoTools, test scope)
  ran on the module's lines 1155 to 1388, both fixtures and their
  helpers. Before: one issue, CRITICAL python:S5779 at the region's line
  202, the module's 1356, as SonarCloud reports. After: no issue.
- Ungated, through tests/run.sh, with OPENREPOTOOLS_REQUIRE_PG=1 and
  PostgreSQL 16 from lane 1's pg16-nonroot build, on line R's merge164
  9990baf with T273k, since T273i's own
  tree has no rollback in lanes-index; that tree,
  617a4ad007ff06147361993d93f5ef2318df33c0, is the pick's own onto
  merge164. (a) The 51 ids of the two fixtures: 51 passed in 174 s. (b)
  With one scratch mutation, which leaves the partitioned configuration
  at mode 644 so that the first refusal exits 2, the 24 partitioned ids
  fail before and after T273k with one message, the same byte for byte
  but for the run's own temporary root: "section 4.2's estate: the
  partitioned rollback:", then "exit 2", the refusal's stderr, "assert 2
  == 69" and pytest's "where" line.
- Both used a copy of the build's 33 wrappers whose root= is the build's
  absolute path, with no other change. Each wrapper finds its root from
  $0, and test 7's cutover host reaches psql through a symlink mirror,
  so with the build's own bin as PG_BIN no estate on that host can be
  built, before and after T273k alike (lane 2's finding).

No id changes and no gate-table row, so no -k census. Rule 11's three
checks are owed for a new id or a table row, and this slice has
neither. By ast, lane 2 found before and after the same 22 test
functions (names, decorators, arguments and bodies), the same three
fixtures' names, decorators and arguments, the same 22 rows of
SQL_REGISTER_GATE_TABLE and the same 40 top-level assignments. Lane 1's
own reading, of the module as P07's head holds it (blob
4fb9b36) and as this commit leaves it
(blob 57875c3), finds the same, and
finds two top-level nodes that differ: partitioned_estate, and the new
helper _assert_partitioned_refusal. It also reads Sonar's rule by ast:
every assert inside a try whose handlers catch AssertionError,
Exception or BaseException. Before, it finds one, at line 1356 in
partitioned_estate; after, none.

How it was made here. cherry-pick -x of f1f181e onto 69196d6, from
lane 2's bundle l2-007-T273k-f1f181ee974b.bundle (sha256
07f0a02f360e86ef38af2e96c24b2542712f52869b2d6c91d7600359cf5457d4),
applied with no conflict. T273i holds the rollback module as blob
4fb9b36, which P07's head holds too,
and so do line R's merge158 7e11b77
and merge164 9990baf, so the diff
lands on the same base. The pick's tree is
c703f2f, the tree lane 2 posted for
the pick onto this head. Its patch-id,
18b0a7387d739e2cc0e94e429570c36ed5b5face, is T273k's own. The path is
in T273's files: (T273 is S007-15's) at spec main 775b72c9 (tasks.md
blob f56ad0a7, line 2498), where it is the only path in T273's files:,
and T273 is the only task whose files: hold it. T273k has no task line
of its own, so it adds no marker: tests/sql_register_landed/T273 is
already in P07.

(cherry picked from commit f1f181e)

Lane: openRepoTools-1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…est 9's measurements, AT-F6's write cases, test 10, and the disaster, drill and rollback cases (19 tasks; part of opensoft/openRepoTools#165)

Pull request P09 of feature 007's task sets, version 12h: lane 2's sets
S007-06, S007-13, S007-19, S007-20 and S007-25 in one commit, through
the code queue. Its immediate predecessor, P01, code pull request
#88, has landed as code main
f3576b9, and it lands after P02 and
P03, code pull requests #98 and
#93 (rules 2 and 3), so it is cut on code
main after run 1, which takes P02's head
ce6e423 and then P03's head
81483ab by merge commits, and it
carries no Depends-On line. It is cut on code main
6aa8b5c, P02's and P03's landing:
7647afd merges P02's head into
f3576b9, and 6aa8b5c then merges P03's head; its tree,
04baa7c, is the tree of the stand-in on
which lane 1 cut this commit. It is cut from lane 1's line R at merge179
f96d3ee, where lane 2 has said its tips
are its latest (opensoft/openRepoTools#165 6896628490); the last of its
commits came in at merge174 6a921d6,
G's head 0ba8244. Its 240 task commits,
all lane 2's, were picked with cherry-pick -x in line R's order across
the five sets; each part below lists its own, in that order. 236 picks
applied with no conflict and kept their own patch-ids. Four, T229a,
T229b, T229c and T229e, met lines of P01's and P02's in
tests/pgcluster.py and in T200's fixture module,
tests/test_sql_register_fixture.py, and are settled below, each in line
R's order. Every path is in its task's files: or is a marker. No plain
commit of landing note 15 falls in these sets, and no line R commit
holds their code by hunk. Every line R merge that touches the ten paths,
lane 2's merges inside its lines among them, is there the clean merge of
its two parents on those paths, so no merge's own change is carried, and
lane 2's merges are not picked. The full shas are pointers into lane 1's
share.

Rule 11: lane 2's gate tables for the eight modules are among the picks:
T213q's for the guard module, T215m's for outage, T220n's for bounds,
T226p's for measure, T224h's for managed, T253l's for landing_expired,
T274e's for disaster and T276j's for drill. T237zf, below, is T237's
bounds-module commit; lane 2's T237zzf, built on G after merge179, rides
P29 with T124 and is in neither line R nor this commit, and lane 2's
T259b, T212g, T273j and its later commits for other sets are not in it
either (opensoft/openRepoTools#165 6896628490).

After the 240 picks each of the ten paths equals line R's merge179 blob:
tests/test_sql_register_guard.py
8fc5626, which line R has held since
merge174; tests/test_sql_register_outage.py
0c742fe, since merge118;
tests/test_sql_register_bounds.py
3af218c, since merge126;
tests/test_sql_register_measure.py
15b2824, since merge114;
tests/test_sql_register_managed.py
622d678, since merge112;
tests/test_sql_register_landing_expired.py
1493f5f, since merge125;
tests/test_sql_register_disaster.py
41370e0, since merge121;
tests/test_sql_register_drill.py
bf3fa7b, since merge143; and
tests/pgcluster.py b72bfcd and
tests/test_sql_register_fixture.py
6ae3118, both since merge153. Each
settled hunk is proven so, against those merge179 blobs.

007 S007-06: The guard's direct read, AT-F6's phase-N bind cases, the outage cases, and D9's phase-N timeouts table (T213, T214, T215, T219, T220; part of opensoft/openRepoTools#165)
- T220, lane 2's, whole, in line R's merge109
  604f115: T220
  8441316, T220b
  5d6c8a5, T220c
  b7d38cd, T220d
  d6c5c3a, T220e
  2f0285f and T220f
  e756f58.
- T214, lane 2's, whole, in line R's merge115
  78291e4: T214
  5c74fea.
- T213, lane 2's, whole, in line R's merge115: T213
  566c4e3, T213b
  5daa053 and T213c
  085bbae.
- T214, lane 2's, whole, in line R's merge115: T214b
  a1181a4 and T214c
  8dd6074.
- T213, lane 2's, whole, in line R's merge115: T213d
  f3c54fd.
- T214, lane 2's, whole, in line R's merge115: T214d
  dee266e and T214e
  d05d205.
- T213, lane 2's, whole, in line R's merge115: T213e
  3c694a2, T213f
  b8ec678, T213g
  cfe6432, T213h
  08766d6, T213i
  83e1510, T213j
  c48c233, T213k
  16cd1cc and T213l
  e1006ec.
- T214, lane 2's, whole, in line R's merge115: T214f
  42ccd5d.
- T213, lane 2's, whole, in line R's merge115: T213m
  e5be7ac and T213n
  4e0e175.
- T214, lane 2's, whole, in line R's merge115: T214g
  90293b0, T214h
  681998d, T214i
  54d2a59, T214j
  75112da, T214k
  67da068 and T214l
  186897a.
- T213, lane 2's, whole, in line R's merge115: T213o
  dc5ca0b, T213p
  4a665a7 and T213q
  34bde23.
- T215, lane 2's, whole, in line R's merge118
  e49011d: T215
  51dd636 and T215b
  093763f.
- T219, lane 2's, whole, in line R's merge118: T219
  6a3423c and T219b
  8ec84fe.
- T215, lane 2's, whole, in line R's merge118: T215c
  87ed0a9, T215d
  3d57543, T215e
  c96ba4a, T215f
  6c5281b and T215g
  25b1300.
- T219, lane 2's, whole, in line R's merge118: T219c
  fb0dfac and T219d
  96f59aa.
- T215, lane 2's, whole, in line R's merge118: T215h
  b0c3730.
- T219, lane 2's, whole, in line R's merge118: T219e
  ae040ca and T219f
  bc6e00a.
- T215, lane 2's, whole, in line R's merge118: T215i
  fc7ffc4 and T215j
  215791c.
- T219, lane 2's, whole, in line R's merge118: T219g
  25d39cf, T219h
  521f14d and T219i
  0494848.
- T215, lane 2's, whole, in line R's merge118: T215k
  490d0f8, T215l
  2195d92 and T215m
  3442826.
- T220, lane 2's, whole, in line R's merge126
  d4bb21f: T220g
  af42bb0, T220h
  288ed77, T220i
  5890b38, T220j
  a5b7bb8, T220k
  807226d, T220l
  8a706a2, T220m
  2120cd7 and T220n
  b8785b8.
- T214, lane 2's, whole, in line R's merge151
  4052f85: T214m
  cdb43ae and T214n
  0ba8fdf.
- T213, lane 2's, whole, in line R's merge151: T213r
  36bb054.
- T214, lane 2's, whole, in line R's merge151: T214p
  3e2bea4.
- T214, lane 2's, whole, in line R's merge174
  6a921d6: T214q
  41e6ec2, T214r
  4374ed1, T214t
  0994d6c, T214u
  374de2f, T214o
  dff15ae, T214s
  54b5226, T214v
  a60ffdd, T214w
  f1c23a8, T214y
  44f211c and T214x
  06bc34c.
- Markers: tests/sql_register_landed/T213, T214, T215, T219 and T220.

007 S007-13: Test 9's phase-N measurements, the TLS and counting clusters, and the managed-server and TLS-at-load cases (T226, T229, T224, T230; part of opensoft/openRepoTools#165)
- T229, lane 2's, whole, in line R's merge108
  9a2fdfe: T229a
  8391063. Its pick meets two add/add
  hunks in tests/pgcluster.py, where the cut holds P02's T227b lines
  just where T229a adds its own: T227b's `_imported_check`, 17 lines,
  against T229a's `prepare`, 4, and test 7's fixture register, 265 lines
  with T227c's, against T229a's section 5.6 clusters, 320. Each is
  settled as the cut's lines, then T229a's, line R's order: in
  merge179's blob the cut's 17 lines are :746 to :762 and T229a's
  `prepare` follows at :763, and the cut's 265 are :882 to :1146 and
  T229a's section begins at :1147. The pick adds and removes exactly
  T229a's own lines, +428 -14.
- T229, lane 2's, whole, in line R's merge108: T229b
  ba0ff65. Its import hunk merges with
  no conflict and adds only `import socket`, since the cut holds `import
  pytest` and its blank line (P01's T205d) and `import threading` and
  `import time` (P02's T228c). Its one conflict is an add/add at the
  module's end: T229b's 162 lines against the cut's 132, T205c's 62
  (P01) and T228b's 70 (P02). It is settled as T229b's lines, then the
  cut's, line R's order (version 12h :37): in merge179's blob T229b's
  section is :260 to :422, before T205c's sweep cases, :711 to :770, and
  T228b's case, :783 to :850. The pick adds T229b's other 163 lines and
  removes none.
- T229, lane 2's, whole, in line R's merge108: T229c
  3e5f112. Its tests/pgcluster.py hunk
  merges with no conflict. In the fixture module its 165 lines meet the
  cut's 132 in one add/add after T229b's lines, settled as T229c's
  lines, then the cut's, line R's order: in merge179's blob T229c's
  section is :425 to :587, before T205c's at :711. The pick adds exactly
  T229c's own lines in both files, +165 and +162.
- T229, lane 2's, whole, in line R's merge108: T229d
  74d6c7c.
- T224, lane 2's, whole, in line R's merge112
  2e94ce3: T224
  259d53d.
- T230, lane 2's, whole, in line R's merge112: T230
  9337e35.
- T224, lane 2's, whole, in line R's merge112: T224b
  a8d0ca9, T224c
  2c3fd50, T224d
  eb7f0c9, T224e
  4fa5b16, T224f
  b4cde30 and T224g
  e89ad60.
- T230, lane 2's, whole, in line R's merge112: T230b
  533e803.
- T224, lane 2's, whole, in line R's merge112: T224h
  3708558.
- T226, lane 2's, whole, in line R's merge114
  bc9b277: T226m
  bcc5eb6, T226n
  a9f06db, T226o
  0a6a0c2 and T226p
  171af46.
- T226, lane 2's, whole, in line R's merge115: T226g
  e46797d.
- T229, lane 2's, whole, in line R's merge139
  618b8ac: T229e
  35a8887. Its pick meets one add/add
  after T205c's sweep cases: T229e's case, 10 lines, against P02's T228b
  case, 70. It is settled as T229e's lines, then the cut's, line R's
  order: in merge179's blob T229e's case is :773 to :780, before
  T228b's, :783 to :850. The pick adds and removes exactly T229e's own
  lines, +17 -4.
- T229, lane 2's, whole, in line R's merge153
  68b581c: T229f
  712ce3d.
- Markers: tests/sql_register_landed/T226, T229, T224 and T230.

007 S007-19: AT-F13's verb cases and test 9's phase-W measurements (T253, T255; part of opensoft/openRepoTools#165)
- T255, lane 2's, whole, in line R's merge114: T255
  30bc81f, T255b
  cde17b2, T255c
  0d43433, T255d
  af4300d, T255e
  3123843, T255f
  68c0f4b, T255g
  16a0d5b and T255h
  74b71ae.
- T253, lane 2's, whole, in line R's merge125
  ebd8341: T253
  e5665b7, T253b
  23f64fc, T253c
  bdf38d4, T253d
  eb693b1, T253e
  e9b949e, T253f
  f789502, T253g
  e012804, T253h
  9f12584, T253i
  611084a, T253j
  e1a2d58, T253k
  c4c2303 and T253l
  d6b7a3e.
- Markers: tests/sql_register_landed/T253 and T255.

007 S007-20: AT-F6's write cases, D9's writer rows and AT-D9c, AT-LRMPG's phase-W cases, and test 10 through the service (T254, T257, T258, T237; part of opensoft/openRepoTools#165)
- T237, lane 2's, whole, in line R's merge109: T237w
  8359259.
- T257, lane 2's, whole, in line R's merge109: T257a
  060fa29.
- T237, lane 2's, whole, in line R's merge109: T237x
  9b206da.
- T257, lane 2's, whole, in line R's merge109: T257b
  ec0decf and T257c
  1ac4c02.
- T237, lane 2's, whole, in line R's merge109: T237y
  48a6d66.
- T257, lane 2's, whole, in line R's merge109: T257d
  0e608c6 and T257e
  4bfef75.
- T258, lane 2's, whole, in line R's merge112: T258
  a152145, T258b
  d601262 and T258c
  9d50572.
- T254, lane 2's, whole, in line R's merge114: T254m
  eaae2fa.
- T237, lane 2's, whole, in line R's merge114: T237m
  1500c1e.
- T254, lane 2's, whole, in line R's merge114: T254n
  aebf030 and T254o
  255b830.
- T237, lane 2's, whole, in line R's merge114: T237ze
  d0aface, T237zh
  df31d99, T237zp
  e071058 and T237zq
  46278bf.
- T254, lane 2's, whole, in line R's merge114: T254zv
  431fb2b.
- T254, lane 2's, whole, in line R's merge115: T254
  d1d397d.
- T237, lane 2's, whole, in line R's merge115: T237
  7a997b3, T237b
  9629da9, T237c
  8c8c844, T237z
  d2433fb, T237za
  e05f2fd, T237zb
  43cb563, T237zc
  54c6d5a, T237zd
  314bbdc and T237zg
  3991cc0.
- T254, lane 2's, whole, in line R's merge115: T254p
  00761f6, T254q
  8eaef89 and T254r
  278d258.
- T237, lane 2's, whole, in line R's merge115: T237zi
  b31e8be.
- T254, lane 2's, whole, in line R's merge115: T254s
  9f38359.
- T237, lane 2's, whole, in line R's merge115: T237zj
  b7f0585, T237zk
  72579a6 and T237zl
  7e50fb8.
- T254, lane 2's, whole, in line R's merge115: T254t
  4a0e479, T254u
  02ae849, T254v
  ec10576, T254w
  53983d0, T254x
  b629b08, T254y
  c4ec1ff, T254z
  afad921, T254za
  2b948b8, T254zb
  5140d93, T254zc
  c8c7109, T254zd
  638d47c, T254ze
  7599f73, T254zf
  d9d4c2c and T254zg
  15bb2df.
- T237, lane 2's, whole, in line R's merge115: T237zm
  fdc576c, T237zn
  75835b3 and T237zo
  8fef6b1.
- T254, lane 2's, whole, in line R's merge115: T254zh
  f069ebd, T254zi
  f7c2d15, T254zj
  afc5b2b, T254zk
  195bc7f, T254zl
  36df5af, T254zm
  e9ebda7, T254zn
  cc42491, T254zo
  3707351, T254zp
  7e0549b, T254zq
  3c975e6, T254zr
  0f7b437, T254zs
  6720e79 and T254zt
  96f3167.
- T237, lane 2's, whole, in line R's merge115: T237zr
  a51de4b, T237zs
  d7985d1, T237zt
  221680b and T237zu
  0a77daa.
- T254, lane 2's, whole, in line R's merge115: T254zu
  cd85238.
- T237, lane 2's, whole, in line R's merge115: T237zv
  b0777ca, T237zw
  3805a4e, T237zx
  5d28da1 and T237zy
  f7f2c61.
- T257, lane 2's, whole, in line R's merge126: T257f
  11f04c1, T257g
  905988b, T257h
  4733ad1, T257i
  a8d0d93, T257j
  d42d852 and T257k
  87f1f55.
- T237, lane 2's, whole, in line R's merge126: T237zf
  ae85f1e.
- T257, lane 2's, whole, in line R's merge126: T257l
  30baea6, T257m
  7640947 and T257n
  c436998.
- T237, lane 2's, whole, in line R's merge142
  b3185ba: T237zz
  9cc87db.
- T237, lane 2's, whole, in line R's merge151: T237zza
  f61dded, T237zzb
  5fc5b9e and T237zzc
  af51f93.
- T254, lane 2's, whole, in line R's merge174: T254zw
  56a691b.
- T237, lane 2's, whole, in line R's merge174: T237zzd
  655a5dc, T237zze
  63dbfb9 and T237zzg
  0ba8244.
- Markers: tests/sql_register_landed/T254, T257, T258 and T237.

007 S007-25: D22/AT-F18, test 13's drill, D9's rollback rows and the rollback's outage cases (T274, T276, T278, T279; part of opensoft/openRepoTools#165)
- T279, lane 2's, whole, in line R's merge118: T279
  0a4f908.
- T276, lane 2's, whole, in line R's merge120
  639601c: T276
  29affe1, T276b
  ca9b1a3, T276c
  bd52de3, T276d
  9e4e93f, T276e
  6c51b21, T276f
  2a7b0f1, T276g
  b8e1cee, T276h
  4044c2b, T276i
  acb12a2 and T276j
  1320583.
- T274, lane 2's, whole, in line R's merge121
  353b10d: T274
  b710057, T274b
  291589d, T274c
  98aaf02, T274d
  2397045 and T274e
  2112cfe.
- T279, lane 2's, whole, in line R's merge125: T279b
  f6df207.
- T278, lane 2's, whole, in line R's merge126: T278
  fe6f190, T278b
  205ff81, T278c
  24e8261, T278d
  80a645d, T278e
  efffc0f, T278f
  f8ec5a6 and T278g
  e9e9c9d.
- T276, lane 2's, whole, in line R's merge143
  448d5f1: T276k
  87e3336.
- Markers: tests/sql_register_landed/T274, T276, T278 and T279.

Lane: openRepoTools-1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng that the two relay ids that start pg_cluster wait for T107, T108, T109 and T110

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

What it changes, in lane 2's words. T229g adds a
SQL_REGISTER_GATE_TABLE to tests/test_sql_register_fixture.py, after
the imports: two id rows, the relay test's [tls-untouched] and the
silent relay test's [psql-on-the-socket], each ("T107", "T108",
"T109", "T110"), with no "*" row and no function row, since no other
id of either function starts a cluster. The other 22 ids keep running
gated. Only the table and its comment are added, and the module's 24
ids are unchanged.

Why. Call 10 of P09's fast verify (run 43731970466, ungated, at P09's
tree bdcc2f7) gave 22 passed and 2 failed in that module: the two
relay cases above, each failing as its cluster starts: "lanes-index
bootstrap --no-passwords through the admin service on tmpl exited 64,
so the template has no register (lane 1's T109, L1-A7, builds the
bootstrap): lanes-index: unknown argument '--admin-service' for
bootstrap" (opensoft/openRepoTools#165 comment 6897250155). The module
had no table, and the gate runs every id of a module with no table
(tests/sql_register_gate.py:23-24), so the two ids ran, and failed, in
P09's own gated CI too, and P10, which lands T109, comes after P09.
Lane 3 ruled that the two ids wait for T109 in the fixture module,
and for T107, T108 or T110 as well where lane 2's measurement finds
that the template needs them, the commit to say which
(opensoft/openRepoTools#165 comment 6897276895). Lane 2 measured,
built T229g and posted it (opensoft/openRepoTools#165 comment
6897620240).

Which tasks, as lane 2 measured them, running lanes-index on its own
with no database at a8e3394 and at line R's merge180 c2bae76:
- T109: bootstrap --admin-service exits 64 at a8e3394, "unknown
  argument '--admin-service' for bootstrap", lane 1's failure.
- T110: login add --admin-service exits 64 at a8e3394, "unknown
  argument 'add' for login", and the template's make_logins runs it
  once the bootstrap passes, so T109 alone would only move the failure.
- T107 and T108: migration 1, which the bootstrap applies, and the role
  block. a8e3394's lanes-index, 2719 lines, holds no CREATE ROLE, no
  lanes_register_owner and no MIGRATION.
T227, T228 and T229 have markers at a8e3394, so the rows name only the
four that have not. Lane 2's scan of the module finds that only
[tls-untouched]'s branch (tls_cluster) and [psql-on-the-socket]'s (pg,
which takes pg_cluster) ask for a cluster.

Lane 2's runs, as lane 2 gives them (opensoft/openRepoTools#165 comment
6897620240); lane 1 started no pytest process for this commit:
- red, static, at a8e3394 with P09's 34 markers: the gate reader's own
  gate() over the 24 ids skips none, with SQL_REGISTER_GATE=on and with
  a pull-request environment, so both ids run and fail as run
  43731970466 shows;
- green, gated: tests/run.sh -rA, a real PostgreSQL 16,
  SQL_REGISTER_GATE=on, -k sql_register_fixture, at a8e3394 with
  T229g picked on (tree 0bf13e2): 22 passed and 2 skipped, exit 0.
  Each skip is one of the two ids, "waits for T107, T108, T109, T110
  (the landing gate, T280: no marker in tests/sql_register_landed/)",
  and the other 22 ids ran and passed.

How it was made here, with no test run (the py-bench gap request that
lane 3 cites in opensoft/openRepoTools#165 comment 6897276895), by ast
and by the gate reader's own functions:
- cherry-pick -x of 801bb77 onto a8e3394 applied with no conflict,
  giving tree 0bf13e2, lane 2's, with T229g's own patch-id,
  0c852064f52ca4ae5786d51aedd5be168390c262. The module's blob goes
  from 6ae3118 to 7803e04: 19 lines added and none removed, 14
  comment lines, the table's 4 lines and 1 blank line.
- By ast, before and after: every test function, its decorators, each
  parametrize's values, its arguments and its body are the same, and
  the 24 ids are the same, in the same order, so no id is added or
  changed. The one change is one added top-level node, the table, and
  no import is added.
- The gate's own table_of, with the names built as tests/conftest.py
  builds them, accepts the table, and refuses a misspelled key as a
  control. waits_for gives T107, T108, T109, T110 for the two ids and
  () for the other 22. With P09's 34 markers, the gate's gate() skips
  exactly those two, with SQL_REGISTER_GATE=on and with a pull-request
  environment, and none ungated.
- The path is in T229's files: (line 2191 of tasks.md, blob f56ad0a7,
  at spec main 4007d4addd49bcff9625f4d0f320b055720c629e), and T229 is
  S007-13's, one of this pull request's five sets. T229g has no task
  line of its own, so it adds no marker: tests/sql_register_landed/T229
  is already in P09.

What no longer holds in P09's cut text. It says that after the 240
picks each of the ten paths equals line R's merge179 blob, and gives
the fixture module, tests/test_sql_register_fixture.py, as
6ae3118, since merge153. That
describes the cut commit; at this head the module is 7803e04,
merge179's blob with T229g's 19 lines. Its Rule 11 line,
"lane 2's gate tables for the eight modules are among the picks", is
true of the 240 picks; this commit adds the fixture module's, a ninth,
which is not among them. The cut's text does not say that the fixture
module has no table or that every fixture id runs.

A second P09 id. Lane 2's scan finds that the measure module's [files]
case of its M9 test also takes pg and needs the same four tasks on its
own row (opensoft/openRepoTools#165 comment 6897620240). Lane 2 builds
that row as a separate commit; this commit does not carry it.

(cherry picked from commit 801bb77)

Lane: openRepoTools-1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… starts pg_cluster waits for T107, T108, T109 and T110

This commit is added to P09's branch on its follow-up 1, 366e62f, which
is on P09's head a8e3394 (code PR 103),
with no force-push: the branch keeps its cut's commit, and each later
commit carries its own explicit message (landing note 23).

What it changes, in lane 2's words. T254zx changes one row of the gate
table in tests/test_sql_register_measure.py: M9's [files] id, which
T226p keyed to (), becomes ("T107", "T108", "T109", "T110"), its
"# T254; tasks:2412" tail kept. [primary] keeps the function's row. The
table's comment, which said M9's [files] waits for none, now names the
four tasks and why, and T254zv's docstring sentence "[files] passes
today" now says "[files] waits for T107 to T110". Nothing else changes:
8 lines added and 6 removed.

Why. PR 103's gated run 43731909240, at a8e3394, gave one error in
tests-shard (pytest-1): M9's [files] id, "its cluster did not start:
lanes-index boots...", the template bootstrap that failed the fixture
module's two ids in run 43731970466, which lane 1 posted in
opensoft/openRepoTools#165 comment 6897250155 and, for this id, in
opensoft/openRepoTools#165 comment 6897648758. That id's row was (),
which replaces the function's row, and the module has no "*" row, so
it waits for nothing and runs gated. Its test takes pg, which takes
pg_cluster, whose template is T227's Bootstrap(): lanes-index
bootstrap --admin-service, then T228's make_logins. At a8e3394 the
bootstrap exits 64, "unknown argument '--admin-service' for
bootstrap".

Lane 3's ruling (opensoft/openRepoTools#165 comment 6897276895) names
the two relay ids of the fixture module, which follow-up 1 keys, and
says that an id whose tasks have not landed skips and names them
(rule 4). Lane 1 asked lane 3 whether this third id goes in the same
way (opensoft/openRepoTools#165 comment 6897648758) and has no ruling
yet. This commit applies the ruling's reason to the one more id that
lane 2's scan found (opensoft/openRepoTools#165 comment 6897806580), and
a ruling that differs would change it.

Which tasks: T107, T108, T109 and T110, the four that follow-up 1's
T229g keys for the fixture module, for the same reason. Neither the
measure module nor tests/conftest.py overrides pg, pg_cluster or
pg_template_sql, so [files] builds the same template, and lane 2's
measurement for T229g holds (lanes-index run on its own, with no
database, at a8e3394 and at line R's merge180 c2bae76):
- T109: bootstrap --admin-service exits 64 at a8e3394.
- T110: make_logins's two login add --admin-service calls exit 64,
  "unknown argument 'add' for login", so T109 alone would only move
  the failure.
- T107 and T108: migration 1, which the bootstrap applies, and the role
  block; a8e3394's lanes-index holds no CREATE ROLE, no
  lanes_register_owner and no MIGRATION.
T221's and T231's Orders (tasks:2127 and :2231 at 204145ae) read every
case on pg so. T227, T228 and T229 have markers at a8e3394, so the row
names only these four.

Lane 2's static proof, as lane 2 gives it (opensoft/openRepoTools#165
comment 6897806580): the same 13 keys, the same 30 ids, and with P09's
34 markers the gate's gate() skips all 30 gated, [files] with "waits
for T107, T108, T109, T110 (the landing gate, T280: no marker in
tests/sql_register_landed/)", and none ungated. Lane 2's gated run of
the module was still to come in that post. Lane 1 started no pytest
process for this commit, under the py-bench gap request that lane 3
cites in opensoft/openRepoTools#165 comment 6897276895.

How it was made here, by ast and by the gate reader's own functions:
- cherry-pick -x of 530a6a3 onto follow-up 1 applied with no
  conflict, giving tree 63e0a8c, lane 2's, and T254zx's own patch-id,
  a20200faf187aafa7e75664884b5241527e22eda. The module's blob goes
  from 15b2824 to 01c0b6c.
- By ast: of the module's 145 top-level nodes, two differ, the table
  and M9's function. The table has the same 13 keys in the same order,
  and only the [files] value changes. M9's function is the same, its
  decorators and arguments included, but for its docstring, whose
  one change in words is "passes today," to "waits for T107 to T110,".
  The 9 test functions and the 30 ids are unchanged, the module
  docstring and every other node are the same, and no id is added or
  changed. The added lines are 4 comment lines, 3 docstring lines and
  the row.
- The gate's own table_of accepts the table, and refuses a misspelled
  key as a control. waits_for gives T107, T108, T109, T110 for [files]
  and the same as before for the other 29 ids. With P09's 34 markers,
  gate() skips 29 of the 30 ids before and all 30 after, with
  SQL_REGISTER_GATE=on and with a pull-request environment, [files]
  alone changing, and none ungated.
- The path is in T254's files: (line 2409 of tasks.md, blob f56ad0a7,
  at spec main 4007d4addd49bcff9625f4d0f320b055720c629e). T254 is
  S007-20's, a set of this pull request; the path is in T226's
  (S007-13) and T255's (S007-19) too. T254zx has no task line of its
  own, so it adds no marker: tests/sql_register_landed/T254 is already
  in P09.

What no longer holds in P09's cut text. It says that after the 240
picks each of the ten paths equals line R's merge179 blob, and gives
tests/test_sql_register_measure.py as
15b2824, since merge114. That
describes the cut commit; at this head the module is 01c0b6c,
merge179's blob with T254zx's 8 added and 6 removed lines. The cut's
text does not mention M9 or [files].

Lane 2 names three spec lines that say M9's [files] waits for nothing or
passes at P09 (tasks:2412, :2176 and :2418 at spec main 775b72c9) and
aligns them in its addendum 7; this commit does not touch the spec.

(cherry picked from commit 530a6a3)

Lane: openRepoTools-1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…write-id] waits for T114 too, since it runs lanes-index journal, T114's verb

part of opensoft/openRepoTools#165

This commit is added to P09's branch (code PR 103) on its follow-up 2,
492620a, with no force-push: the
branch keeps its cut's commit and follow-ups 1 and 2, and this later
commit carries its own explicit message (landing note 23).

Lane 3's ruling. Lane 3's re-ruling, Option A
(opensoft/openRepoTools#165 comment 6899542616), has P09 carry T224i as
its follow-up 3. The managed module is in T224's files:, so rule 1
needs no exception. This reverses "P09's READY head stays as it is" in
lane 3's first ruling (opensoft/openRepoTools#165 comment 6899381832),
which had both of P10's gate-row gaps ride P10. Lane 2 consents to this
head, bound to its tree, dbf5805, and T224i's patch-id, 467dfae7, once
lane 3's delta review of it is READY and its full CI is green
(opensoft/openRepoTools#165 comment 6899524322).

The evidence. Lane 1's pre-qualification of P10
(opensoft/openRepoTools#165 comment 6899134636) ran, ungated, the
managed module's 10 ids that P10's markers newly turn on at its
stand-in L2 (tree 60a0c11: f0070e0 with P05, P06, P09 and P07
merged, then P10), in hosted run 43746097924: 1 failed and 9 passed.
The one is [journal-write-id], "lanes-index: unknown subcommand
'journal'". journal is T114's verb (L1-A12, P14), and the id's only
row was its function's, ("T104",), whose task P10 lands. The order
module's 37 (hosted run 43746088295) are P10's follow-up 3's. Those two
gaps are settled by this commit and P10's follow-up 3.

The change: lane 2's T224i (opensoft/openRepoTools#165 comment
6899469748), in tests/test_sql_register_managed.py alone, 5 lines added
and 1 removed: an id row "...[journal-write-id]": ("T104", "T114"),
beside [for-guard]'s, and the T230 rows' comment says why. P09's
markers name neither T104 nor T114, so at P09 the id still waits, now
for both; the row matters once P10 lands T104.

How it was made here: a cherry-pick -x by plumbing, git merge-tree
--write-tree --merge-base=37085586b31fa843b173dca529e1d5f88ab234b5 of
P09's head and T224i 1ab5bc0, clean,
giving tree dbf5805, and this commit
by commit-tree. The managed module's blob at P09's head is 622d678,
as at T224i's parent, so the module becomes T224i's own blob, fa0fc1b.
The diff from P09's head has T224i's own patch-id,
467dfae7d6ba5b2797e1b1b23ef99886b76a92af, and changes only that module.

Lane 2's message, kept whole, with four rewordings for lane 1's message
lint: one comment id written in full, and T224i's parent written in
full in the three places where its short form is all digits:

T224i: Gate tls_at_load's [journal-write-id] until T114 too, since it runs lanes-index journal, T114's verb

The defect. Lane 1's pre-qualification of P10
(opensoft/openRepoTools#165 comment 6899134636) ran the managed module's newly
enabled ids ungated on its stand-in L2 (tree 60a0c11: f0070e0 with
P05, P06, P09 and P07 merged, then P10) in hosted run 43746097924: 1
failed and 9 passed,
with "lanes-index: unknown subcommand 'journal'". The one is T230's
test_tls_at_load_refuses_a_url_off_loopback_without_verify_full_and_a_root_file[journal-write-id].
It runs `lanes-index journal --write-id ...` (tests/test_sql_register_managed.py
:1220-1223, the same blob, 622d678, at MG's 3708558, at P09's
492620a and at line R's merge180 c2bae76) and asserts exit 3 (:1224).
journal is T114's verb (L1-A12), in P14. The id had no row of its own,
so the function's row, ("T104",) (:134), covered it, and T104 has its
marker at L2. At L2, lanes-index has no journal subcommand and answers
64.

Which tasks, and why: T104, the function's own wait, and T114, which
builds the journal verb the id runs (tasks:486 at 204145ae, "`lanes-index
journal` (FR-016; L1-A12)"), as [for-guard]'s row adds T113 for the
`register read` it runs.

The function's other ten ids, read the same way: nine ([no-sslmode],
[system-root], [missing-root], [root-file], [socket], [loopback],
[no-register-url], [reader-url] and [two-hosts]) run `lanes-index
mode`, T105's verb (L1-A4), which has its marker at L2, and they passed
in the same run. [for-guard] runs `register read --for guard`, T113's
(P14), and its row already names T113. LoginBench's setup runs no
lanes-index verb. So [journal-write-id] is the one id that needs a row.

The change, in the one module:
- An id row, "...[journal-write-id]": ("T104", "T114"), beside
  [for-guard]'s, in its form.
- The T230 rows' comment names [journal-write-id]'s wait and why.
5 lines added and 1 removed.

The static proof (no pytest):
- ast: of the module's 110 top-level nodes, only the table differs. It
  keeps its 22 keys in the same order, with the same values, and gains
  the one row. Every function, its decorators, arguments, body and
  docstring, is identical, and so is the module docstring.
- The gate reader's own gate() (tests/sql_register_gate.py at L2, the
  same blob as merge180's), over the module's 43 ids, with L2's 70
  markers, under SQL_REGISTER_GATE=on and, apart, a pull_request
  environment: before, 33 ids are skipped and 10 run, the 10 of lane
  1's list; after, 34 are skipped and 9 run, the nine `mode` ids.
  [journal-write-id] is skipped with "waits for T114 (the landing gate,
  T280: no marker in tests/sql_register_landed/)", and every other id's
  outcome and reason is unchanged. Ungated, or with =off, nothing is
  skipped, before or after.

Built in scratch on MG's 3708558. It picks cleanly (git merge-tree,
merge base 3708558) onto merge180 c2bae76 and onto L2, with the same
patch-id, and touches only the managed module.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 1ab5bc0)

Lane: openRepoTools-1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pped copy where it is there, and from the copy where it is not

T273's follow-up for T124 (lane 1, opensoft/openRepoTools#165 comment
6890575983, run c7; T273's line, tasks:2498, files
tests/test_sql_register_rollback.py; T124, tasks:2850 to :2854 at lane 3's
8f50d105), on T273i 3c0fdee. Lane 2's line T124-27, wave 27, scratch only.

- test_a_rollback_goes_back_to_its_check_on_each_lost_turn_code read the
  schema version from the flipped copy's own text. On lane 1's T124
  prototype the copy is the launcher and the constant is in
  lanes_index_main.py beside it, so re.search found nothing and each of the
  four ids failed with "'NoneType' object has no attribute 'group'". It now
  reads the module where T203's flipped copy has it beside it, as lane 1's
  prototype 11b56a1 has its own readers do (copy.with_name(
  LANES_INDEX_MODULE)), and the copy where there is no module.
- LANES_INDEX_MODULE = "lanes_index_main.py" is defined in this module, with
  lane 1's name: the prototype's sql_register_helpers.LANES_INDEX_MODULE is
  not on line R, so nothing here depends on it, and a rename of T124's form
  re-keys this one line.
- Before T124 (line R today) there is no module beside the copy, so the
  copy is read, as before.

No id changes, no gate row: the four ids keep their row, T326 (tasks:2512).

Re-made by lane 2's line TJ-27 on T273k f1f181e, whose change is elsewhere
in the module, so the diff is the same.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 80fc0f0)
… not only an AssertionError

P07's review NIT (lane 3, code PR 97, comment 6894950192): "an exception
that is not an AssertionError, raised during either fixture's build, skips
drop_database". On T273j 80fc0f0, line RB, for line R only. Lane 2's line
TJ-27, wave 27.

- missed_estate and partitioned_estate each make their database, build the
  estate in a try whose except catches AssertionError alone, and drop the
  database only in the finally around their yield. Anything else raised in
  the build (a RuntimeError, an OSError, a KeyboardInterrupt) left the
  fixture before that try, so the database stayed on the cluster.
- Each build's try now has a second except, for BaseException, that drops
  the database and re-raises. The AssertionError path does not change: it
  still becomes shared.problem, with the same words, which _ready() fails
  each case with, and the finally still drops the database at teardown.

No id changes, no gate row: only the two fixtures' bodies change.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit a8afa8e)
…t for T227c's HOLD RELEASED line

Lane 3's exact-head review of P02 (code PR 98, comment 6894648736), its
NIT, which #165 6894714082 sends to lane 2: the docstring of
_test7_seed (tests/pgcluster.py:857-861 at PR 98's ce6e423) says the
seed is T211's SEED byte for byte, but T227c (a048fdd) added the
holder's HOLD RELEASED line after TAKE_LINES["hold-no-utc"].

FX's _test7_seed is PR 98's line for line (ce6e423:856-974 equals
660374e:892-1010), so the docstring is FX's :893-897. Against the lines
it cites, 4bfef75:tests/test_sql_register_import.py:97-104, 112-115,
118-164 and 185-226, the seed's body differs only by T227c's six lines,
its comment and the HOLD RELEASED line. T211n's CutoverRegister appends
that same line, HOLD_NO_UTC_RELEASE, by append-line before its import
(merge166's import module, :191 and :1208).

The docstring now says the copy is byte for byte but for that one line,
and that the two copies must stay equal but for it.

Comments and docstrings only. With every docstring stripped, the
module's AST dump is the same before and after (sha256 8ec8ddea); its
97 top-level names are unchanged, and it holds no tests.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 664af07)
…after it, where T237's test 10 left one

Lane 3's NIT on P09 (code PR 103, head 492620a), from its exact-head
review record (opensoft/openRepoTools-code comment 6898836950):
tests/test_sql_register_guard.py ends with a blank line, and git diff
--check reports a new blank line at EOF. Lane 2's 6898968532 sends it to
line G as one commit for line R only, and posts it when it is built. On
G's T237zzh; built as scratch 472a6dc5 on the same commit (patch-id
f3d8858e). Lane 2, wave 27.

- The line: T237 7a997b3 ("Write test 10 through the service, the guard
  module's part") appended it after the test's last assert, and no later
  commit on G has moved it (T237c 8c8c844 rewrote two of the lines above
  it). It is line 7957 of the 0ba8244 blob, which is P09's head's, line
  R's merge174's and merge180's, byte for byte, and line 7982 on G's
  T237zzh.
- The change: the file's last two bytes, "\n\n", become "\n". One line is
  removed, after the last assert of
  test_the_service_stops_after_its_idle_time_and_unlinks_its_socket; no
  other byte of the module moves.
- Not touched: no test, decorator, fixture, comment or gate-table row. No
  id changes, no gate row.

Proofs, none by pytest (the workstation's gap between runs):
- git diff --check: this commit against its parent reports nothing. The
  parent's file reports line 7982, new blank line at EOF, and P09's head
  against its merge base 6aa8b5c reports line 7957 of the same blank
  line. The 0ba8244 commit against its own parent reports nothing: the
  blank line is T237's, not T237zzg's.
- ast: the module dumps identical before and after, with and without
  positions (47551 nodes, 356 top-level statements, 90 test functions): a
  blank line at the end of a file is no node. It compiles.
- git merge-tree --write-tree --merge-base=49e8ef26: onto line R's
  merge180 c2bae76 after T237zzf and T237zzh it is clean, tree 79ed72fd,
  and the guard module is the only path changed; onto merge180 alone it is
  clean, tree cdb43fa8, and the guard module is the only path changed. The
  pick's patch-id is f3d8858e in both.

Lane: openRepoTools-2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit db175f1)
…est fails, and fail a writer that ran in files mode

Lane 4's post 6899167909 (opensoft/openRepoTools issue 165) saw one failure of
the burst test's [two-logins] case on its combined probe, at :2642:

    test_a_burst_of_ten_over_a_delayed_tls_link_commits_each_once_or_exits_75_with_nothing_written

The ten writers ended [75, 75, 0, 75, 0, 0, 0, 0, 0, 0] and the journal's new
seqs were [2..7], seven writers at 0 and six entries. The assertion said only
the seqs and the codes, so nobody could tell which writer ended 0 with no
entry, what it said, or which write ids reached the journal. Lane 4's
6899400726 reads the likely cause as lanes-edit.sh's 2 s `lanes-index mode`
timer: a writer whose question goes unanswered warns on stderr, writes to git
in files mode (reg_mode_files) and ends 0 with no journal row. It rides line R
only. Lane 2's DG-27, wave 27.

THIS IS DIAGNOSTICS: the messages, and one added assertion that makes a case
the seqs assertion already fails fail explicitly. Nothing else about the test
changes:

- A module-level `_burst_report`, just before the test, builds one message from
  what the test already holds. Per writer: its index, login, exit code, time
  and the last 300 characters of its stderr. Per new journal row: its seq and
  write id. Per `commit_write` call in the shim's log, in the log's order: its
  write id, the seq the journal holds it at (or NONE), its PGUSER, and the
  `burst N` that its state text names (`?` where the script carries none).
- In the test, `rows` is read before the first assertion, not after it, and a
  local `told()` calls `_burst_report` with the shim's log. It runs only when
  an assertion fails. The three assertions after the writers end keep their
  test expressions and the first line of their message, and add the report on
  the lines after it. The docstring, the ids and the gate table are as they
  were.
- One assertion is added, after the exit-code one and before the seqs one. It
  fails the case when a writer's stderr holds lanes-edit.sh's words "runs in
  files mode" (reg_mode_files, line 6415 at merge180 c2bae76), and its message
  names each such writer with its index, login and stderr tail, then the report.
  That turns a silent files-mode write into an explicit failure. The burst's
  pass condition is otherwise unchanged: a files-mode writer ends 0 with no
  journal row of its own, so the seqs assertion already fails for it.

Not run against a database. By ast on 3.9.23 and 3.12.3, the one new top-level
node is `_burst_report`, the burst test is the only changed one (the other 94
dump equal), its three old assertions after the writers end and its login-add
assertion keep their `.test` in order, the added assertion is the only new one,
and the 16 test functions, the 9 ids and the compile are unchanged. In process,
on a fabricated burst shaped like lane 4's (seven 0s, three 75s, six rows) the
report names all ten writers, the six write ids and the commit call whose id
the journal lacks. The test's own assertion statements, run on fabricated
locals, fail on the same assertion as before in every case but a writer that
says it ran in files mode, which now fails first.

The shim's log ties a commit call to a login by its PGUSER and, where the
commit script carries it, to a writer by the state text's `burst N`. That is
read from the shim's record shape and not yet seen in a live run. The writers'
stdout is not captured by `ends`, so it is not in the report.

The bounds module's blob is 7324e84 in W3a and goes to eda23b31. On line R's
merge180 c2bae76 (blob 3af218c) this diff picks clean, giving blob 8b3ce4a
and no other changed path.

Lane: openRepoTools-2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit 69d89d4c5675532701680851b19116008d19af1e)
….to_primary, so a writer that falls back to files mode ends 69

Lane 4's 6899400726 (opensoft/openRepoTools issue 165) reads the likely cause
of the burst test's one [two-logins] failure as lanes-edit.sh's 2 s
`lanes-index mode` timer: a writer whose question goes unanswered falls back
to files mode, commits to git and ends 0 with no journal row. Its one guard,
cs_marker_refuse, refuses with 69 only where lanes/STORE is on origin, and the
bench's origin never had it: the import module's _to_primary writes the
cutover entry and record_marker by SQL alone. Lane 2 took the change in
6899444735. It rides line R only, by pick after T257o. Lane 2's SP-27, wave 27.

Bench.to_primary, after its import and _to_primary, now pushes one commit to
the bench's own origin.git, on C, that adds lanes/STORE alone:

- Its bytes are the five lines _to_primary's entry writes (store, database,
  import, lanes-tree, utc), read back from the register's doc_lines in line
  order and checked against files' sha256 for lanes/STORE before the push.
- It is made from a clone of the bench's own under its tmp_path, as
  Operator's stand-in stray is, so the bench's checkout and W keep their last
  fetch. The lane's own checkout, cloned after it, sits at the marker.
- Its message is plain, with no Register-Seq trailer. The renderer that each
  committed primary write starts (pw_render_fork) still stops at its walk,
  no-seq, as before, so no case meets a render pass it did not meet. A real
  marker commit, with Register-Seq: 1, would let that pass go on to read,
  build and push, and the delayed TLS link test counts every call its shim
  and timing logs hold (len(times) == len(kinds)).
- It is not the real marker commit, and the switch still records
  _to_primary's stand-in 'c' * 40 as marker_commit.

A writer whose mode question fails now finds the marker at its own fetch and
ends 69 (cs_marker_refuse), with nothing written, where it ended 0 with no
journal row. A burst writer that loses the race fails the exit-code assertion
first, and T257o's report carries its stderr. [answer-2-F1]'s detached bind,
on a slow mode answer, now ends 69, where it bound in files mode. A writer on
primary meets nothing new: its snapshot reads only lanes/repos.tsv and
lanes/log/README.md from its checkout, and its hand-edit check lists only the
render set.

Unchanged: the import module's _to_primary, since its sidecar test runs
lane-last in files mode, class decide, after it, and F17 would end that 69
with lanes/STORE on its origin; Operator's primary estate, which calls
_to_primary itself; and the comment at :760-761, which is about _to_primary
and stays true. Only Bench.to_primary's body and docstring change: no id, no
gate row and no other function.

Not run yet. The local bench was held by other runs (Brett's py-bench rule),
so lane 2's runs of the five Bench.to_primary callers, and a scratch check
that a slowed mode question now ends a burst writer 69, follow when it frees.
The proof here is static.

By ast on 3.9.23 and 3.12.3, of the module's 139 top-level nodes only Bench
changes, and of its 17 members only to_primary; its signature and old body
are kept, with one import before them and seven statements after; the 22 test
functions and the gate table's 53 rows dump equal. By git merge-tree, it picks
clean onto line R's merge212 7f4dc16, which holds T257o as pick209 d35f852:
tree a6056ca, the bounds blob 8b3ce4a to 04d8065 and no other path. Onto
merge207 28b65d0 (bounds blob 3af218c, merge180's) after T211p, T272g (both
already there, no change), T211q and T257o, it gives tree 672d563d and the
same bounds blob 04d8065.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e7b8161007be8cb449031a941c55ba9635fb7d98)
…ss group, let its hold FIFO go, and reap it, all bounded, before the case fails

Lane 3's genuine Codex exact-head review of code PR 97 (P07) at 4e9821a
(codex-code-97-4e9821ab.md, sha256 f1783481...), BLOCKING 2, which lane 3
sends to lane 2 as the tests' owner (#165 6931179031), and lane 3's ruling
on it (#165 6931632238: REAL, "and worse than stated", fixed in P07 now),
from its check v97 (opus-code-97-codex-findings-v97.md, sha256 e0ef6ac7...),
which adds the third site, :1214.

- test_a_lost_push_race_never_rebases_a_render (:1317 at 4e9821a) and
  test_form_c_reads_the_trailer_from_each_message_shape (:1605) asserted
  `fd is not None` with `held.communicate()`, no timeout, in the message.
  `_open_when_held` returns None once its 120 s run out with the renderer
  still alive, so a renderer that hangs before its push, or that is only
  slow and reaches its push after the deadline, where the wrapper parks
  on a FIFO no one opens, blocked the assertion itself for ever.
  `_held_and_rendered` (:1214) bounds its call (`timeout=60`), but its
  TimeoutExpired left the renderer running, parked or not.
- `_end_session(proc, grace=10, fifo=None)`, new beside
  `_open_when_held`: SIGTERM to the child's process group (`popen_render`
  starts it with `start_new_session`), a `communicate()` bounded by
  `grace`, then SIGKILL to the group and a second bounded `communicate()`.
  The group is signalled only while the child is unreaped, so its pid is
  still the group's id. In its `finally` the hold FIFO is let go, its write
  end opened non-blocking and closed, and the last wait for the child is
  bounded too. The let-go is needed because T320's `_run_bounded` (line R
  9bdd317's lanes-index) runs each git call in a session of its own, with
  its output piped to the renderer: a wrapper parked on the FIFO is in no
  group signalled here, and stayed parked for good.
- At all three sites, a None fd now calls `pytest.fail()` with that output;
  each site's own `finally` ends the session again where that call did not
  reap the child (`returncode` still None), and still closes the FIFO
  otherwise.
- Probed in process, with no pytest and no database (the helper lifted out
  by `ast`): a sleeper ends on SIGTERM at once; a SIGTERM-ignorer, and a
  group with a SIGTERM-ignoring grandchild, end by SIGKILL after one grace;
  a child already reaped returns its output at once; and a git call parked
  on a FIFO in a session of its own is released by the let-go, where the
  same probe without it leaves it parked.

No id, marker or gate row changes: by `ast`, the 24 test functions' names,
decorators and arguments, the imports and SQL_REGISTER_GATE_TABLE are
identical; two test bodies and `_held_and_rendered` change and one helper
is added.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… set-up after CREATE DATABASE

Lane 3's genuine Codex exact-head review of code PR 97 (P07) at 4e9821a
(codex-code-97-4e9821ab.md, sha256 f1783481...), SHOULD 3, which lane 3
sends to lane 2 as the tests' owner (#165 6931179031), and lane 3's
ruling on it (#165 6931632238: REAL, narrow).

- RollbackRegister.__init__ made its database, then guarded only the
  bootstrap, the logins and AT-LR006's route with `except BaseException`,
  which drops it and re-raises. `Database(cluster, name)` before that try,
  and the shim's directory, file and mode, `arm([])` and the operator's
  directory after it (:305-310 at 4e9821a), were outside it. The object is
  never returned to `rb_register` where any of them raises, so the fixture's
  `finally` never runs `drop()`, and the database stayed on the cluster.
- The try now starts at the first step after CREATE DATABASE and ends after
  the last, so every one of them drops the database before re-raising. The
  statements, their order and what each does are unchanged; T273l's two
  fixtures' guards are not touched.

No id, marker or gate row changes: by `ast`, the 22 test functions' names,
decorators and arguments, the imports and SQL_REGISTER_GATE_TABLE are
identical; RollbackRegister.__init__ is the one body that changes.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nally that ends and reaps each child, bounded, before it closes them

Lane 3's genuine Codex exact-head review of code PR 97 (P07) at 4e9821a
(codex-code-97-4e9821ab.md, sha256 f1783481...), SHOULD 4, its renderer
half (:897 at 4e9821a), which lane 3 sends to lane 2 as the tests' owner
(#165 6931179031), and lane 3's ruling on it (#165 6931632238: race()
is real).

- race() started a launcher per checkout, opened each FIFO's write end,
  closed them all in a `finally`, then called `communicate(timeout=300)` on
  each child. A failure while spawning (mkfifo, Popen) left the launchers
  already started blocked on their FIFOs; a launcher that never waited
  failed the assertion after the `finally` had released the others into
  their renders; and a TimeoutExpired from one `communicate()` left that
  child and every later one unreaped.
- One outer try now holds the spawning, the barrier and the waits, and its
  `finally` owns them all: each child not yet reaped has its session ended
  by T270o's `_end_session` (SIGTERM, then SIGKILL, to its process group,
  each wait bounded), and only then, in an inner `finally`, is each FIFO
  end still open closed, so no launcher is released into a render the case
  has given up on. On the path that succeeds, the release is the same, all
  FIFO ends closed in order once all launchers wait, and so are the waits.

No id, marker or gate row changes: by `ast`, the 24 test functions' names,
decorators and arguments, the imports and SQL_REGISTER_GATE_TABLE are
identical; RenderEstate.race is the one body that changes.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…FO go, and reap it, bounded, where its wait times out

Lane 3's genuine Codex exact-head review of code PR 97 (P07) at 4e9821a
(codex-code-97-4e9821ab.md, sha256 f1783481...), SHOULD 4, which lane 3
sends to lane 2 as the tests' owner (#165 6931179031), and lane 3's ruling
on it (#165 6931632238: PARTLY; :1883 overstated; add the leak its check
v97, opus-code-97-codex-findings-v97.md, sha256 e0ef6ac7..., found in
`_held_at_push`).

- `_held_at_push` starts the rollback, waits up to 300 s for the wrapper to
  hold its push, and where none is held reads it with
  `communicate(timeout=60)` before `pytest.fail()`. A rollback still
  running after that minute raised TimeoutExpired there and was left
  running, and one that reached its push after the 300 s left the wrapper
  parked on the FIFO with no one to open it.
- On that TimeoutExpired the rollback is now killed, by its pid
  (`popen_rollback` starts it in this process's own group, so no group is
  signalled), the FIFO's write end is opened non-blocking and closed, so a
  push parked there meanwhile lets go whatever group or session it runs in,
  and the rollback is read again, bounded by 60 s, before the case fails
  as before. The path where it ends by itself does not change.
- Not built: the :1883 half of SHOULD 4. Between `_held_at_push` and its
  `os.close(fd)`, test_a_rollback_rerun_resumes_after_its_own_entry only
  parses a log the wrapper wrote, one flushed line under `flock`, before it
  parked, while the rollback waits on it, and SIGKILLs this user's own
  live children: nothing there raises in practice, and no assertion sits
  between them (lane 3's ruling and v97 agree).

No id, marker or gate row changes: by `ast`, the 22 test functions' names,
decorators and arguments, the imports and SQL_REGISTER_GATE_TABLE are
identical; `_held_at_push` is the one body that changes.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s failure messages, in v103's form

What: `_said` and `_passwords` put a command's raw stdout and stderr into a
failed assertion's message. `login add`, `login rotate` and `bootstrap`
print password-file lines on stdout, so a failure at the module's login
assertions could put a database password into a durable CI log. Following
v103's form (`d3-managed-mask.diff`), with two corrections:
- `_said` passes stdout and stderr through `pgcluster._masked`, the masker
  the disaster and drill modules already use (each keeps a local copy).
  It is imported, not copied a third time.
- `_passwords` masks the text in its refusal of a login printed twice. Its
  check is now a bool (`twice`), since pytest's rewritten report shows
  each operand, and `found` holds the lines.
- `_no_clear_text` (:609) asserts on a bool, `leaked`, as v103 has it.
- At :696 and :1011 the logins are listed outside the assertion, in
  `printed = sorted(_passwords(...))`. v103's `sorted(_passwords(...)) ==
  []` still shows the dict of lines, and the stdout it was read from, in
  pytest's where-clauses (pytest 9.1.1's rewriter, on synthetic text).

New test, no database, synthetic text only:
`test_a_failure_message_keeps_no_password_of_a_password_file_line`. It
builds one line in the form `_register_pgpass_line` prints, with a fresh
uuid as the password, and checks `_said` and `_passwords`' refusal. Each
check is a bool, so a failure of this case prints no password either. It
has no gate row, so it runs ungated. No other id or row changes. pytest's
operand report still reaches other assertions in this module that hold a
login's output (T224k).

Why: BLOCKING 3 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), which lane 3's
rulings in opensoft/openRepoTools issue 165, comment 6932114864, hold
PARTLY, at SHOULD, to be fixed in the chain in v103's form; and the
coordinator's 6931509747: "For managed login assertions, sanitize failure
diagnostics and avoid publishing credential-bearing stdout/stderr or
password-file lines in reports/logs." T224 wrote the helpers (259d53d).
Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… report shows a login's output

What: pytest's assertion rewriting appends each operand's value to a
failed assertion's message, its own where-clauses included. In this module
many operands hold a login's output. `proc.returncode` shows the
`CompletedProcess` with its stdout (240 characters by default, ten times
that under -v, all of it under -vv), and `sorted(lines)` shows the dict of
password-file lines. Examples are :660-:662, :678-:679, :762-:764, :979,
:1300-:1302 and :1957-:1959 at f4f0ebc. T224j covered the three sites
lane 3 named. This commit closes the channel for the whole module: the
module docstring now holds the word PYTEST_DONT_REWRITE, which pytest 9's
rewriter reads (`is_rewrite_disabled`), so each assertion here reports its
own message, which `_said` masks, and nothing else. The eight assertions
with no message report a bare AssertionError. T224j's self-check gains the
operand case: a failing assertion whose operand holds the line keeps no
password. No id changes. It can be cut alone; T224j stands without it.

Why: BLOCKING 3 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e). Lane 3's rulings
in opensoft/openRepoTools issue 165, comment 6932114864, find "pytest's
own assertion text prints them at :609, :696 and :1011". The same text
reaches the sites above. The coordinator's 6931509747 says: "sanitize
failure diagnostics and avoid publishing credential-bearing stdout/stderr
or password-file lines in reports/logs." Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e the counting cluster logged

What: `test_each_paths_connections_and_queries_are_counted` read each
path's connections (c) and Query messages (q) from the counting cluster's
log and asserted only c >= 1, so a broken statement count, or a path that
sent nothing, passed with q = 0. It now asserts q >= 1 too, before the
record. Every connection a path makes is a `psql` (lanes-index's
PostgresStore and admin calls, its service's child, and this module's own
`psql` helpers), and `psql` sends each script's statements as simple Query
messages, which `log_statement=all` logs as "statement:" lines. No ceiling
is asserted: tasks.md (T255, :2424) leaves that to open point 24 and
states no per-path lower bound, so the bound is 1. No id changes.

Why: SHOULD 1 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), measure:1547,
which lane 3's rulings in opensoft/openRepoTools issue 165, comment
6932114864, hold REAL, and the coordinator's 6931509747. T255 wrote the
assertion (30bc81f). Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ILL and a bounded reap after TERM

What: `Bench.stop_service` sent TERM to `lanes-index serve`, waited 10 s,
and on a timeout sent KILL without reaping it. `serve` starts with
`start_new_session=True`, so its own `psql` child was never signalled at
all and could outlive the case. It now calls a new module helper,
`_end_process(serve, group=True)`: TERM to the service's process group, a
wait of 10 s, KILL to the group, and a reap whose wait is bounded too; a
group already gone is not an error. The helper stays in this module. Its
`group=False` form is for processes that share pytest's group (the burst's
writers, T257q). Its callers, `run`, `start_service` and the service row,
are unchanged. No id changes.

Why: SHOULD 4 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), bounds:1187,
which lane 3's rulings in opensoft/openRepoTools issue 165, comment
6932114864, hold REAL, and the coordinator's 6931509747. T237 wrote
`stop_service` (48a6d66, T237y). Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… collection early

What: the burst test started its ten writers in a list comprehension and
collected them one by one with `communicate(timeout=300)`. A writer's
TimeoutExpired, or a failure while the writers were being started, left
every writer not yet collected running past the case. The starts and the
collection now run in a try/finally, and the finally ends each writer it
started with the module's `_end_process(proc, group=False)` (T237zzl):
TERM, a bounded wait, KILL, and a bounded reap. A writer that has already
ended gets no signal, so the passing path is unchanged. The writers share
pytest's process group (`_writer` gives them no session of their own), so
they are signalled one by one, never by group. Their order, their state
texts and the release time are unchanged, and no id changes.

Why: SHOULD 4 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), bounds:2692,
which lane 3's rulings in opensoft/openRepoTools issue 165, comment
6932114864, hold REAL, and the coordinator's 6931509747. T257 wrote the
collection (0e608c6, T257d). Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a bounded reap after TERM

What: `_path_m5` stopped `lanes-index serve` with TERM, a 10 s wait, and
on a timeout KILL with no reap. The service starts with
`start_new_session=True`, so its `psql` child was never signalled and
could outlive the case. Its finally now calls a new module helper,
`_end_group(serve)`: TERM to the service's process group, a 10 s wait,
KILL to the group, and a reap whose wait is bounded too. A group already
gone is not an error. The helper stays in this module. The warming reads,
the asserted read and the state home's removal are unchanged, and no id
changes.

Why: SHOULD 4 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), measure:1515,
which lane 3's rulings in opensoft/openRepoTools issue 165, comment
6932114864, hold REAL, and the coordinator's 6931509747. T237 wrote
`[m5]` (1500c1e, T237m). Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s [m5] service is stopped

What: `hook_pid` ended its stand-in, a `sleep` that `[m10]` and `[m5]`
pass as the hook's pid, with `kill()` and then `wait()` with no timeout.
Its finally now calls the module's `_end_group` (T237zzm). The stand-in
starts with `start_new_session=True`, so the helper sends TERM to its
group, waits 10 s, sends KILL to the group, and reaps it, that wait
bounded too. The pid each read is given, and when the stand-in starts,
are unchanged. No id changes.

Why: this is lane 5's pointer, not a Codex finding. Lane 5's pre-review
in opensoft/openRepoTools issue 165, comment 6932056536 ("Lane 2, two
items in your modules, for your read"), says: "Two waits with no
timeout: ... `tests/test_sql_register_measure.py`:1403 call
`standin.wait()` with none." Lane 5's line is at its P30 trial head
b4f0f74; at P09's head f4f0ebc the same lines are measure:1402-1403.
It is fixed in the style of SHOULD 4 of lane 3's local Codex review of
P09 (code PR 103) at f4f0ebc (codex-code-103-f4f0ebce.md, sha256
4c003c8e), which lane 3's rulings in issue 165, comment 6932114864, hold
REAL, and the coordinator's 6931509747. T255 wrote `hook_pid` (16a0d5b,
T255g). The readers module's wait, the pointer's other item, is another
lane 2 agent's. Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…by a reader thread, then kill and reap

What: `_ask` sent a statement and its `\echo` marker on the held `psql`
session, then iterated the session's stdout until the marker came. If the
marker never came, the case hung until CI's outer timeout, and nothing
reaped the session. `_held` now starts one daemon thread per session that
reads its stdout line by line into `session.lines` (`_lines_of`), and puts
None at EOF. `_ask` takes lines from that queue with a monotonic deadline,
`ASK_S` (60 s). Past the deadline, or at EOF, it kills the session, reaps
it with a bounded wait, and fails, naming the marker, the exit and the
session's stderr. The statements sent, the timed span and the case's own
finally are unchanged, and no id changes.

Why: SHOULD 5 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), measure:1612,
which lane 3's rulings in opensoft/openRepoTools issue 165, comment
6932114864, hold REAL, to be fixed "by a reader thread", and the
coordinator's 6931509747. v103's `d-s5-ask-deadline.diff` has the same
reader; this commit also kills and reaps on expiry, as Codex asked. T255
wrote `_ask` (30bc81f). Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…0 and none for one that exited 75

What: the burst's oracle compared the count of exit-0 writers with the
count of new journal rows, and checked that each written id was one some
commit call sent. A writer that exited 0 could be missing from the journal
while a writer that exited 75 had a row, and the case still passed. Each
writer is now found by its write id. Every `commit_write` call in the
shim's log names its write id, and its entry carries the writer's own
state text, `T257's burst <i>`: in the replaced row's `new_text`, the
lane row and the message. The row it replaces is carried only as
`old_sha256`. So each write id's calls must name exactly one writer. The
writers of the new rows, sorted, must then equal the indexes of the
writers that exited 0. So each exit-0 writer has exactly one row, and no
exit-75 writer has any. Both failures print `told()`, T257o's report. The
earlier checks stay as they were, and no id changes.

Why: SHOULD 2 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), bounds:2709,
which lane 3's rulings in opensoft/openRepoTools issue 165, comment
6932114864, hold REAL, and the coordinator's 6931509747. T257 wrote the
oracle (0e608c6, T257d). Statically checked against line R 9bdd317's
`lanes-index` (`register_commit_request`, the entry's `edit()` with
`old_sha256`) and `lanes-edit.sh` (`set-row-state`'s message,
`pw_decide`, `pw_end`), not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…id and B's generation

What: `test_lanes_write_id_new_on_the_replacement_replaces_the_old_record_and_writes_once`
checked only that every commit call after the arm carried the new write
id (`{...} == {True}`), so any number of calls passed, and B's generation
was never checked, though its oracle is one write with the new id under
B's generation. It now reads B's generation after the cutover
(`estate.switch()["generation"]`, as the module's
`test_a_pending_record_from_the_lost_database_is_refused_2_at_the_snapshot`
does) and asserts exactly one commit call whose stdin holds both the new
id and that generation. Line R 9bdd317's `commit_write` refuses with
LR007 any call whose generation is not the switch's (`lanes-index`
:10787-10790), and the journal holds the write, so the call that committed
carries B's generation. With no shim arm and no other writer, the writer
sends one commit call, and `pw_decide` ends the run 0 on `committed <s>`.
No id changes.

Why: SHOULD 7 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), disaster:1364,
which lane 3's rulings in opensoft/openRepoTools issue 165, comment
6932114864, hold REAL, and the coordinator's 6931509747. T274 wrote the
case (b710057). Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… under one lock, and join every pump

What: `SilentListener` (F1) and `StartupRelay` (F2), the bounds module's
local relays, appended accepted sockets to `held` and started each pump
with no lock. Their `close()` set `done` and closed the sockets it found.
A socket appended after that loop was never closed, a pump started after
it was never joined, and `close()` returned while pumps still ran. Now:
- `SilentListener` gets a lock and a `pumps` list;
- each accept registers its sockets, and `StartupRelay` also starts and
  lists its pump, under that lock, or closes them and stops when `done`
  is already set;
- `close()` sets `done` and snapshots `held` and `pumps` under the lock,
  joins the accept thread and each pump (5 s each; every loop sees `done`
  within its 0.2 s select), and only then closes the sockets and the
  listener;
- `StartupRelay`'s upstream connect that fails closes both ends and goes
  on, where it ended the accept thread.
This is v103's `d-s3-relays.diff` for these two classes. `ArmedFault`'s
accept is T278h. No id changes.

Why: SHOULD 3 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), bounds:419, which
lane 3's rulings in opensoft/openRepoTools issue 165, comment 6932114864,
hold PARTLY. The pgcluster leg is WRONG, and the local copies, these two
among them (:398-450), are REAL and fixed in place. Also the coordinator's
6931509747. T220 wrote both classes (8441316), and T257f added `armed`.
Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he relay's lock, as T220o does

What: `ArmedFault`, the armed F1 and F2 relay of the rollback and cutover
rows, overrides `_accept`. It appended F1's held sockets, and each F2
connection's sockets and pump, with no lock, and an upstream connect that
failed ended its accept thread. Its accept now does as `StartupRelay`'s
does since T220o:
- the upstream connect, for F2 or an unarmed relay, closes both ends and
  goes on where it fails;
- under the lock that `close()` snapshots under, it holds F1's connection
  and counts it, or registers both sockets and starts and lists the pump,
  or, once `done` is set, closes them and stops.
`close()` is `SilentListener`'s (T220o), so every pump is joined before
the sockets close. This is v103's `d-s3-relays.diff` for this class. No id
changes.

Why: SHOULD 3 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), which lane 3's
rulings in opensoft/openRepoTools issue 165, comment 6932114864, hold
PARTLY. The local copies are REAL, `ArmedFault` (:3055) among them, though
Codex did not name it. Also the coordinator's 6931509747. T278 wrote the
class (fe6f190). Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… under one lock, and join every pump

What: the outage module's `StartupRelay`, AT-F7's F2 relay, appended
accepted sockets to `held` and started each pump with no lock. Its
`close()` set `done` and closed the sockets it found. A socket appended
after that loop was never closed, a pump started after it was never
joined, and `close()` returned while pumps still ran. Now:
- the relay keeps a lock, a `pumps` list and its accept thread;
- each accept registers its sockets and starts and lists its pump under
  that lock, or closes them and stops when `done` is already set;
- an upstream connect that fails closes both ends and goes on, where it
  ended the accept thread;
- `close()` sets `done` and snapshots under the lock, joins the accept
  thread and each pump (5 s each), and only then closes the sockets and
  the listener.
This is v103's `d-s3-relays.diff` for this class. It is fixed in place,
with no pgcluster commit under it. No id changes.

Why: SHOULD 3 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), outage:737, which
lane 3's rulings in opensoft/openRepoTools issue 165, comment 6932114864,
hold PARTLY. The local copies, this one (:689) among them, are REAL. Also
the coordinator's 6931509747. T215 wrote the class (51dd636). Statically
checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…show, not any FAIL

What: `test_ready_check_11_needs_tls_and_the_primary`'s negative cases
asserted only `FAIL`, exit 2 and the login's name. A FAIL for another
cause passed. One such cause is the restart in `[in-recovery]` or
`[leaf-only]` meeting a stale port, where `TLSCluster.launch()` had moved
the cluster (T229h). A new table, `CHECK_11_FAULT`, gives each case's fault
in the words of line R 9bdd317's `_ready_check_tls`, and each case now
asserts that its fault is in check 11's reason:
- `sslmode=prefer` and `sslmode=disable`, each "not sslmode=verify-full";
- no `sslrootcert=`;
- a Unix socket;
- `sslrootcert=system`;
- `pg_is_in_recovery() is not false`.
The URL's faults come first in each connection's part of the line, and
`_ready_line` makes the reason one line. `[leaf-only]` has no row: its
fault is libpq's own text for a chain it cannot verify, which the code
under test does not fix. The ids, `CHECK_11` and the other assertions are
unchanged.

Why: SHOULD 6 of lane 3's local Codex review of P09 (code PR 103) at
f4f0ebc (codex-code-103-f4f0ebce.md, sha256 4c003c8e), pgcluster:1274:
"assert the intended check-11 reason". Lane 3's rulings in
opensoft/openRepoTools issue 165, comment 6932114864, hold S6 REAL. Also
the coordinator's 6931509747. This commit stands without T229h and can be
cut alone. T224 wrote the case (259d53d; T224b a8d0ca9), and T230 added
three ids (9337e35). Statically checked, not run.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
brettheap and others added 25 commits November 17, 2026 14:35
…ng entry cannot print it as an argument

Lane 2's pre-review RV9-41 of P09 at 4895579, B1, and the coordinator's
sweep of lane 2's three modules: pytest 8.3.4's Code.getargs(var=True)
adds the flag values 4 and 8, not 1, so for a function with *args or
**kw a long entry prints the frame's locals as if they were arguments.
measure's git(cwd, *args, env=None) held its run, `proc`, git's raw
stdout and stderr, when its assert failed. T205e makes the suite's
default short, which prints no arguments; under an explicit --tb=long
on 8.3.4 the streams showed.

The fix, as T229q did in Cluster.psql: the message is built, `proc` is
deleted, then AssertionError(message) is raised; the message is the
same, git's args, cwd, and the helper's exit and counts. A docstring
says why. No id changes.

The sweep of measure's functions with *args or **kw: git (this fix);
_entry(**parts) and index_env(**extra) raise nothing of their own and
hold no stream. bounds' and managed's are in their own commits or need
none (T258w's message).

Checked outside pytest (measure loaded as a module with process starts
refused; subprocess.run stubbed to a failed run whose streams hold a
planted value; git's failure rendered by pytest's own repr_failure on
a stand-in item): under pytest 8.3.4 at --tb=long the parent 99a5ce31's
report holds the planted value and this one does not; at short neither
does; under 9.1.1 neither does at either style. The message holds no
planted value at either. The static check finds 0 places over bounds,
measure, managed and pgcluster; SQL_REGISTER_GATE_TABLE is AST-equal to
the parent in all three; no test is added, removed or renamed. Python
3.9 grammar and pyflakes are clean; git diff --check is clean. T255zf
had 0 hits in tasks-3f1f67fe.md, tasks.md at 87e04899 and f2098c21,
every commit message of the code clone and scan.git, lane 2's posts,
BUILD-W31's posts, lanes 1, 2 and 5's bundles, lane 2's share files and
issue 165's p33 snapshot (2461 comments).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s, so pytest 8.3.4's long entry cannot print them

Lane 2's pre-review RV9-41 of P09 at 4895579, B1, and the coordinator's
sweep of lane 2's three modules: pytest 8.3.4's Code.getargs(var=True)
adds the flag values 4 (*args) and 8 (**kw), not 1, so a long entry of
such a function prints that many of its locals, in co_varnames order,
as if they were arguments. T205e makes the default short; under an
explicit --tb=long on 8.3.4:
  - _w_git(cwd, env, *args) printed its run, `proc`, git's raw streams.
    Fixed as T229q did: the message is built, `proc` deleted, then
    AssertionError(message) raised;
  - Manager._commit(self, kind, files, **journal) printed `proc`, the
    writer's commit run. Its run and check move to a new
    _committed(kind, entry), which takes no *args or **kw, so a long
    entry prints only its arguments; `entry` is the register entry,
    fixed fields and the files' rows;
  - Manager.logins(self, service, *engineers, ...) held `proc`, `login
    add`'s printed password lines, when its assert failed. 8.3.4's
    miscount reached only `files` (paths) in its present local order,
    but a reordering would reach `proc`; its run and check move to a
    new _added(who, service), which takes no *args, so no local order
    can matter.
Each message is unchanged. No id changes.

The rest of managed's functions with *args or **kw need nothing: they
raise nothing of their own, or hold no stream, password or SQL as a
local when what they call raises (lanes(*args) holds `env`, the
manager's environment; bootstrap(*flags) its argv; as_login(**variable)
its argv, with `sql` an argument, shown by any long entry; url(**query),
restart(**option), _says(*words), _w_stand_in(*args), the stand-in
reap(*args, **kwargs) and fails(*args, **kwargs)). In bounds, every such
function outside PF9-42's region is a stand-in or wrapper that raises
nothing of its own and holds no stream when its callee raises
(counted(**kwargs), kept(*args, **kwargs), T257zu's psql(**kwargs),
_git(self, *argv)). measure's git is T255zf.

Checked outside pytest (managed loaded as a module with process starts
refused; each function's run stubbed to a failed run whose streams hold
a planted value; its failure rendered by pytest's own repr_failure on a
stand-in item): under pytest 8.3.4 at --tb=long the parent fc58ab36's
report holds the planted value for _w_git and _commit, and this one
for none; logins' holds it at neither (above); at short none does;
under 9.1.1 none does at either style. The static check finds 0 places
over bounds, measure, managed and pgcluster; SQL_REGISTER_GATE_TABLE is
AST-equal to the parent in all three; no test is added, removed or
renamed. Python 3.9 grammar and pyflakes are clean; git diff --check is
clean. T258w had 0 hits in tasks-3f1f67fe.md, tasks.md at 87e04899 and
f2098c21, every commit message of the code clone and scan.git, lane 2's
posts, BUILD-W31's posts, lanes 1, 2 and 5's bundles, lane 2's share
files and issue 165's p33 snapshot (2461 comments).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…string as a deliberate exception

Lane 2's pre-review RV9-41 of P09 at 4895579, N4: pgcluster's _DATACL
foot line (pytest_terminal_summary, `... statements (open point 12):
<datacl>`, pgcluster :1866-1868 here) prints psql's raw answer for the
clone's pg_database.datacl on every real-engine run. Open point 12
requires it, so it stays. T257zz's check reads the whole of pgcluster.py
and finds 0 places, since the text reaches the output through a list's
item, which it does not follow. _raw_streams_in's docstring now names
this as the one deliberate exception, not a place. Docstring only: the
check's code, its findings and every id are unchanged.

Checked: the module's AST with every docstring blanked is equal at the
parent f9c12c1d and here; the check's docstring names _DATACL here and
not at the parent; the check finds 0 places over bounds, measure,
managed and pgcluster and the planted case still names exactly its
planted lines. SQL_REGISTER_GATE_TABLE is AST-equal to the parent in
all three; no test is added, removed or renamed. Python 3.9 grammar
and pyflakes are clean; git diff --check is clean. T257zzl had 0 hits
in tasks-3f1f67fe.md, tasks.md at 87e04899 and f2098c21, every commit
message of the code clone and scan.git, lane 2's posts, BUILD-W31's
posts, lanes 1, 2 and 5's bundles, lane 2's share files and issue 165's
p33 snapshot (2461 comments).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ce pytest 8.3.4 prints a long entry's locals as a **kw or *args function's arguments

Lane 2's pre-review RV9-41 of P09 at 4895579, B1. pytest 8.3.4's
Code.getargs(var=True) adds the CO_VARARGS and CO_VARKEYWORDS flag values
(4 and 8) to the argument count, so a long traceback entry of a function
with *args or **kw prints its locals as "arguments".
ImportedRegister._run_ok(self, argv, **env) and .git(self, *args,
data=None) held `proc`, both raw streams, when they raised, so under
8.3.4 with long tracebacks pytest's report printed them: T257zzb's
[lanes-edit] and [git] failed, and disaster's and drill's
`raise AssertionError(...) from exc` over ImportedRegister printed them
in the cause's traceback.

The fix, as T229q's in Cluster.psql: build the message, `del proc`, then
raise. The raise's text is unchanged.

The sweep of pgcluster for every function with *args, **kw or keyword-
only arguments (AST): _fixture(**options), _started(..., **options),
_own_cluster(..., **options), ClusterError.__init__(*args, could_not_bind),
ImportedRegister.run(..., **env), _run_ok, git, and the relays' _start,
_spawn, _drop and __exit__. Only _run_ok and git bind a stream and raise.
_started's locals when its pytest.fail raises are `cluster` (an object's
default repr) and the arguments; its `exc` is unbound by then, and every
pg_template_sql is the default Bootstrap() (no module overrides it).
run() binds nothing; a TimeoutExpired through it carries its argv and
`env`, the fixture's own variables. The relays hold sockets and threads.

No id, marker or gate row changes; no caller is affected.

Checked outside pytest (PF9-42/work/runreg2.py and four1.sh: process
starts refused, deletes stubbed; pytest's own Function.repr_failure on a
stand-in item; pytest 8.3.4 from the read-only cache RV9-38 found, and
9.1.1, each with tbstyle auto and short): at the base e8dca97, T257zzb's
[lanes-edit] and [git] fail under 8.3.4 with auto (the planted value in
the report) and pass in the other three; here all 20 of T257zza-T257zzf's
ids and T257zk pass in all four (PF9-42/runs/c/base-e8dca97-four.out,
proof-T229t-four.out). Python 3.9 grammar and pyflakes are clean; git diff
--check is clean. T229t had 0 hits in every commit message of PF9-42's
clone (PF9-41's fetched branch included), lane 2's posts, PF9-31's
tasks-3f1f67fe.md, and issue 165's snapshots i165-p33, p33b and p33c
(PF9-42/scan/letters42-c.out).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the estates chain it, shows a tool's text in pytest's report

Lane 2's pre-review RV9-41 of P09 at 4895579, S1: no regression rendered
the fixtures' real failure path, where the error arrives chained, the
gap through which its B1 went unseen. The coordinator's 6949514036 asks
for chained-exception cases. T229t made the fix the new cases need under
pytest 8.3.4.

New ids, engine-free (no pg fixture; no engine, no process), no gate row:
test_a_chained_pgcluster_failure_shows_no_tool_text_in_pytests_report
with [started], [from-lanes-edit] and [from-git]. A failing tool's two
streams hold a planted value (subprocess.run a stand-in). [started]:
initdb fails in _started (sweep_stale and mkdtemp stand-ins), whose
pytest.fail(..., pytrace=False), raised in its except, carries the
ClusterError as its implicit __context__, which pytest prints.
[from-lanes-edit] and [from-git]: ImportedRegister._run_ok's and .git's
ClusterError wrapped as disaster :648-652 and drill :769-773 wrap it,
`raise AssertionError(...) from exc`. Each case checks that the chain is
there (__context__ or __cause__ is a ClusterError) and that pytest's
report renders it (the error's first words are in it: a pytrace=False
chain shows each error's text without its class), then that the planted
value is in neither the error's str, repr or args nor in the report,
rendered by PF9-41's _reported (the terminal's and JUnit's failure body,
then JUnit's message) under the suite's own style.

No old id, marker or gate row changes; the gate table is the parent's,
byte for byte.

Checked outside pytest (PF9-42/work/runreg2.py, four1.sh; process starts
refused, deletes stubbed; pytest's own Function.repr_failure on a
stand-in item; pytest 8.3.4 from the read-only cache and 9.1.1, each with
tbstyle auto and short; PF9-42/runs/c/proof-T257zzza-four-b.out and
-3c5b68bc-b.out): with 3c5b68b's pgcluster all three cases fail in all
four (the value in str, repr, args and report); with e8dca97's,
[from-lanes-edit] and [from-git] fail under 8.3.4 with auto (in the
report: the cause's _run_ok and git frames) and pass in the other three;
with T229t's all three pass in all four. An earlier draft asked the
report for the class name, which a pytrace=False chain does not print,
so [started] failed everywhere; this text asks for the error's own first
words instead. Bounds' static check at this head finds 0 places in its
files. Python 3.9 grammar and pyflakes are clean; git diff --check is
clean. T257zzza had 0 hits in every commit message of PF9-42's clone
(PF9-41's fetched branch included), lane 2's posts, PF9-31's
tasks-3f1f67fe.md, and issue 165's snapshots i165-p33, p33b and p33c
(PF9-42/scan/letters42-c.out).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ords are kept, and before its own raise

Lane 2's pre-review RV9-41 of P09 at 4895579, N1: when Cluster.psql
raised from make_logins (the pg_roles query after login add), the
make_logins frame still held `out`, login add's password-file lines with
their clear passwords, reachable through the ClusterError's traceback and
printed under --showlocals.

The fix is small and clean: after `self.passwords.update(...)` takes the
lines it needs, `del out, err`; and where login add itself failed, the
message is built, then `del out, err`, then the raise. The passwords stay
only in `self.passwords`, which passfile() needs and which Cluster's
default repr does not show. No message changes.

No id, marker or gate row changes; no caller is affected (the caller
scan of T229l-T229s found no reader of a frame's locals).

Checked outside pytest (PF9-42/work/probe-n1.py: process starts refused,
deletes stubbed and none recorded; login add a stand-in printing the
three fixture logins' lines with planted passwords; psql a stand-in that
exits 2): at T229t the ClusterError's traceback keeps the planted
password in `make_logins.out`; here no pgcluster frame keeps it, and it
is in the error's text at neither (PF9-42/runs/c/proof-T229u.out). All 23
of T257zza-T257zzf's, T257zzza's and T257zk's ids pass under pytest 8.3.4
and 9.1.1, each with tbstyle auto and short (proof-T229u-four.out).
Bounds' static check at this head finds 0 places in pgcluster. Python 3.9
grammar and pyflakes are clean; git diff --check is clean. T229u had 0
hits in every commit message of PF9-42's clone (PF9-41's fetched branch
included), lane 2's posts, PF9-31's tasks-3f1f67fe.md, and issue 165's
snapshots i165-p33, p33b and p33c (PF9-42/scan/letters42-c.out).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s severity follows the log's prefix, as T229l said

Lane 2's pre-review RV9-41 of P09 at 4895579, N3: _LOG_SEVERE was
`\b(?:ERROR|FATAL|PANIC):`, which matches anywhere in a line, so a logged
statement holding `ERROR:` and a statement's continuation line counted.
T229l's comment and message said "a severity word after the log's
prefix". This makes that true going forward; T229l is not amended.

The pattern: at the line's start, after the default log_line_prefix
`%m [%p] ` (three words of time, then the pid in brackets) where it is
there, ERROR, FATAL or PANIC, then `:` and two spaces, as the server
writes a severity. Its comment states the one case it still counts: a
continuation line of a logged statement that itself begins `ERROR:  `.
It is a count only; no line is shown, as before.

No id, marker or gate row changes. Its readers are log_tail() and
T257zza, whose planted lines carry the default prefix; its counts are
unchanged.

Checked outside pytest (PF9-42/work/probe-n3.py; process starts refused,
nothing deleted): a planted server.log of a statement holding `ERROR:`
and `FATAL:`, a one-space continuation line, a real ERROR, a real FATAL
and a LOG line: log_tail() counts 4 such lines at T229u and 2 here, the
true count (PF9-42/runs/c/proof-T229v.out). All 23 ids of T257zza-T257zzf,
T257zzza and T257zk pass under pytest 8.3.4 and 9.1.1, each with tbstyle
auto and short (proof-T229v-four.out). Python 3.9 grammar and pyflakes
are clean; git diff --check is clean. T229v had 0 hits in every commit
message of PF9-42's clone (PF9-41's fetched branch included), lane 2's
posts, PF9-31's tasks-3f1f67fe.md, and issue 165's snapshots i165-p33,
p33b and p33c (PF9-42/scan/letters42-c.out).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…contradicting its stated limit

Lane 2's pre-review RV9-41 of P09 at 4895579, N5: the comment said
absolutely "So no word of psql's message, five capitals such as SYNTH:,
nor a line after an ERROR: that ends its own, is shown as one", two
lines before T229r's limit, which says a word of five of [0-9A-Z] with a
digit can be. It now says "So no five-capital word, such as SYNTH:, nor
the head of a line after an ERROR: that ends its own, is shown as one",
which is what the digit rule and the one-line rule refuse, and the limit
follows unchanged. Comment lines only; no code changes.

No id, marker or gate row changes; no caller is affected.

Checked (PF9-42/runs/c/proof-T229w.out): the absolute sentence is in
T229v's file once and in this one not at all, and the diff changes
comment lines only. Python 3.9 grammar and pyflakes are clean; git diff
--check is clean. T229w had 0 hits in every commit message of PF9-42's
clone (PF9-41's fetched branch included), lane 2's posts, PF9-31's
tasks-3f1f67fe.md, and issue 165's snapshots i165-p33, p33b and p33c
(PF9-42/scan/letters42-c.out).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…an hold one, and say so

Lane 2's pre-review RV9-41 of P09 at 4895579, N2: T257zze drew its words
from the literal letters of its own source, and the long report prints
that source, so a draw of one of the literal's three five-letter windows
(about 1 in 5,600 runs) failed [five-capitals] with the word "in the
report"; its docstring and T257zze's message said no word of the report
could match.

The fix, in T257zze alone, no id changed: the seven letters are built
from their code points, so no run of them is in any source, and each
word is drawn again while this module's or pgcluster's source, either
file's path, or the working directory holds it: every source and path a
report prints. The docstring says so.

No old id, marker or gate row changes; the gate table is the parent's,
byte for byte.

Checked outside pytest (PF9-42/work/runreg4.py and four3.sh: process
starts refused, deletes stubbed; pytest's own Function.repr_failure on a
stand-in item; pytest 8.3.4 from the read-only cache and 9.1.1, each with
tbstyle auto and short), with the first os.urandom(5) forced to bytes
0-4, the window RV9-41 named: at T229w (this file's parent)
[five-capitals] fails under auto with 8.3.4 and 9.1.1 ("the planted word
shows in report") and passes under short
(PF9-42/runs/c/proof-N2-forced-parent.out); here it passes in all four;
unforced, all 23 ids of T257zza-T257zzf, T257zzza and T257zk pass in all
four (proof-T257zzzb.out). Bounds' static check at this head finds 0
places. Python 3.9 grammar and pyflakes are clean; git diff --check is
clean. T257zzzb had 0 hits in every commit message of PF9-42's clone
(PF9-41's fetched branch included), lane 2's posts, PF9-31's
tasks-3f1f67fe.md, and issue 165's snapshots i165-p33, p33b and p33c
(PF9-42/scan/letters42-c.out).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…its decorator two blank lines

Lane 2's pre-review RV9-41 of P09 at 4895579, N6, the bounds half:
T257zzb's [commit-id] called `getattr(register, "commit_of", None) or
(lambda ref: register.git("rev-parse", ref))`, a fallback that existed
only to make the parent red by "DID NOT RAISE" rather than by an
AttributeError, and is dead wherever commit_of exists (T229m on). It now
calls register.commit_of("origin/main"). And the case's
@pytest.mark.parametrize had one blank line before it, where the module
has two; it now has two.

No old id, marker or gate row changes; the gate table is the parent's,
byte for byte.

Checked outside pytest (PF9-42/work/probe-n6.py, runreg4.py, four3.sh;
PF9-42/runs/c/proof-T257zzzc.out): the fallback is present at the parent
and absent here, and the blank lines before the decorator are 1 there
and 2 here. With 3c5b68b's pgcluster, which has no commit_of, the case
is still red (an AttributeError); with this head's, all 23 ids of
T257zza-T257zzf, T257zzza and T257zk pass under pytest 8.3.4 and 9.1.1,
each with tbstyle auto and short. Bounds' static check at this head
finds 0 places. Python 3.9 grammar and pyflakes are clean; git diff
--check is clean. T257zzzc had 0 hits in every commit message of
PF9-42's clone (PF9-41's fetched branch included), lane 2's posts,
PF9-31's tasks-3f1f67fe.md, and issue 165's snapshots i165-p33, p33b and
p33c (PF9-42/scan/letters42-c.out).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… by their first part, and exempt _DATACL by name

Lane 2's pre-review RV9-42 of P09 at 857a41d,
S1. Parent: 857a41d.

The static check (`_raw_streams_in`) reads all of pgcluster.py since T257zz,
but saw no terminal reporter's write, which is pgcluster's one print path
to CI's terminal outside its raises (`pytest_terminal_summary`), and its
import rule held only for a whole unparsed name.

- `_REPORTER_WRITES` (`write_line`, `write_sep`, `line`, `write_raw`, of
  any object) and `.write` of a name of `_REPORTERS` (`terminalreporter`,
  `tr`, `reporter`) are sinks.
- `dotted` resolves a call's first dotted part: a name from-imported from
  a module of `_IMPORTED_FROM` (pytest, os, sys, warnings, logging,
  subprocess, textwrap) is that module's, so `stderr.write` after `from sys
  import stderr` is `sys.stderr.write`; a module imported under another
  name (`import pytest as pt`) is that module.
- A top-level name that a function gives a stream's text by `.append`,
  `.extend` or `.insert` is a stream in every function. So the check now
  follows psql's datacl answer from `new_database`'s `_DATACL.append(...)`
  to the foot line, and `_EXEMPT` names the one deliberate exception by
  file, function and name: pgcluster.py, `pytest_terminal_summary`,
  `_DATACL` (open point 12). With `_EXEMPT` emptied, the check names
  pgcluster.py:1886 (`p41/p_rv42-zzzd-exempt.out`).
- The comment on `_SINK_CALLS` states the import rule as it now is, and
  the `_DATACL` paragraph of the docstring gives the true reason (T257zzl
  said the line went unseen "through a list's item", but no reporter's
  write was a sink at all).
- `_PLANTED` gains 11 lines (9 planted, 2 clean: a file's `write`, fixed
  words to the terminal), and a second planted module, `_PLANTED_FOOT`,
  written as pgcluster.py, holds the exemption's case: `_DATACL` in
  `pytest_terminal_summary` clean, another list there and `_DATACL` in
  another function planted.

Proof, outside pytest, no process, nothing imported from the repo
(`p41/p_rv42.py`, `p41/p_rv42-zzzd-1.out`):
- red at the parent: its check names 53 of `_PLANTED`'s 62 planted lines
  and 0 of `_PLANTED_FOOT`'s 2, missing each new form;
- green here: 62 of 62 and 2 of 2, no clean line named, and 0 places over
  bounds, measure, managed and pgcluster.

Python 3.9 grammar, pyflakes and `git diff --check` clean; gate tables
equal; tests 48 -> 48, none renamed or removed (`p41/p_lint2_zzzd.out`).
T257zzzd had 0 hits in every source `p41/letters41.py` reads
(`p41/letters41-e.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nt a made process fabricated unless its exit is a returncode, and read "no exit" outside the helper

Lane 2's pre-review RV9-42 of P09 at 857a41d,
S2 and N2. Parent: 7c65172 (T257zzzd).

The exit rule of the static check (`_raw_streams_in`'s `exitless`):
- S2: a `_said_safely` call is gathered from every value a name the
  message formats is bound to by `=`, an annotated `=`, `+=` or `:=`
  (`told_in`), from name to name, every binding counted, in no order.
  Before, only a plain `=` of the call itself, and only its last binding,
  were read (`made_in`), so an annotated `=`, an f-string held in a name,
  a concatenation and a name later rebound passed. What those values show
  is the message's too, so `kept = f"exit {proc.returncode}: ..."` is
  evidence. `made_in` also reads an annotated `=` and `:=`.
- S2: a `CompletedProcess` made in the message, or in any value bound to
  the name given, is fabricated unless its exit is `<X>.returncode`, so
  `-1` (a UnaryOp) and `returncode=-9` count.
- N2: the words "no exit" count only outside a `_said_safely` call, so
  the helper's own `stream="no exit"` is not taken as the message's word.
- The docstring's THE EXIT paragraph and `_NO_EXIT`'s comment say so.
- `_PLANTED` gains RV9-42's D1, E1, E2, O1, N1 and N2 and its N2's K1 as
  7 planted lines, and 2 clean ones: a message built in a name that shows
  its stream's exit, and a `CompletedProcess` made with its process's
  `returncode`.

Proof, outside pytest, no process, nothing imported from the repo
(`p41/p_rv42.py`, `p41/p_rv42-zzze-2.out`):
- red at the parent: its check names 62 of `_PLANTED`'s 69 planted lines,
  missing exactly the 7 new ones;
- green here: 69 of 69 and `_PLANTED_FOOT`'s 2 of 2, no clean line named,
  and 0 places over bounds, measure, managed and pgcluster.
A first draft named the clean line `assert not shown, f"{shown}"`, since its
D1 plant reused the name `shown`; with no order read, that is the rule
working, and the plant's name is now `summed` (`p41/p_rv42-zzze-1.out`).

Python 3.9 grammar, pyflakes and `git diff --check` clean; gate tables
equal; tests 48 -> 48, none renamed or removed (`p41/p_lint2_zzze.out`).
T257zzze had 0 hits in every source `p41/letters41.py` reads
(`p41/letters41-e.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ole process

Lane 2's pre-review RV9-42 of P09 at 857a41d,
N1. Parent: 2f87195 (T257zzze).

The static check exempted a call of `_psql_failed`, `_counted` or
`log_tail` in a message with all its arguments. Now each argument is read
as the message is, but a whole process, whose exit and counts the maker
shows: `_psql_failed(proc.stderr, "db", proc)` and `log_tail(proc.stdout)`
are places, `_psql_failed(user, 'db', proc)`, `_counted(proc)` and
`held.log_tail()` are not. RV9-42's G3, a maker that returns its own text
parameter, still passes, since a maker's parameters are no streams to the
check; `_MESSAGE_MAKERS`' comment names that limit. Today's callers pass
role and database names (RV9-42) and processes.

Proof, outside pytest, no process, nothing imported from the repo
(`p41/p_rv42.py`, `p41/p_rv42-zzzf-1.out`):
- red at the parent: its check names 69 of `_PLANTED`'s 71 planted lines,
  missing the 2 new ones;
- green here: 71 of 71 and `_PLANTED_FOOT`'s 2 of 2, no clean line named,
  and 0 places over bounds, measure, managed and pgcluster.

Python 3.9 grammar, pyflakes and `git diff --check` clean; gate tables
equal; tests 48 -> 48, none renamed or removed (`p41/p_lint2_zzzf.out`).
T257zzzf had 0 hits in every source `p41/letters41.py` reads
(`p41/letters41-e.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tatic check's limits

Lane 2's pre-review RV9-42 of P09 at 857a41d,
N3. Parent: 210a0d3 (T257zzzf).

`_raw_streams_in`'s "What it cannot see" now names a parser but `int()`
and `float()` whose error quotes the text it was given, which every
traceback style prints: a dict's lookup by a stream's text as its key (its
KeyError), `list.index`, `datetime.fromisoformat`, `strptime` and
`ipaddress`'s parsers. RV9-42 found no live instance (measure's
`.index("--path")` quotes a constant). Docstring only.

Proof, outside pytest: the module's AST with every docstring blanked is
equal at the parent and here (`p41/p_zzzg-doconly.out`); the parent's file
names none of `list.index`, `fromisoformat`, `strptime`, `ipaddress`, and
this one names them (`p41/p_zzzg-names.out`). Python 3.9 grammar,
pyflakes and `git diff --check` clean; gate tables equal; tests 48 -> 48,
none renamed or removed; the check finds 0 (`p41/p_lint2_zzzg.out`).
T257zzzg had 0 hits in every source `p41/letters41.py` reads
(`p41/letters41-e.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s' frames hold the printed lines as their genuine argument

Lane 2's pre-review RV9-42 of P09 at 857a41d,
N6. Parent: d00c7a6 (T257zzzg).

T258w's `Managed.logins` docstring said "this frame ... holds no printed
password line", true of that frame only. It now says so: where `_passwords`
raises, its frame, `_passwords(text)`, and `passfiles(self, text, ...)`'s
hold the printed lines as their genuine argument `text`, which an explicit
`--tb=long`, `--fulltrace` or `--showlocals` prints on every pytest
version, and the suite's default, `--tb=short` (T205e), prints no frame's
arguments. Docstring only; an explicit override is outside the suite's
protection (the coordinator's ruling).

Proof, outside pytest: managed's AST with every docstring blanked is equal
at the parent and here (`p41/p_T258x-doconly.out`). Python 3.9 grammar,
pyflakes and `git diff --check` clean; gate tables equal; tests 32 -> 32,
none renamed or removed; the check finds 0 (`p41/p_lint2_T258x.out`).
T258x had 0 hits in every source `p41/letters41.py` reads
(`p41/letters41-b.out`), and none in this clone's commits or tree since
(`p41/p_T258x-recheck.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…k, as _short_only

Lane 2's pre-review RV9-42 of P09 at 857a41d,
N4. Parent: 4df592c (T258x).

T257zzi's override check (an explicit `--tb=long`, `--fulltrace` or
`--showlocals` fails at once, naming the run's style) lived inside
`_reported`; `_t257zza_seen` and `_t257zzb_seen`, PF9-42's helpers for its
20 pgcluster regressions, called `request.node.repr_failure` past it, so
under `-l` 16 of them failed with "<kind>: the planted value shows in
['report']", naming no override. The check is now its own helper,
`_short_only(request)`, and `_reported`, `_t257zza_seen` and
`_t257zzb_seen` each call it before they render a report. No assertion
of a regression is changed.

Proof, outside pytest, under 9.1.1 and 8.3.4, no process started
(`p41/p_rv42n4.py`, `p41/p_rv42n4.out`): PF9-42's 24 ids, each a plain
function with a stand-in item whose `repr_failure` is pytest's own.
- At the parent: at short 24 pass, at auto 24 pass; under
  `--showlocals`, 16 fail without naming the override, 3 fail naming it
  and 5 pass; under `--tb=long`, 21 pass and 3 fail naming it.
- Here: at short 24 pass, at auto 24 pass; under `--showlocals` and under
  `--tb=long`, 23 fail naming the override and 1 passes, T257zk, which
  renders no pytest report. Same on both versions.
(The probe's id list, the tests after line 5300 of bounds at 857a41d,
also holds 11 real-engine ids that need fixtures; they are not run.)

Python 3.9 grammar, pyflakes and `git diff --check` clean; gate tables
equal; tests 48 -> 48, none renamed or removed; the check finds 0
(`p41/p_lint2_zzzh.out`). T257zzzh had 0 hits in every source
`p41/letters41.py` reads (`p41/letters41-e.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lf, so a severed chain fails

Lane 2's targeted check RV9-43 of PF9-42's fixes at
94a40564 (`e8dca97d..94a40564`), NIT A. Parent:
78710f3 (T257zzzh).

`test_a_chained_pgcluster_failure_shows_no_tool_text_in_pytests_report`
checked the chain was rendered by `str(chained).split(":")[0] in said`.
Each case's message embeds `{exc}`, so the words were in the report with
the chain severed, and RV9-43 saw all three ids pass so. Now the report
must hold pytest's block for that very link ("During handling of the
above exception" for `[started]`'s `__context__`, "The above exception
was the direct cause" for the `__cause__` of `[from-lanes-edit]` and
`[from-git]`), and, before it, the chained error's own first line and,
for a cause, `<file>:<line>: ` of the last entry of the chained error's
own traceback, which short and long entries both print. The
`isinstance` check is kept. No id changes.

Proof, outside pytest, under 9.1.1 and 8.3.4 (`p41/p_chainA.py`): the
three ids as plain functions with a stand-in item whose `repr_failure`
is pytest's own, at short and auto, with the chain intact and with it
severed just before the report is rendered (`__cause__` and
`__context__` None, `__suppress_context__` True).
- At the parent (`p41/p_chainA.out`): all 12 runs pass on each version,
  the severed ones included.
- Here (`p41/p_chainA-2.out`): intact, all 6 pass; severed, all 6 fail,
  "pytest's report renders no chained error", on each version.
A first draft looked for `<file>:<line>: in <function>`, the short form
only, and failed the intact `from-*` ids at auto (`p41/p_chainA.out`).

Python 3.9 grammar, pyflakes and `git diff --check` clean; gate tables
equal; tests 48 -> 48, none renamed or removed; the check finds 0
(`p41/p_lint2_zzzi.out`). T257zzzi had 0 hits in every source
`p41/letters41.py` reads (`p41/letters41-e.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a tool's planted text

Lane 2's targeted check RV9-43 of PF9-42's fixes at 94a40564, NIT B
(T229t, T229u). Parent: c16cebf
(T257zzzi).

Nothing guarded T229t (`ImportedRegister._run_ok` and `.git` drop their
run, `del proc`, before they raise) or T229u (`Cluster.make_logins` drops
`login add`'s `out` and `err`) apart from the traceback style: under the
suite's short style, T257zzza's `[from-lanes-edit]`/`[from-git]` and
T257zzb's `[lanes-edit]`/`[git]` pass with T229t undone, and T229u had no
committed regression. The new case,
`test_a_failed_tools_raising_frame_in_pgcluster_keeps_no_text_of_its_run`
with ids `[run-ok]`, `[git]` and `[make-logins]`, makes each fail with a
planted value on both of its tool's streams (subprocess.run a stand-in;
for `make_logins`, `lanes_index_tty` and `admin_service`), walks the
`ClusterError`'s traceback, and asserts that the raising function is on
it and that no local of any frame of pgcluster's holds the planted value,
which no traceback style decides. No engine, no process, no skip.

Proof, outside pytest, under 9.1.1 and 8.3.4, no process started
(`p41/p_frameB.py`, `p41/p_frameB.out`), the case taken from this
commit's bounds, pgcluster from either tree:
- with e8dca97's pgcluster (before T229t
  and T229u): all 3 fail, naming `_run_ok.proc`, `git.proc`, and
  `make_logins.out` and `make_logins.err`;
- with this tree's pgcluster: all 3 pass.

Python 3.9 grammar, pyflakes and `git diff --check` clean; gate tables
equal; tests 48 -> 49, the one added this one, none renamed or removed;
3 new ids; the check finds 0 (`p41/p_lint2_zzzj.out`). T257zzzj had 0 hits
in every source `p41/letters41.py` reads (`p41/letters41-e.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d's '%p ' prefix too

Lane 2's targeted check RV9-43 of PF9-42's fixes at 94a40564, NIT C
(T229v). Parent: 21b75ad (T257zzzj).

T229v anchored `_LOG_SEVERE` at the line's start, after the default
`log_line_prefix`, `%m [%p] `, where it is there. Managed sets
`log_line_prefix = '%p '` on its clusters (test_sql_register_managed.py
:576), and on such a log `1234 ERROR:  ...` was not counted, so
`Cluster.log_tail`'s count of severe lines was short, where T229v's
message says it gives the true count. The optional prefix is now either
form: `^(?:\S+ \S+ \S+ \[\d+\] |\d+ )?(?:ERROR|FATAL|PANIC):  `. Its
comment names both forms. It is a count in a failure message only: no
line of the log is shown, before or after.

Proof, outside pytest (`p41/p_logC.py`, `p41/p_logC.out`): each
pgcluster's `_LOG_SEVERE`, taken by AST, over a 7-line synthetic log, 4
of them truly severe (ERROR, FATAL, PANIC and a verbose `ERROR:  42601:`;
a logged statement holding `ERROR:  `, a `STATEMENT:` echo and a
connection line are not), under no prefix, the default and `%p `:
- at the parent: 4 of 4, 4 of 4, and 0 of 4 under `%p `;
- here: 4 of 4 under each.
A regression in bounds follows (T257zzzk).

Python 3.9 grammar, pyflakes and `git diff --check` clean; the module's
AST is equal at the parent and here but `_LOG_SEVERE` (comments aside);
bounds' check finds 0 over the four modules (`p41/p_lint_T229x.out`).
pgcluster.py is the frozen foundation's (`v13_shadow.P01_FILES`), changed
here at the coordinator's direction; its blob before is
8cabd16. T229x had 0 hits in every
source `p41/letters41.py` reads (`p41/letters41-f.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ault and managed's '%p '

Lane 2's targeted check RV9-43 of PF9-42's fixes at 94a40564, NIT C
(T229v, T229x). Parent: 4e436d7 (T229x).

The new case,
`test_a_server_logs_severe_lines_are_counted_under_each_prefix_the_fixture_uses`
with ids `[none]`, `[default]` and `[pid]`, writes a 7-line server log
under each `log_line_prefix` the fixture's clusters write (none, the
default `%m [%p] `, and `%p `, which managed sets), 4 lines truly at
ERROR, FATAL or PANIC, and checks `Cluster.log_tail`'s whole text: 7
lines, 4 severe, no line shown, and the planted value, in a logged
statement and in a `STATEMENT:` echo of a role's password, not in it.
No engine, no process, no skip.

Proof, outside pytest, no process started (`p41/p_logK.py`,
`p41/p_logK.out`), the case taken from this commit's bounds:
- with T229x's parent's pgcluster (21b75ad):
  `[none]` and `[default]` pass, `[pid]` fails, "0 of them ERROR, FATAL
  or PANIC lines";
- with this tree's pgcluster: all 3 pass.

Python 3.9 grammar, pyflakes and `git diff --check` clean; gate tables
equal; tests 49 -> 50, the one added this one, none renamed or removed;
3 new ids; the check finds 0 (`p41/p_lint2_zzzk.out`). T257zzzk had 0
hits in every source `p41/letters41.py` reads (`p41/letters41-e.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l after it raises

Lane 2's targeted check RV9-44 of P09 at 3faf945, S-1. Parent:
3faf945 (T257zzzk).

T257zzzj's `[make-logins]` had `login add` exit 1, so it walked only the
raise inside the failed branch (pgcluster :781). T229u's other `del out,
err` (:786), after a successful `login add`, keeps the printed password
lines out of the frame that the later `psql` and `missing` raises unwind,
and could be reverted with all 3 ids green. A fourth id,
`[make-logins-then-psql]`, has `login add` exit 0, printing the planted
value, and the psql that follows in `make_logins` raise (a stand-in on
the instance), and walks the same frames. T257zzzj's message said that
before T229u `make_logins` kept `out` and `err`; that was true of :781
only, and this id now guards :786. The 3 existing ids are unchanged.

Proof, outside pytest, under 9.1.1 and 8.3.4, no process started
(`p41/p_frameS1.py`, `p41/p_frameS1.out`), the case from this commit's
bounds:
- with this tree's pgcluster but :786's `del out, err` (and its comment)
  removed (`p41/rev/pg-no786/pgcluster.py`): `[run-ok]`, `[git]` and
  `[make-logins]` pass, `[make-logins-then-psql]` fails, naming
  `make_logins.out` and `make_logins.err`;
- with this tree's pgcluster: all 4 pass.

Python 3.9 grammar, pyflakes and `git diff --check` clean; gate tables
equal; tests 50 -> 50, none renamed or removed; one id added; the check
finds 0 (`p41/p_lint2_zzzl.out`). T257zzzl had 0 hits in every source
`p41/letters41.py` reads (`p41/letters41-g.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…write sinks of the static check

Lane 2's targeted check RV9-44 of P09 at 3faf945, N-2. Parent:
4c63736 (T257zzzl).

The static check's reporter sinks were four methods of any object and
`.write` of `terminalreporter`, `tr` or `reporter`. Now also sinks:
`.section` and `.rewrite` of any object (`_REPORTER_WRITES`), and `.write`
of a name `tw` or `_tw` (`_REPORTERS`), of an attribute `_tw`
(`terminalreporter._tw.write`), and of a call's result
`get_terminal_writer()` (`config.get_terminal_writer().write`). None is
live. `_PLANTED` gains RV9-44's M1, M2, M3 and M8 and `rewrite` as 5
planted lines, and fixed words written by `_tw.write` as a clean one.

Proof, outside pytest, no process, nothing imported from the repo
(`p41/p_rv42.py`, `p41/p_rv42-zzzm-1.out`):
- red at the parent: its check names 71 of `_PLANTED`'s 76 planted lines,
  missing exactly the 5 new ones;
- green here: 76 of 76 and `_PLANTED_FOOT`'s 2 of 2, no clean line named,
  and 0 places over bounds, measure, managed and pgcluster.

Python 3.9 grammar, pyflakes and `git diff --check` clean; gate tables
equal; tests 50 -> 50, none renamed or removed (`p41/p_lint2_zzzm.out`).
T257zzzm had 0 hits in every source `p41/letters41.py` reads
(`p41/letters41-g.out`).

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s one-binding evidence as limits

Lane 2's targeted check RV9-44 of P09 at 3faf945, N-1 and N-3. Parent:
7330ce8 (T257zzzm).

- N-1: `_EXEMPT`'s comment and the docstring's `_DATACL` paragraph now say
  that it exempts every use of `_DATACL` in `pytest_terminal_summary` (a
  second write, a loop over it, a name bound from it, a function nested
  in it), not the one foot line, in any module whose file is named
  pgcluster.py, and that the foot line is its one use there today. The
  docstring said "no stream in that one function", which was true but
  did not say the breadth.
- N-3: "What it cannot see" now names a name bound more than once, whose
  every binding is read as one and whose exit evidence in any binding
  counts for all, since neither the order of statements nor a branch is
  read (RV9-44's O1: `shown = _said_safely(copied)`, then `if flag: shown
  = f"exit {proc.returncode}"`). No live site.
Comments and docstring only.

Proof, outside pytest: bounds' AST with every docstring blanked is equal
at the parent and here (`p41/p_zzzn-doconly.out`; comments are not in
the AST). Python 3.9 grammar, pyflakes and `git diff --check` clean;
gate tables equal; tests 50 -> 50, none renamed or removed; the check
finds 0 (`p41/p_lint2_zzzn.out`). T257zzzn had 0 hits in every source
`p41/letters41.py` reads (`p41/letters41-g.out`).

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

Copy link
Copy Markdown

@mergify mergify Bot closed this Nov 20, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/a552fd383a branch November 20, 2026 21:24
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