Skip to content

fix(ci): register missing PostgreSQL conformance suites - #198118

Closed
roboclaw-bot wants to merge 1 commit into
mainfrom
roboclaw/main-ci-pg-inventory
Closed

roboclaw-bot wants to merge 1 commit into
mainfrom
roboclaw/main-ci-pg-inventory

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

checks-node-compact-small-31 fails on main (run https://github.com/openclaw/openclaw/actions/runs/43365616669, job 131689709949): the PostgreSQL completeness guard finds two suites missing from scripts/lib/postgres-conformance-shards.mts: session-history-read-snapshot.postgres.test.ts (#195369, 3ea0883077) and manager-embedding-cache-retire.postgres.test.ts (#190001, 5aca89e8f3).

User Impact

None at runtime. Both suites now run in the PostgreSQL conformance lane, and the guard goes green again.

Why This Change Was Made

Register exactly the two missing suites next to their siblings, the same shape as 5cbed85ff9. The completeness guard is unchanged.

Evidence

  • Conformance listing selects all 94 tracked suites; shard partition checks pass.
  • Independent Codex autoreview (P0–P2) clean.
  • Named Vitest check not run on this host (no qualified dependency install); PR CI is the proof.

Worked on by

Work sessions

Linked for team reference; these sessions aren’t public.

Add session history read snapshots and memory embedding cache retirement
beside their existing conformance groups, preserving the completeness guard.

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

clawsweeper Bot commented Nov 13, 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 13, 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 13, 2026
@clawsweeper

clawsweeper Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR registers the session-history snapshot and memory embedding-cache retirement suites in the PostgreSQL conformance inventory.

Example: CI checks coverage of src/config/sessions/session-history-read-snapshot.postgres.test.ts.

  • Before: The suite exists but is absent from the runner inventory, so the completeness guard rejects it.
  • After: The suite is selected through the existing inventory and participates in conformance sharding.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A minimal, source-supported repair with no code findings; execution confidence remains limited by unfinished CI and unavailable detailed logs.
Proof confidence 🦐 gold shrimp (3/6) This CI inventory repair changes no user-visible runtime behavior; the existing completeness and partition tests cover its contract, while hosted conformance results remain 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: CI rejects the incomplete PostgreSQL inventory, and the conformance runner omits two intended suites.
Reason: This maintainer-authored repair restores an existing coverage contract with two inventory entries and no runtime change.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR repairs a verified omission in the shared PostgreSQL test inventory, and current main still lacks both registrations. No introduced code defect was found; hosted validation remains pending.

Priority: P2
Reviewed head: 0427c8142a83656810ec4ca6ecdae2b368d0a6c4

Before merge

None.

Findings

None.

Agent review details

How this fits together

The shared inventory supplies test ownership to CI admission and execution targets to the PostgreSQL runner, which partitions them into conformance shards.

flowchart TD
  A[Changed paths] --> B[CI manifest]
  C[Shared PostgreSQL inventory] --> B
  C --> D[Conformance runner]
  D --> E[Shard planner]
  E --> F[PostgreSQL suites]
  G[Completeness guard] --> D
Loading

Technical review

Best possible solution:

Retain the two registrations in the existing shared inventory and complete the normal CI gates.

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

The existing guard independently discovers both suites, while main's explicit inventory omits them, establishing the failing path from source without executing tests.

Is this the best way to solve the issue?

The two registrations are the smallest complete fix: they restore inventory completeness through the existing owner without weakening the guard or adding machinery.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Shared PostgreSQL conformance inventory keeps the original intent (0947d02: Share one ordered inventory between CI admission and execution while retaining filesystem discovery in the runner.)

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit 0947d02 adds scripts/lib/postgres-conformance-shards.mts:59 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:1 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 +2. Total +2 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 2 0 +2
Total 1 2 0 +2

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:

No label changes.

Label justifications:

  • P2: Repairs CI completeness and PostgreSQL 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 13, 2026, 12:38 AM ET / 05:38 UTC.

@vincentkoc vincentkoc self-assigned this Nov 13, 2026
roboclaw-bot added a commit that referenced this pull request Nov 13, 2026
Register both Gateway PostgreSQL ownership suites introduced by #196237 in the existing conformance inventory. Preserve the completeness guard and the separate snapshot/cache registration repair in #198118.

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

Copy link
Copy Markdown
Member

Superseded by #198390, merged as 63d9e57. The conformance runner now discovers PostgreSQL suites automatically, so these manual registrations are no longer needed. The newer Gateway ownership pair is covered too.

Verified on main e6c7c5e through the actual CLI: all 96 tracked PostgreSQL suites are covered across 191 targets, including the four previously omitted suites. Three- and six-shard layouts have no gaps or overlaps; explicit target overrides remain intact. Canonical PR CI passed all three PostgreSQL shards, PG16 smoke, and the CI gate: https://github.com/openclaw/openclaw/actions/runs/43474454399 . No local database execution is claimed.

Closing this older inventory-only PR as superseded. Contributor credit for @obviyus and @steipete is retained in the merged fix. No branch deletion.

@vincentkoc vincentkoc closed this Nov 13, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 14, 2026
…98325)

Register both Gateway PostgreSQL ownership suites introduced by openclaw#196237 in the existing conformance inventory. Preserve the completeness guard and the separate snapshot/cache registration repair in openclaw#198118.

Co-authored-by: obviyus <[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