Skip to content

Rejection checks wait for the vector they retire - #1105

Open
zlareb1 wants to merge 11 commits into
mainfrom
fix/pg-reject-vector-precondition
Open

zlareb1 wants to merge 11 commits into
mainfrom
fix/pg-reject-vector-precondition

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry

The memory rejection integration check waits for the initial vector to be published before checking that rejection copies it.

Why

A new memory.set can answer at its Postgres commit before its vector reaches ClickHouse. The reject check requires an existing vector to copy, so it observes active status at the initial authoritative version before rejecting the memory. Its final rejected status and version assertions remain unchanged.

Scope and risk

The rejection fixture changes its integration setup and adds a unit regression that calls the actual integration function. Two additional files compose the reviewed catalog-copy send diagnostics and their controls. The regression controls initial publication with events and covers both pending and already published vectors. Production behavior is unchanged. The catalog-copy observer records only a fixed exception category, bounded numeric code and the already available stored-column count and fingerprint. It adds no query, retry or worker attempt, and preserves original arguments, exception identity, assertions and deadlines. The observed catalog fence refusal still has an unproven cause; these diagnostics do not repair it.

The scanner action pin is inherited from current main at version 1.2.817. The fixture behavior is retained; three comments explain why the diagnostics catch every exception.

Compatibility, rollout and rollback

  • Wire: none.
  • Operator steps: none.
  • Rollback: reverting changes only test behavior.

Prior-source qualification

This composition includes the complete reviewed test prerequisites on current main. The original fixture behavior is preserved; entries supplied identically by main remain inherited support. No previous CI result or review verdict qualifies this head.

Thirteen diagnostic controls and two actual-coroutine setup controls retain the original rejection assertions and deadlines. The initial authoritative vector is observed before rejection. The earlier scoped commands and outcomes remain bound to their recorded heads on unchanged corresponding source. Full hosted CI and a new independent whole review remain required.

Earlier hosted catalog-copy and publication-order failures remain recorded with unproven causes. The setup control establishes a test prerequisite rather than a unique explanation of those failures. No live provider, benchmark, runtime or CI retry was run.

Tests

This composition includes main's grep response fixture and private retirement clock controls. The committed tree preserves every prior concern entry outside those three main paths, with its exact blob and mode. The three main entries match main exactly.

Current local checks pass for the retirement clock's blocked-wait control, syntax of both grep test files, scoped Ruff and formatting of the retirement unit file, public prose and whitespace in the three-path composition. Feature qualification listed above remains historical on unchanged source; those checks were not repeated unless named here. No prior whole review or hosted CI verdict qualifies this head. Full new exact-head hosted CI and a fresh independent whole review remain required before merge. Existing failures and unproven causes remain unresolved; no performance or runtime repair is claimed.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated: Codex wrote the diff. The author checked publication ordering, the preserved assertions, and the controlled regression results.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • Full formatting, lint, typecheck, unit and integration gates pass in CI.
  • No generated files require updates.
  • No migrations change.
  • No plugin files change.
  • No frontend files change.
  • No operator steps or wire changes.
  • Repository text contains no incident history or private identifiers.
  • Commits are signed off.

A new set can answer before its vector is published. Observe the initial
active vector before checking that reject copies it at the new head.

Signed-off-by: zlareb1 <[email protected]>
@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loom-docs Ready Ready Preview Nov 21, 2026 11:33am UTC

Request Review

This branch has not been deployed

No deployments
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