chore: bump .gts-spec to v0.13.4 - #27
Conversation
Protect registry state by rejecting changed schema and instance registrations by default while preserving idempotent re-submissions. Allow callers to opt into replacement behavior with --allow-entity-updates, and return HTTP 409 for rejected changes. Signed-off-by: Artifizer <artifizer@gmail.com>
Signed-off-by: Artifizer <artifizer@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (7)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughGtsOps now detects conflicting entity and schema content. Conflicts preserve existing data and return HTTP 409 by default. The CLI adds ChangesEntity Update Conflict Handling
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant Client
participant Server
participant GtsOps
participant Store
Client->>Server: Register entity or schema
Server->>GtsOps: Call add_entity or add_schema
GtsOps->>Store: Check existing content
alt Changed content and updates disabled
GtsOps-->>Server: Conflict result
Server-->>Client: HTTP 409
else Updates enabled or content identical
GtsOps-->>Server: Success result
Server-->>Client: HTTP 200
end
Merge Risk: ⚪ Minimal · up to The conflict-handling change has no identified current-head defect requiring resolution before merge. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 34 functions across 6 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…orted Signed-off-by: Artifizer <artifizer@gmail.com>
Summary by CodeRabbit