fix(eve): preserve receive-only channels - #1271
Open
glucas1103 wants to merge 1 commit into
Open
Conversation
Signed-off-by: Lucas Gaillard <lucasgaillard@outlook.com>
Contributor
|
@glucas1103 is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
There was a problem hiding this comment.
Additional Suggestions:
- Next.js chat/workflow info validator throws on receive-only channels because it still requires
channel.method/channel.urlPathto be strings after the agent-info schema made them nullable.
- Receive-only channels cannot be resolved via the route-fingerprint fallback in
resolveTargetByReference, so schedules/cross-channel handoffs targeting them throw "not registered" whenever reference identity does not hold.
glucas1103
marked this pull request as ready for review
July 28, 2026 08:35
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.
Description
Closes #1270.
compileChannelDefinition()currently lowers channels by mapping theirroutes. A channel withroutes: []and an authoredreceivehook therefore emits no manifest entry, disappears from the module map, and cannot be resolved by schedules or cross-channel handoffs unless the application invents a placeholder HTTP route.This change adds a first-class
receive-only-channelmanifest entry. Receive-only channels remain discoverable and resolvable through the normal authored-module path, appear ineve infoand the Vercel agent summary without route metadata, and are excluded from Nitro route registration. The docs, schema versions, runtime types, compiler/runtime coverage, and patch changeset are updated together.How did you test your changes?
pnpm test:unit— 5,462 tests passed, 1 skipped.pnpm test:integration— 550/550 tests passed.pnpm typecheckpnpm docs:checkpnpm lintpnpm guard:invariantsPR Checklist
CONTRIBUTING.mdevepackagegit commit --signoff)