test(outbound): align implicit source reply sink#88673
Conversation
|
Codex review: found issues before merge. Reviewed June 29, 2026, 7:11 PM ET / 23:11 UTC. Summary PR surface: Tests +13. Total +13 across 1 file. Reproducibility: yes. at source level for the review finding: current main and v2026.6.10 keep configured Slack current-source sends on plugin delivery, while the PR assertion expects internal-source handling. I did not run tests because this is a read-only review. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Rebase or replace the test update so configured current-source plugin delivery stays covered unless a deliberate runtime policy change lands with sibling tests. Do we have a high-confidence way to reproduce the issue? Yes, at source level for the review finding: current main and v2026.6.10 keep configured Slack current-source sends on plugin delivery, while the PR assertion expects internal-source handling. I did not run tests because this is a read-only review. Is this the best way to solve the issue? No. A test-only assertion change is not the best fix while the current and shipped runtime still preserve configured current-source plugin delivery and the broader sink-policy question is tracked separately. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5dae3d49e623. Label changesLabel justifications:
Evidence reviewedPR surface: Tests +13. Total +13 across 1 file. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
Closing this old maintainer branch because the scope is not a landable, durable unit: it has no linked user bug or owner request and is either test-only maintenance, a broad mixed QA rewrite, or a very large compatibility/config redesign whose risk and review cost dwarf the demonstrated value. Smaller behavior-backed fixes can be reopened as focused PRs when a current issue or release gate needs them. Thanks for the work and validation invested here. |
Summary
message_tool_onlysource replies.Verification
node scripts/run-vitest.mjs src/infra/outbound/message-action-runner.core-send.test.ts --reporter=verbose: passed, 8 tests../node_modules/.bin/oxfmt --check src/infra/outbound/message-action-runner.core-send.test.ts: passed.node scripts/run-oxlint.mjs src/infra/outbound/message-action-runner.core-send.test.ts: passed.git diff --check: passed.node scripts/changed-lanes.mjs --json: selected onlycoreTests.node scripts/check-changed.mjs --dry-run: selected onlycoreTests.Real behavior proof
Behavior addressed: current main's CI expected implicit non-webchat
message_tool_onlysource replies to call the Slack plugin send path, but the runtime now routes that implicit source reply through the internal source sink.Real environment tested: local linked gwt worktree with the exact failing outbound test file.
Exact steps or command run after this patch:
node scripts/run-vitest.mjs src/infra/outbound/message-action-runner.core-send.test.ts --reporter=verbose;./node_modules/.bin/oxfmt --check src/infra/outbound/message-action-runner.core-send.test.ts;node scripts/run-oxlint.mjs src/infra/outbound/message-action-runner.core-send.test.ts;git diff --check;node scripts/changed-lanes.mjs --json;node scripts/check-changed.mjs --dry-run;ghx pr checks 88673.Evidence after fix: the previously failing test file now passes 8/8, and GitHub checks are pass/skipped only.
Observed result after fix: the implicit source-reply test asserts
handledBy: "internal-source",to: "current-run", and no SlacksendTextcall.What was not tested: no broad local
pnpm check:changed; this is a one-file test-only CI unblocker and GitHub PR checks covered the ready-for-review gate.