Skip to content

Cleanup some deployed autogates - #8219

Merged
jasnell merged 1 commit into
mainfrom
jasnell/deployed-autogate-cleanup
Nov 4, 2026
Merged

jasnell merged 1 commit into
mainfrom
jasnell/deployed-autogate-cleanup

Conversation

@jasnell

@jasnell jasnell commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Remove now deployed autogates

@jasnell
jasnell requested a review from a team November 4, 2026 14:42
@jasnell
jasnell requested review from a team as code owners November 4, 2026 14:42

@clanky-the-clanker clanky-the-clanker 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.

💬 Approved with comments — The autogate cleanup is correct. The only remaining problems are documentation: a stale rollout caveat in docs/streams.md (WARNING, no runtime impact) and leftover benchmark comments and wording.

Findings: 1 warning · 1 info (1 is an inline comment on the diff)

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.

🔧 Fix with your agent

Paste the following into your coding agent to investigate and fix these issues.

Fix the following code review issues found in pull request #8219.

Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
  for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

## WARNING (1)

### [Documentation] docs/streams.md:429 still says JS RPC stream termination propagation is gated by autogates during rollout; after this change it is unconditional.
- **File:** docs/streams.md:429

## INFO (1)

### [Documentation] src/bench/streams/AGENTS.md still says the @all-autogates variant "enables the autogate too", but the sentence that introduced that autogate was deleted; the *-ts.wd-bench header comments also still mention the removed per-isolate bootstrap autogate.
- **File:** src/bench/streams/AGENTS.md:50

📝 Documentation: ⚠️ 1 warning · 1 info

The streams doc and some benchmark comments still describe the removed autogates.

Recommendation: 📝 Minor Comments

  • [WARNING] docs/streams.md:429 still says JS RPC stream termination propagation is gated by autogates during rollout; after this change it is unconditional. (docs/streams.md:429)
  • [INFO] src/bench/streams/AGENTS.md still says the @​all-autogates variant "enables the autogate too", but the sentence that introduced that autogate was deleted; the *-ts.wd-bench header comments also still mention the removed per-isolate bootstrap autogate. (src/bench/streams/AGENTS.md:50)
View full review
  • docs/streams.md:429 says termination propagation for streams sent over JS RPC is "gated by autogates while it rolls out". This pull request makes readable cancel propagation and writable sink aborts unconditional, so the caveat is now false. Remove it.
  • src/bench/streams/AGENTS.md:49-50 says the @all-autogates variant "enables the autogate too". The sentence that introduced that autogate was deleted, so the phrase no longer refers to anything. The header comments of all eleven *-ts.wd-bench configs also still mention the per-isolate bootstrap autogate.

✅ All other checks passed

📋 Code Quality: ✅ LGTM

Making the cancel-propagation and drop-aborts-sink paths unconditional in readable.c++ and writable.c++ matches the removal of their keys from autogate.h. Deleting workerd-autogate-per-isolate-javascript-bootstrap and workerd-autogate-rpc-externals-hydration from the configs is required, because autogate.h no longer defines either key. The existing JS RPC stream cancellation tests still cover both paths, which no longer depend on a gate.


Reviewed commit: b88bee2a

Comment thread src/bench/streams/AGENTS.md Resolved
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 68.78%. Comparing base (2a82c55) to head (b88bee2).

Files with missing lines Patch % Lines
src/workerd/api/streams/readable.c++ 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8219      +/-   ##
==========================================
- Coverage   68.79%   68.78%   -0.02%     
==========================================
  Files         743      743              
  Lines      194673   194658      -15     
  Branches    30171    30168       -3     
==========================================
- Hits       133925   133892      -33     
- Misses      43043    43058      +15     
- Partials    17705    17708       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jasnell
jasnell enabled auto-merge November 4, 2026 16:19
@jasnell
jasnell merged commit 08157bd into main Nov 4, 2026
36 of 38 checks passed
@jasnell
jasnell deleted the jasnell/deployed-autogate-cleanup branch November 4, 2026 16:30
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.

3 participants