Skip to content

007 S007-01+04: The real-engine fixture and plugin, the test helpers, the stub lanes-index and the landing gate, and CI requiring the real engine (7 tasks; part of opensoft/openRepoTools#165) - #88

Merged
brettheap merged 1 commit into
mainfrom
007-p01-real-engine-fixture-and-gate-2
Nov 15, 2026
Merged

brettheap merged 1 commit into
mainfrom
007-p01-real-engine-fixture-and-gate-2

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

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

Pull request P01 of feature 007's task sets, version 12f: lane 2's
sets S007-01 and S007-04 in one commit, a control PR outside the code
queue (rule 9). It is cut from lane 1's line R at merge153
68b581c onto its base, code main
c9c65cc, which line R takes as
merge154. Its 25 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. No plain commit of landing note 15 falls
in these sets, no line R commit holds their code by hunk, and the PR
holds no module that needs a gate table (rule 11). Lane 2's merges on
its E and FX lines are not picked: T201b
59384bc, T206b
34454cc, line H's two merges,
963d324 and
ca6633d, and FX's merge of T205d,
ea7bd45. FX's commits of T227 and
T228, T228b among them (S007-05), and of T229 (S007-13) are not in
this commit. The full shas are pointers into lane 1's share.

007 S007-01: The real-engine fixture and switch's plugin, the test helpers, the contract's stub lanes-index, and the landing gate (T200, T205, T203, T207, T280; part of opensoft/openRepoTools#165)

007 S007-04: CI requires the real engine: OPENREPOTOOLS_REQUIRE_PG: '1' in tests.yml's workflow env:, with its test (T201, T206; part of opensoft/openRepoTools#165)

🤖 Generated with Claude Code

… the stub `lanes-index` and the landing gate, and CI requiring the real engine (7 tasks; part of opensoft/openRepoTools#165)

Pull request P01 of feature 007's task sets, version 12f: lane 2's
sets S007-01 and S007-04 in one commit, a control PR outside the code
queue (rule 9). It is cut from lane 1's line R at merge153
68b581c onto its base, code main
c9c65cc, which line R takes as
merge154. Its 25 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. No plain commit of landing note 15 falls
in these sets, no line R commit holds their code by hunk, and the PR
holds no module that needs a gate table (rule 11). Lane 2's merges on
its E and FX lines are not picked: T201b
59384bc, T206b
34454cc, line H's two merges,
963d324 and
ca6633d, and FX's merge of T205d,
ea7bd45. FX's commits of T227 and
T228, T228b among them (S007-05), and of T229 (S007-13) are not in
this commit. The full shas are pointers into lane 1's share.

007 S007-01: The real-engine fixture and switch's plugin, the test helpers, the contract's stub `lanes-index`, and the landing gate (T200, T205, T203, T207, T280; part of opensoft/openRepoTools#165)
- T200, lane 2's, whole: 0bdb856,
  line R's merge107 4cb8eea.
- T205, lane 2's, whole: e850859,
  line R's merge107.
- T280, lane 2's, whole, in line R's merge107: T280
  f97d07b, T280b
  ee22c3f, T280c
  6309773, T280d
  854defd, T280e
  d166a90, T280f
  321d7d1 (TASK_IDS re-keyed to
  tasks.md's 158 task lines at spec commit 17) and T280g
  d58f3b8.
- T203 and T207, lane 2's, whole, in line R's merge108
  9a2fdfe: T203
  0dc0b41, T207
  6992646 and
  43b48d9, T207c
  cda4dbb, T203b
  e8366b3 and T203c
  1e073fc.
- T205b, lane 2's, whole: a66f5e3,
  line R's merge108.
- T203d, lane 2's, whole: c4ca0ab,
  line R's merge111 813795b.
- T280h and T280i, lane 2's, whole: T280h
  2289d88 and T280i
  d974da2, line R's merge138
  3954d9c.
- T205c, lane 2's, whole: 9326053,
  line R's merge139 618b8ac. Its test
  hunk is in T200's tests/test_sql_register_fixture.py, in this set. Its
  pick conflicts in one hunk, at the end of that module: T205c appends
  its 62 lines after T229's cases, which this commit does not hold. The
  hunk is resolved as this commit's text plus T205c's own 62 lines,
  which line R's blob holds in one run.
- T205d, lane 2's, whole: 467959e,
  line R's merge146 941ffae. It adds
  the fixture module's `import pytest`, which T205c's cases need, so
  the module collects without T229b (lane 3's ruling 1,
  opensoft/openRepoTools#165 6885378657). The module then equals line
  R's blob `9d6d4e089e305ee692f342f55c9797a830a41580`, as merges 144 to
  146 hold it, less T229b's, T229c's and T229e's lines, but for the two
  T229b also adds, `import pytest` and its blank line.
- Markers: tests/sql_register_landed/T200, T205, T203, T207 and T280.

007 S007-04: CI requires the real engine: `OPENREPOTOOLS_REQUIRE_PG: '1'` in tests.yml's workflow `env:`, with its test (T201, T206; part of opensoft/openRepoTools#165)
- T201, lane 2's, whole: 627bc80,
  line R's merge107. Its pick conflicts in one hunk, at the end of
  tests/test_tests_workflow.py: code main's WHEEL_TWICE loop, 6 lines,
  against T201's 54. It is resolved as a union, main's lines first and
  T201's after, as lane 2's T201b and T206b resolved it; the module then
  equals line R's blob 6384c6c.
- T206, lane 2's, whole: d07732b,
  line R's merge107.
- T206c, lane 2's, whole: f060619,
  line R's merge108.
- T201c, lane 2's, whole: 7bcb419,
  line R's merge147 a7945c9. T201's
  oracle reads the `ci_shards.py run` and `verify` steps as suite
  steps, and a new case gives each of the four shard and aggregate
  jobs a job-level OPENREPOTOOLS_REQUIRE_PG of '0' and requires the
  oracle to fail it (Codex's SHOULD 4, opensoft/openRepoTools#165
  6882190927; lane 2, opensoft/openRepoTools#165 6885734771).
  tests/test_tests_workflow.py then equals line R's blob
  27bdb58.
- Coverage review of the baseline edit (batching-pilot.md:17-18):
  .github/ci/full-ci-baseline.json's `environment` gains
  "OPENREPOTOOLS_REQUIRE_PG": "1", the value tests.yml's workflow `env:`
  now sets, and `amendments` gains one environment-only entry in the
  form of the one before it. `job_sha256` and `expanded_jobs` are
  unchanged: no job, event or test selection changes, and a run without
  PostgreSQL 16 fails where it would have skipped its real-engine tests.
- Markers: tests/sql_register_landed/T201 and T206.

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

sourcery-ai Bot commented Nov 15, 2026

Copy link
Copy Markdown

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

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

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

  • The reviewer: Claude Opus 5.5 (claude-opus-5-5), an independent exact-head review made in place of Codex, under Brett Heap's waiver of 2026-11-15T11:48:56Z ("Waive Codex, use Opus reviews"), quoted in Amendment 22 act 2: the SQL register under lanes-edit.sh — mode=primary writers in one transaction each, the estate switch and lanes/STORE, the write journal and the renderer (one mirror commit per write), exit 69, fail-closed readers, lanes-index import/rollback, SERIALIZABLE claim order, and the agreement tests openRepoTools#165 comment 6893886125. This is a Claude review, not a Codex local-review receipt. The receipt contract accepts only a codex-local reviewer, so this review is recorded here instead.
  • What was reviewed: head 7f1141be15ac9c0d20c25c802ba9533c2fec811c, against the recorded base c9c65cc14695732c9badf9f1f7cac795f661d524.
  • The verdict: READY. It has no BLOCKING finding.
    • SHOULD: nothing in this tree, and no CI run of it, starts a real PostgreSQL cluster (tests/pgcluster.py:396–477 and :559–589). Hosted CI shows only that PostgreSQL 16 is found on the runner.
      • The fix needs no new head: run fast-verify call 2 (python3 -I -B tests/pgcluster.py --smoke session stoppable) once on CI at this tree, on a verify/ branch, and record the run.
      • Nothing on main asks for a cluster until P02's gated tests.
    • NIT: tests/conftest.py:702's new-style hook wrapper needs pluggy 1.1 or later, and pyproject.toml names no floor. CI pins pytest 8.3.4, so CI is unaffected, and T281 removes the hook.
  • What was checked:
    • identity, and scope: exactly the seven tasks' files: and the seven empty markers;
    • every claim in the message and the body;
    • a replay of the 25 picks with the two resolutions it describes, which gives the head's tree less the markers;
    • the six job hashes and the baseline edit, recomputed;
    • local runs of the PR's modules: 10, 4, 11, 55 and 253 passed, with 18 skipped for the standalone roots;
    • hosted CI at the head: the four gates green, 5391 passed, 173 skipped, 0 failed.
  • The tree that lands:
    • The merge onto main 0119ab0b (tree 0d8a2753) passed the interacting suites locally: 571 passed, 18 skipped, 0 failed.
    • The merge onto today's main 45a12a61 (code#99) is clean, as tree cf57119f with the PR's own patch-id. A static read of code#99's changes found no interaction.
    • Lane 3 is running full CI on that merge commit before it lands (verify/l3/p01-on-45a12a61, run 43718145060).
  • The report: lane 3's codex-review-prompts-20261113e/reports/opus-code-88-7f1141be15ac.md, sha256 ff63b8cb3a1b778ab91a75d1c1bbf2bdceb269424d7732756dbbae4ac724ab3f.
  • Lane 3 accepts this review for this exact head. P01 lands by merge commit at exactly 7f1141be, as the v1.3 shadow profile's pin and the stacked PRs need.

@brettheap
brettheap merged commit f3576b9 into main Nov 15, 2026
42 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane openRepoTools-1: the CI run of P01's smoke, for the SHOULD in lane 3's review record above (comment 6894902351) and the coordinator's ask (opensoft/openRepoTools#165 comment 6895004104).

  • The run: https://github.com/opensoft/openRepoTools-code/actions/runs/43722592020 (verify, success, 2026-11-15 14:07Z). Its branch is verify/l1/P01-smoke-7f1141be, at commit 8d3b3528b6cc19934cdeac19cbba921075b3bbc0.
  • What it ran:
    • The commit's parent is this PR's head, 7f1141be15ac9c0d20c25c802ba9533c2fec811c. Its tree is that head's tree plus one file, tests/test_l1_smoke_receipt.py. Every file of this PR is byte-identical.
    • The file's one test runs python3 -I -B tests/pgcluster.py --smoke session stoppable unchanged, under Verify-Postgres: 1. It prints the smoke's own lines to the log, and never skips.
  • The log, verbatim:
    server_version 16.15 (Ubuntu 16.15-1.pgdg24.04+2)
    $ python3 -I -B tests/pgcluster.py --smoke session stoppable
    the smoke exited 0
    pgcluster: real PostgreSQL 16 at /usr/lib/postgresql/16/bin (PG_BIN)
    pgcluster: smoke session: ok: t_1 cloned from the empty tmpl in /tmp/orpg-kw_r82vi, and SELECT 1 answered 1; started in 0.37 s
    pgcluster: smoke stoppable: ok: postmaster 2824 stopped by SIGINT, 2835 started again on /tmp/orpg-6dbwv8j1, and SELECT 1 answered 1
    1 passed, 5564 deselected in 8.40s
    
  • What this changes: nothing in this PR. Its head and branch are unchanged, and the verify commit lands nothing and opens no PR.

Lane: openRepoTools-1

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