Skip to content

fix(ai): carry-over e2e fixture uses empty owner_name not null#101

Merged
pratikbodkhe merged 1 commit into
mainfrom
fix/carryover-e2e-fixture
Jun 6, 2026
Merged

fix(ai): carry-over e2e fixture uses empty owner_name not null#101
pratikbodkhe merged 1 commit into
mainfrom
fix/carryover-e2e-fixture

Conversation

@pratikbodkhe

Copy link
Copy Markdown
Contributor

Problem

PR #100 merged with a failing E2E shard (6/16). The carry-over briefing feature code is correct (unit-tested, contract-verified), but the e2e fixture inserted owner_name: null into issues, where the column is NOT NULL DEFAULT '' (00001_initial_schema.sql). The constraint violation threw in createCarryoverFixture, failing all 3 fixture-based tests before any assertion ran.

Fix

One line: the unowned issue now uses owner_name: "" (the actual no-owner representation). summarizeCarryover already treats "" and null identically (both falsy), so no_owner_count is unchanged and the feature logic needed no change.

Why it merged red

The branch ruleset requires PRs but does not mark the E2E matrix as a required status check, so the merge was not blocked. Process correction: verify each shard conclusion is success before merging, not just the aggregate watch exit.

Verification

  • test:ai-carryover 6/6, test:ai-contracts: pass; eslint clean.
  • Local e2e not runnable here (no Docker); relying on CI E2E, which will be checked per-shard before merge.

issues.owner_name is NOT NULL DEFAULT '' so inserting null violated the
constraint and failed all fixture-based carry-over e2e tests. Empty string
is the no-owner representation; summarizeCarryover already treats it as
unowned.
@pratikbodkhe pratikbodkhe merged commit 4847e02 into main Jun 6, 2026
18 checks passed
@pratikbodkhe pratikbodkhe deleted the fix/carryover-e2e-fixture branch June 6, 2026 02:43
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