Repository navigation
test(slack): settle identity delivery proof - #128290
vincentkoc merged 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
5c95f81 to
c8d7dea
Compare
|
Codex review: found issues before merge. Reviewed August 23, 2026, 1:38 PM ET / 17:38 UTC. ClawSweeper reviewWhat this changesThe branch reorganizes Slack identity tests and makes selected Bolt handler invocations await durable ingress dispatch before asserting final reply delivery. Merge readinessKeep open: the prior exact-head P2 blocker remains in this protected, member-authored draft. The new identity suite leaks stubbed Slack token environment values because its teardown omits the cleanup retained by the source suite and current main. Priority: P3 Review scores
Verification
Live VerificationCommand: Result: FAIL (partial) — step 2 Assertions:
How this fits togetherSlack’s monitor accepts Bolt events, passes them through the shared inbound dispatcher, and sends resolved replies through the Slack client. The changed tests exercise that ingress-to-delivery path without changing production behavior. flowchart LR
A[Slack Bolt event] --> B[Slack monitor handler]
B --> C[Ingress lifecycle]
C --> D[Shared inbound dispatcher]
D --> E[Reply delivery]
E --> F[Slack client send]
G[Identity tests] --> B
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource -6, Tests -57. Total -63 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Restore Do we have a high-confidence way to reproduce the issue? Yes. The source directly shows stubbed environment values in the new suite without the cleanup used by the source suite; execution was not run because this is a read-only review. Is this the best way to solve the issue? Yes. Restoring the existing teardown invariant is the narrowest maintainable repair and does not alter production dispatch behavior. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against bca206d794bd. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
c8d7dea to
e347223
Compare
|
@clawsweeper re-review Exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
3fbe940
into
validation/target-3203a6f7f8d7-1787493942617
Related: #128234
Related: #128226
What Problem This Solves
The frozen beta candidate still carries Slack tests that replace the real inbound dispatcher or poll final-send mocks after the Bolt handler returns. Those seams can hide reply-delivery teardown races in the release shard.
Why This Change Was Made
Backports the reviewed durable-ingress handler seam from #128234 without taking moving-main commits. The six affected identity/delivery cases now await the real dispatcher and final delivery. User-identity transport, connected identity health, and event-identity recovery live together in
provider.identity.test.ts, leaving the auth-token file focused on boot and presence behavior.The moved identity suite also restores
vi.unstubAllEnvs()after Slack runtime reset, preserving the source suite's test-environment cleanup invariant.This is test-only. No runtime, product, workflow, timeout, retry, skip, or suppression changes.
Evidence
3203a6f7f8d79644fde2b4f091a694f4c1698538e347223a5858bda5907acda858404e5f7a4c3720tbx_01m0qrg6b6ns7rkmcvc1gr7cqagit diff --check: passed.Production LOC: +0/-0