Repository navigation
Defer agent webhook startup until platform and signature checks pass - #1149
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This was referenced Oct 25, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unsupported platforms and unsigned webhook events currently evaluate coding/content bot modules, constructing Redis state and adapters before rejection. The SDK itself initializes before adapter signature checks, so moving imports alone does not resolve the cold-start problem.
Check the existing platform/signature contracts first, then lazily import the existing singleton and handlers for authenticated events. Slack setup and WhatsApp GET verification complete without state. Valid events retain SDK-owned initialization, shared state prefixes, cached handler registration, raw request bodies and
waitUntil. WhatsApp remains optional; no channel/user allowlists or new authentication authority are added. Startup/adapter failures return a bounded 500.The existing POST regression now distinguishes Slack, GitHub and WhatsApp adapter spies. A deliberate WhatsApp-to-Slack dispatch mutation fails that case. Setup-guide initialization notes match the source, retaining separate callback/static-GitHub and hosted-acceptance limits.
Validation at composed head
45e3df8bc12c5462c0b4ab2ac463565dfd825028: 97 owner and 97 independently executed focused tests pass under a process-level network guard, with zero network attempts. Independent Standards/Spec review reports no findings for the bounded test/doc delta and composition. The prior full 356-test/48-file run and independent review ate860dcf3remain preserved; runtime files are byte-identical. Prior whole-project TypeScript output had 218 existing diagnostics, byte-identical to its unchanged base; this is not a type-clean or fresh composed-head typecheck claim. Lint, formatting and diff checks pass. The branch merges actual main673e67d7without rewriting reviewed history and preserves the merged setup/content/context/OAuth changes.Bounded existing API #297/#264 cold-import repair under Mono #358. API #1142 get_tasks remains preserved. The static coding-agent GitHub feedback endpoint and chat Slack route are unchanged. Historical #264 allowlist/config/logging acceptance is not closed. No credentials/env files, live Redis, providers, callbacks or customer writes were used. Source tests do not establish hosted delivery or configuration. See
docs/verification/platform-webhook-lazy-init.md. Coordinator owns merge and release verification.