Skip to content

Pin Nucleus v1.2.2 (unique-index wire enforcement) - #5

Merged
im-tyler merged 1 commit into
mainfrom
chore/nucleus-v1.2.2
Oct 5, 2026
Merged

im-tyler merged 1 commit into
mainfrom
chore/nucleus-v1.2.2

Conversation

@im-tyler

@im-tyler im-tyler commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Bumps NUCLEUS_VERSION (CI), docker-compose default, and teploy.yml to ghcr.io/neutron-build/nucleus:v1.2.2 with the dated changelog-comment entry.

Why it matters for observe: 1.2.1 enforced CREATE UNIQUE INDEX only on the parsed statement path — wire-level autocommit INSERT/UPDATE took the SQL OLTP fast path and landed duplicates (neutron#69, verified on the v1.2.1 image in this repo's upstream ledger). v1.2.2 makes the fast path decline unique-indexed tables (fail-closed) and reports duplicate key value violates unique constraint (23505) — the S1 cross-replica survey-response dedupe item moves from upstream-blocked to engine-enforceable.

Verified before bumping, exact CI shape (fresh v1.2.2 container, migration boot, go test -p 1 ./... + OBSERVE_REQUIRE_NUCLEUS=1): 53/53 packages green.

Closes the gap observe hit in the wild (L9-adjacent, neutron#69): 1.2.1
enforced CREATE UNIQUE INDEX only on the parsed path; wire-level
autocommit statements bypassed it. v1.2.2 declines the OLTP fast path
for unique-indexed tables and reports Postgres-shaped 23505 violations.
Cross-replica survey dedupe unblocks. Verified, CI shape: 53/53 packages
green + fresh migration boot against the v1.2.2 image.
@im-tyler
im-tyler merged commit bbb9746 into main Oct 5, 2026
15 checks passed
@im-tyler
im-tyler deleted the chore/nucleus-v1.2.2 branch October 5, 2026 01:01
@im-tyler
im-tyler restored the chore/nucleus-v1.2.2 branch October 5, 2026 01:01
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