Use native Effect predicates in runtime and test assertions - #502
BleedingDev wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (64)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details🧰 Additional context used📓 Path-based instructions (1)Before touching files under `app/`, read [the application coding guide](./README.md).📄 CodeRabbit inference engine (app/AGENTS.md) Files:
🪛 Betterleaks (1.8.1)app/packages/core-runtime/tests/unit/pool-configuration.test.ts[high] 10-10: Detected a password embedded in a service connection URI, which may expose direct access to the referenced service. (generic-credential-uri) 🔇 Additional comments (63)
WalkthroughThe changes replace direct tagged-value and class checks with ChangesTagged assertions and test-harness updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This change modernizes error and type assertions while retaining the same tested outcomes, with no unresolved current-head risk identified for merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
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 |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Runtime and test code still inspected
_tagstrings and constructor identity directly. Use native predicates, Schema checks, and typed failure combinators while preserving the same outcomes and assertions.Core outbox logging now uses
Effect.tapErrorTag, and an unused test failure field is removed. The remaining changes migrate error assertions in Core, Shell, and Party Registry tests.This is the first PR in the cleanup stack. Merge it before #501, which adds repository enforcement and native generator/script interfaces. Split into 64 and 83 files so each PR fits the automated review limit.
Validation: Core and Party Registry unit suites, 193 Shell unit tests, and workspace integration suites passed on the combined cleanup tree. CI checks this base independently.
Summary by CodeRabbit
Tests
Refactor
Bug Fixes
Chores