Skip to content

fix(ci): include active facts migration in PostgreSQL conformance - #194531

Merged
steipete merged 1 commit into
mainfrom
loop/l389-sqlite-conformance-fk
Nov 7, 2026
Merged

steipete merged 1 commit into
mainfrom
loop/l389-sqlite-conformance-fk

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Related: #193682.

What Problem This Solves

The PostgreSQL conformance runner omits the new agent41 migration suite, failing the inventory completeness check on main.

User Impact

No runtime behavior changes. The existing migration test now participates in PostgreSQL conformance shards.

Why This Change Was Made

Register the suite introduced by b6ed907 in the existing target owner. This is the complete one-line fix; no new tests, allocations, or timing changes are needed.

Evidence

  • Reproduced test/scripts/database-conformance.test.ts on main 7a16dd8: it reports exactly the omitted migration suite. Matches scheduled main failure.
  • After the fix: all 8 conformance-runner tests pass (1.55 s file wall time); all 4 shard-planner tests pass (0.15 s). Focused source typecheck, touched-file type-aware lint, formatting, and git diff --check pass.
  • Autoreview (Codex, P0–P2) reviewed the one-line local diff against 7a16dd8 with runner and migration-test context: scoped-clean, no findings. Simplification retained the existing target owner and added one line; test delta is zero.
  • Broad tooling types and live PostgreSQL execution are left to PR CI; no workflow dispatch or rerun was requested.

Register the schema-41 PostgreSQL migration test added by #193682 so the existing completeness guard and conformance shards cover it.

Co-authored-by: steipete <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Nov 7, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 7, 2026
@clawsweeper

clawsweeper Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR registers the active event facts migration suite in the shared PostgreSQL conformance target list.

Example: PostgreSQL conformance selects the agent schema 40-to-41 migration tests.

  • Before: openclaw-agent-active-event-facts-migration.postgres.test.ts is omitted, and the inventory completeness assertion fails.
  • After: The suite is included in the inventory and assigned to a conformance shard.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is minimal and source-verified; reported focused checks support it, while PostgreSQL execution remains pending.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored CI repair is outside the contributor proof gate; focused runner results are recorded, and live PostgreSQL CI remains pending.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Maintainers encounter a failing conformance inventory guard while the new PostgreSQL migration suite is excluded from scheduled shard execution.
Reason: The maintainer-authored PR restores an established CI contract with one inventory entry and no runtime behavior change.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it repairs a verified omission in the existing PostgreSQL inventory with the smallest complete change; no actionable code findings.

Priority: P2
Reviewed head: 89e2da2980dd8e86748cc1de14f4f97b8f9dbc0f

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Completed PostgreSQL shard execution is not yet available; the PR reports focused base-failing and head-passing inventory proof.
Agent review details

How this fits together

The shared target inventory supplies test selection to the PostgreSQL runner and ownership information to CI admission; the runner partitions selected suites across existing shards.

flowchart LR
  A[Changed paths] --> B[CI admission]
  C[Shared target inventory] --> B
  C --> D[Conformance runner]
  D --> E[Shard planner]
  E --> F[PostgreSQL test suites]
Loading

Technical review

Best possible solution:

Register the omitted suite in the existing shared inventory, retaining the current completeness guard and shard planner.

Do we have a high-confidence way to reproduce the issue?

The existing completeness assertion necessarily rejects the migration suite omitted from fetched main; the PR also records a matching base failure and passing focused checks after registration.

Is this the best way to solve the issue?

This is the smallest complete fix: it restores inventory completeness through the existing owner without new machinery, duplicated policy, or additional tests.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against d74bcf8aa6d0.

Provenance checked

  • Shared PostgreSQL conformance target inventory keeps the original intent (0947d02: Unify runner targets and CI admission while preserving inventory ordering and deletion-aware ownership.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit 0947d02 adds scripts/lib/postgres-conformance-shards.mts:58 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 0947d02be82f; files: scripts/lib/postgres-conformance-shards.mts)
  • Peter Steinberger: Raw commit 54db475 adds scripts/lib/postgres-conformance-shards.mts:13 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 54db47573b45; files: scripts/lib/postgres-conformance-shards.mts)

PR surface

Other +1. Total +1 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 0 +1
Total 1 1 0 +1

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: Repairs a concrete CI inventory failure and missing PostgreSQL migration coverage without changing product runtime behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Repairs a concrete CI inventory failure and missing PostgreSQL migration coverage without changing product runtime behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 7, 2026, 2:33 AM ET / 07:33 UTC.

@steipete
steipete merged commit 5ea0524 into main Nov 7, 2026
122 checks passed
@steipete
steipete deleted the loop/l389-sqlite-conformance-fk branch November 7, 2026 08:21
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 8, 2026
…enclaw#194531)

Register the schema-41 PostgreSQL migration test added by openclaw#193682 so the existing completeness guard and conformance shards cover it.

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: steipete <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants