Repository navigation
fix(api): keep CSV children bound to their parent rows (#351) - #363
Merged
Merged
Conversation
Owner
Author
|
Local validation on 8c7060e: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #351. Supersedes #356.
This is the contributor's commit from #356 (bd03219, authorship preserved via cherry-pick) carried onto current master. #356 could not be merged as-is: it conflicted with the changelog after the 0.23.7 and 0.23.8 releases, and its fork CI runs needed approval.
What the fix does (unchanged from #356)
CSV pool import reserves every ID declared in the file for its source row. A child whose parent row fails validation, placement, or is skipped as a duplicate reports
parent row N failedinstead of silently attaching to an existing pool with the old ID. Rows follow their dependencies regardless of file order or numeric ID order, and references to existing parents still work when their IDs are absent from the CSV. Shared placement rejects an unresolvedParentRefeven when a staleParentIDwas supplied. Lock, overlap rules and transaction boundaries are unchanged. Tests cover twelve CSV shapes on the memory and SQLite stores, and the verify-pool-overlap skill notes are updated.Changes made while carrying it forward
0.23.7heading to a new## [0.23.9] - 2026-10-31section, since v0.23.7 and v0.23.8 are already tagged. Both Helm charts advertise appVersion0.23.9. Merging tags v0.23.9.Verification
go build ./...,go test ./internal/api/(default and-tags sqlite),just openapi-validate,just lint,just helm-check: see the PR checks and the comment below for local results.🤖 Generated with Claude Code