Skip to content

test: retain pre-cancelled parent reason under Bun GC - #4793

Merged
kwakayama merged 1 commit into
mainfrom
fix/2378-bun-parent-abort
Oct 1, 2026
Merged

kwakayama merged 1 commit into
mainfrom
fix/2378-bun-parent-abort

Conversation

@kwakayama

Copy link
Copy Markdown
Contributor

Refs veryfront/veryfront-issue-inbox#2378

Bun 1.3.6 can collect an inline AbortController.abort() reason, leaving signal.reason undefined (upstream defect). Keep the pre-cancelled fixture's expected error alive until the rejection assertion and verify exact identity. The no-work-started assertion remains.

Validation: native GC repro lost 3 reasons in 20,000 attempts; retaining the expected reason lost 0/20,000. The patched timeout file passed 20 consecutive Bun 1.3.6 runner invocations in normal file order. Pinned Deno 2.7.7: all 34 steps passed. Testing-front-door and semantic-disposition audits passed; no globals or prototypes changed. Formatting, focused lint and typecheck passed. Mandatory pre-push verification runs unchanged.

Test-only Demo: record 20 consecutive runs again at the merge SHA and the next green main tests (bun) run in veryfront-acceptance. No runtime release/pin needed.

Copilot AI balanced review requested due to automatic review settings October 1, 2026 13:51

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Oct 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 17 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 6f3716cc-247b-4fa0-8826-5a902722be79

📥 Commits

Reviewing files that changed from the base of the PR and between f74f5d1 and d8f9b68.

📒 Files selected for processing (1)
  • src/rendering/utils/timeout-enforcement.test.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T13:53:16.043492Z d8f9b68 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

📦 Client bundle boundary

Entrypoint Modules Source size Server leaks
src/index.client.ts 293 2337 KiB ✅ 0

A server module in a client graph aborts hydration in the browser. New leaks fail CI; known leaks are tracked in scripts/lint/client-bundle-baseline.json to burn down.

@kwakayama

Copy link
Copy Markdown
Contributor Author

@codex review

@kwakayama

Copy link
Copy Markdown
Contributor Author

Independent correctness + spec + quality review: 98/100, APPROVE, no blockers at d8f9b68. The strict identity assertion keeps the expected abort error referenced and verifies forwarding; work never starts. Mandatory pre-push format, lint, typecheck and full unit suite passed unchanged. Test-only merged Demo is prepared in veryfront/veryfront-acceptance#225 (collector review 97/100).

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@kwakayama

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@gitar-bot

gitar-bot Bot commented Oct 1, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@codecov

codecov Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

sonarqubecloud Bot commented Oct 1, 2026

Copy link
Copy Markdown

@kwakayama
kwakayama added this pull request to the merge queue Oct 1, 2026
Merged via the queue into main with commit 60504c8 Oct 1, 2026
62 of 63 checks passed
@kwakayama
kwakayama deleted the fix/2378-bun-parent-abort branch October 1, 2026 17:13
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.

2 participants