Repository navigation
test(store): a missing domain reads back as not found - #1944
Conversation
Covers the not-found mapping added in #1940 for both a soft-deleted id and an unknown id. The domain suite did not exist when that fix landed.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: raystack/frontier/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe PostgreSQL domain repository test now checks that fetching a soft-deleted domain and a randomly selected non-existent domain returns ChangesDomain not-found assertions
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Other Merge Risk: ⚪ Minimal · up to The PR strengthens tests for deleted and unknown domain IDs without changing runtime behavior; no actionable merge risk remains. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
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 |
Coverage Report for CI Build 35845698501Coverage remained the same at 51.564%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Test-only follow-up to #1940. The domain repository suite arrived in #1938 after the not-found mapping merged, so the case was left for when both were in.
What
The domain test now expects
domain.ErrNotExistfromGetfor a soft-deleted id and for an unknown id, instead of any error.Behaviour change
None. Tests only.