Repository navigation
refactor(channels): trust canonical private plugin facts - #179835
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
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. |
|
Exact-head inherited-failure landing evidence for CI39665983824, attempt1 remains failed. Every planned job completed; there is one failing leaf and its derived gate. No CI rerun, rebase, suppression, timeout increase, retry, skip, or security waiver.
The actual CI checkout is The coordinator flake index and six completed scheduled runs were checked (39654415683,39644558400,39635924183,39626840495,39617857340,39608923095). The pin migration landed after the latest completed scheduled source anchor, so this is not presented as a matching listed flake. The exact-base reproduction supplies the baseline proof. Complete exact-head check census:136 completed checks,68 success,63 skipped,1 neutral,2 cancelled metadata predecessors,2 failures including the aggregate. Cancelled context119451013197 and dispatch119451012776 have same-head successful successors119454808421 and119454805593. No cancelled runtime suite is claimed as passing. Neutral CodeQL is disclosed, not a completed full scan. The first-head PR-caused typed return and stale mock allowance are repaired. Current typed lint119454085219 and baseline ratchets119452111774 passed. Current security-fast119452110812 and Opengrep OSS119451487974 passed; no security exception is selected. Focused owner/sibling tests, ordinary targeted types, syntax lint/format, ratchets and zero-runtime/no-new-static cycle checks passed for the retained area and its repair. Independent P0-P2 reviews are scoped-clean. The local mandatory suppression audit remains13 pass/1 inherited Gateway allowlist mismatch, independently reproduced on the clean exact base; no allowance is widened. Ordinary local typed lint refused an existing unknown-owner artifact lock, which remains untouched; exact-head hosted typed lint subsequently passed. Standing scoped landing authority covers this individually attributed inherited CI failure. Failed CI remains failed; this evidence does not claim live vendor/channel/device, deployed Gateway, stable-upgrade, broad local build, or measured performance proof. The protected standalone session-memory backend and its machinery/tests are untouched. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…9835) * refactor(channels): trust canonical private plugin facts * refactor(clickclack): retain lint-supported diagnostic return
What Problem This Solves
Removes redundant private bookkeeping and repeated validation from bundled channel and collaboration plugins.
User Impact
No intended user-visible, configuration, protocol, storage, or public SDK change. Authentication, authorization at effects, retry deduplication, FIFO, and write settlement remain with their existing owners.
Why This Change Was Made
Consumers can use facts their owners already established instead of reconstructing them. This removes private forwarding fields, copies, repeated sorts, duplicate defaults, unreachable branches, and an unread sweep counter. The change is the channel area of one 116-file cleanup family, split by area to keep CI attribution narrow. This area removes 105 net production lines across 46 production paths; no new suppression or timeout/retry/skip is introduced.
Best-effort tradeoffs accepted
3e858a2a6f377, is feature/setup machinery, not a human-filed incident requiring an event-ID set around these reads.Evidence
The original frozen packet passed 83 focused files in 14 serial shards. The expanded packet passed targeted types and 776 cases, with four fixture failures investigated: Firecrawl's colliding source cut was completely withdrawn; ClickClack's partial mock now retains the real error class; an OpenShell case-sensitive fixture failed identically on the exact base and was repaired in the other area.
The final repair packet passed 235 cases across 13 files, ordinary targeted types, focused lint/format, line/assertion ratchets, and scoped cycle checks (1,644 modules; zero runtime cycles and no new static component). Independent P0-P2 reviews of the original, expanded, and final follow-up packets found no actionable finding. One obsolete assertion allowance is removed, never widened.
The mandatory suppression audit remains 13 passed / 1 failed on an unchanged inherited entry:
src/gateway/server/ws-transport.ts|no-underscore-dangle|1(98 actual versus 97 expected). The same failure was reproduced serially on the clean exact base; no Gateway source or suppression allowance is changed. This is not a passing audit claim.No live vendor/channel/device, deployed Gateway, stable-upgrade, measured performance, or broad local-build claim. Exact-head PR CI is the broad gate. The protected standalone session-memory backend and all its machinery/tests are untouched.
After applying this patch-identical area to fresh main, dependency installation, targeted ordinary types, focused lint/format, line/assertion ratchets, whitespace, and 994-module scoped cycles passed. The mandatory suppression audit reproduced the same inherited Gateway signature. All selected channel source files were unchanged between the original proof base and the fresh integration base; completed focused behavior proof is retained rather than rerun for green.
First-head CI found two issues belonging to this change: the typed consistent-return rule requires the original explicit undefined return after ClickClack's exhaustive diagnostic switch, and the repaired partial mock leaves one obsolete mock-factory allowance. Both are repaired together; the allowance only shrinks. The repair passed 16 focused cases across the two setup suites, targeted types, format, cycles, whitespace, and the 7,600-factory mock ratchet. Incremental independent P0-P2 review is scoped-clean. Local typed lint refused a retained unknown-owner artifact lock; it was not bypassed or cleared, and the new exact-head CI owns that gate. The suppression audit remains the same inherited failure.
The separate CLI message-authority failure is inherited: serial replay of the same Discord pin case fails identically on actual CI base
be3bdd50e9999and PR head8361b1b4e7c28. Main's #117464 changed the Discord endpoint to/messages/pins/..., while this untouched integration fixture still serves/pins/.... Discord's actual action/request owners and this fixture are not changed here. This is causal/base-replay evidence, not a claim that the fixture's whole import graph excludes Slack.