Repository navigation
Cleanup some deployed autogates - #8219
Conversation
There was a problem hiding this comment.
💬 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:429says 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-50says the@all-autogatesvariant "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-benchconfigs 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
Codecov Report❌ Patch coverage is
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. 🚀 New features to boost your workflow:
|
Remove now deployed autogates