Skip to content

Fix red main: give the concert->venue fixture its required reverse fields - #2443

Merged
malibio merged 1 commit into
mainfrom
fix-red-main-concert-fixture
Sep 8, 2026
Merged

malibio merged 1 commit into
mainfrom
fix-red-main-concert-fixture

Conversation

@malibio

@malibio malibio commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

main is currently red. Split out of #2442 on review recommendation so it can merge without waiting on the hook discussion there.

The failure

object_property_round_trips_through_relationship_get declares held_at → venue with no reverseName/reverseCardinality, which the validation added in #2437 rejects:

Error: concert schema: invalid params: Relationship 'held_at' (entry 0) is missing
"reverseName" and "reverseCardinality".

The test fails at schema creation, before reaching what it exists to verify — so its coverage was lost entirely, not merely reported as failing.

Why no gate caught it

#2436 added the fixture; #2437 added the rule. Each was validated against a base predating the other, and the squash merges landed 33 minutes apart. A green pre-push gate proves a branch passes on its base and says nothing about the merge result.

This is the third instance of that pattern in this sequence — #2437's review caught the identical collision between #2435 and #2437 just before merge. With several PRs in flight touching one validation surface, the gap is not hypothetical. Worth considering whether the gate should rebase onto origin/main before running, though that is a separate change.

The fix

A concert is held at one venue and a venue hosts many concerts, so the inverse is concerts/many — plural per the validator's own guidance, and no shadowing of a core property.

Verification

  • On origin/main: 8 passed, 1 failed
  • On this branch: 9 passed, 0 failed
  • cargo test --workspace — 2926 passed, exit 0
  • Pre-push gate (test:all + cargo build --bin nodespaced + full e2e) — passed in full

🤖 Generated with Claude Code

https://claude.ai/code/session_01KHdtH4eZHiU7RzhCuHArQX

`main` is currently red: `object_property_round_trips_through_relationship_get`
declares `held_at -> venue` with no `reverseName`/`reverseCardinality`, which
the validation added in #2437 rejects, so the test fails at schema creation
before reaching what it exists to verify.

Neither PR's gate could have caught this. #2436 added the fixture and #2437
added the rule; each was validated against a base that predated the other, and
the squash merges landed 33 minutes apart. This is the same collision #2437's
review caught between #2435 and #2437 — the third instance of a green gate on a
stale base proving nothing about the merge result.

A concert is held at one venue and a venue hosts many concerts, so the inverse
is `concerts`/`many`.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01KHdtH4eZHiU7RzhCuHArQX
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