Migrate all tests to native Effect Rstest and enforce native interfaces - #501
Conversation
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. |
|
Important Review skippedToo many files! This PR contains 392 files, which is 292 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (392)
You can disable this status message by setting the 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: efdab4e556
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
efdab4e to
bb7f291
Compare
|
@coderabbitai review |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bb7f2918d5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Coordination note (Claude, working alongside Codex in this PR): I am migrating the whole test infrastructure to Rstest + Effect-native tests inside this PR:
I will push in slices on top of this branch head. Please pull before editing files under |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0ca264e244
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…nforcement#locki-2mgdh5s8 # Conflicts: # app/apps/shell-super-app/tests/integration/generated-owner-fixture.ts
|
Coordination update for the shared #501 work: latest head is I merged latest I will check incoming Rstest migration commits and handle the next CI/review round. Please build on this head and preserve the regression cases. CodeRabbit cannot review the combined PR under its current file/capacity limit. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0b735d1ec9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…Rstest projects Vendor the community port of @effect/vitest for Rstest as a workspace package, define unit/integration/component Rstest projects for every app package, and migrate five pilot suites to it.effect / it.live / it.layer with no Promise bridges. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 02ed2745cb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…nforcement#locki-2mgdh5s8 # Conflicts: # app/scripts/scaffolding/tests/scaffold-generators.test.mts # app/verticals/party-registry/tests/unit/api-integration-command-runtime.test.ts
…nforcement#locki-2mgdh5s8 # Conflicts: # app/apps/shell-super-app/tests/unit/auth-contract.test.ts # app/verticals/party-registry/tests/unit/ares-lookup-read.test.ts
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e63db3569f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4bf1565605
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Own authentication identities per worker; bound native acquisition without abandoning scoped cleanup. Wait for the real hydrated account menu before post-reload interaction. Run all browser tests with N-1 workers and no retries locally and in the integration gate. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0b0dad1b42
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…cates Reject expected object discriminants in equality and containment matchers, including Node deep assertions. Migrate 59 assertions across 21 suites while preserving exact payload and extra-field checks. Add ten failing provenance-aware matcher regressions and migrate the old positive fixture. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Prevent parallel governed tests from having their customer roles ended by the database-boundary fixture. Also scope delivery-purpose updates/readback and the billing constraint probe. Preserve independent tenant rows with full-row regression snapshots; both defects reproduced within owned tenants before correction and all five Party integrations pass five parallel repeats. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 50c3d45c6a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bdeaf51310
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Adopt the immutable upstream package and remove the owned adapter. Carry the generic conformance fixes from ScriptedAlchemy/effect-rstest#4 in one temporary pnpm patch, tracked for removal by #507. Update actual imports and lint provenance without compatibility aliases or runner wrappers. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Preserve cleanup ownership boundaries and native Effect tests, adopt the patched upstream runner, remove fixture clones, and retain zero blocking quality findings. Add resource interaction coverage and verify lint detector equivalence. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Keep the fully validated cleanup reconciliation tree unchanged while joining the already-published package adoption commit. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Preserve native Effect Rstest assertions while adopting the corrected worker hostname, PostgreSQL 18 configuration, deployment flag forwarding, and authorization rollout baseline. Full pnpm check and zero-blocker quality gate pass on the combined tree. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 46c7bfa688
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Follow exported static project configurations with source evidence and pinned-Knip positive and negative controls. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Resolve framework objectContaining and arrayContaining expected values while preserving lexical identity, mutation guards, ADT exemptions and payload semantics. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
@codex review Please review exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 06d58ee478
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Accept one static expect.not modifier without weakening helper provenance or mutation guards. Add ten failing-before positive cases and foreign, shadowed, mutated, payload and unsupported-modifier controls. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
@codex review Please review exact head |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Native Rstest and Effect throughout OntOS
Consolidates the migration in #501. #502 is closed. This PR remains open and non-draft; no merge is authorized.
effect-rstestAPIs. Synchronous tests stay plainit; Effect programs useit.effect,it.live, andit.layer.runEffectTestPromise,makeEffectTestCallback, andrunEffectTestSync. Adapt actual foreign Promise APIs only at their real boundaries; no owned Effect → Promise → Effect round trips or fake native wrappers.79abbf684c7b150ee5f32694129a7caf969903bccanary, with no local package alias.1026323. Installed patched runtime bytes match that contribution.instanceof, and manual_tagdiscrimination. Retain exact native-hook provenance, inherited/applied generic Promise ports, assertion payloads, negative controls, and all deployment boundaries.Cleanup reconciliation and simplification
Merged TechsioCZ/ontos#504 without restoring deleted code or weakening its quality gates. Also retained current
maindeployment/PostgreSQL 18 updates throughabc3a1d3.Effect.acquireUseRelease.Parallelism and resource ownership
afterEachruns earlier and is outside that guarantee; infinite uninterruptible finalizers may hold completion. Suite teardown retains its hook timeout. No process-kill-safe or universal bounded-cleanup guarantee is claimed.Current checkpoint and diff
Pushed head:
dfe49e6d7c32d39aaa03d62902c77c4aa6037bca. GitHub reports it mergeable with current main. Working tree is clean.Local validation
pnpm checkpasses, including formatting, rule types/tests, zero repository lint errors, Effect-aware application typechecking, architecture/contracts, readiness, and the zero-blocker quality gate.pnpm check, 316 scripts, 124 generators, and the deployment regression were rerun successfully.Migration delivered; all CI passed; final review pending
46c7bfa6passed all 19 workspace gates and artifact proofs plus Quality Audit: 20 substantive checks green, including fresh-service integrations and authenticated parallel zero-retry browsers. These are prior-head results, not claimed as CI validation of the newer fixes.06d58ee4: all 20 substantive checks green, including both artifact proofs and fresh-service integration; authenticated browsers passed 13/13 using three N−1 workers, zero retries. Stage deployment was intentionally skipped.ddaa97c0models static Rstest project environments with pinned-Knip differential controls;06d58ee4resolves proven asymmetric expected-value matchers. Both threads are answered and resolved: all 20 existing review threads are resolved. The subsequentexpect.notfinding is fixed indfe49e6d: one net implementation line with ten failing-before positive cases and negative controls. All 21 existing threads are answered and resolved. Full localpnpm checkpasses on the new head. Its final CI passed all 20 substantive checks; final Codex review is still pending. No final-head review approval is claimed yet.dfe49e6d: all 20 substantive checks green, including both artifact proofs, fresh-service integrations, and authenticated browsers 13/13 using three N−1 workers, zero retries. No stage deployment occurred. No additional broad implementation or cleanup is planned.pnpm checkpasses, with all 208 rule tests and every blocking audit category at zero. 318 script tests passed at nine workers; the edited model suite was rerun afterward and passed 8/8./cs/hledatand/cs/zdroje/...throw active-route-match invariants. Search source, both localized metadata files, generated metadata, framework config and router package/patch blocks are unchanged from main; the Resource loader hook is also unchanged. This is not established as a migration regression, and a full separate-main browser baseline was not run. Reproduction was shared with the Effect/UltraModern upgrade owner rather than expanding this PR into unrelated locale work. No blanket UI approval is claimed.Upstream contribution local gates passed: 51 runtime tests / five intentional skips, 11 type tests / 15 assertions, typecheck, build, and strict publint. Baseline-before-fix regression probes fail as expected. Those results do not claim upstream CI approval or publication.
No PR merge is authorized.
🤖 Generated with Claude Code