Skip to content

test(react): eliminate collaborative form-reset act warning - #119

Closed
seonghobae wants to merge 2 commits into
mainfrom
fix/collaborative-form-reset-act-warning
Closed

test(react): eliminate collaborative form-reset act warning#119
seonghobae wants to merge 2 commits into
mainfrom
fix/collaborative-form-reset-act-warning

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

RCA result

This branch was created to turn a previously observed protected-main React not wrapped in act(...) warning around the collaborative native-form reset test into a deterministic regression before changing any existing helper or runtime code.

Two materially distinct RED hypotheses were tried without production changes:

  1. direct reset dispatch + queued reset callback while recording console.error;
  2. the same reset lifecycle plus callback assertions, collaborative unmount/Y.Doc teardown, and one additional queued-task settlement while the diagnostic spy remained active.

Both exact heads passed the repository TypeScript coverage job instead of producing the expected focused RED. The second exact-head build/test job also did not reproduce the historical warning string in the inspected log evidence. This means the proposed test-only reproduction does not establish a deterministic defect boundary under the current source generation.

Per repository TDD policy, a historical intermittent warning is not sufficient authority to change dispatchReset, wrap unrelated code in act(), or add runtime synchronization without a reproducible failing boundary. The branch is therefore closed without merge rather than retaining speculative test clutter.

If the warning recurs on a fresh protected-main or PR exact head, reopen/recreate the lane from that exact run and use the complete test name, ordering, and log evidence to establish a deterministic RED before fixing it.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9a183cb5-1321-45c5-89c0-10547a92b9cc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant