Skip to content

chore(vtex): bump @decocms/runtime to ^1.6.2#427

Merged
viktormarinho merged 1 commit intomainfrom
viktormarinho/vtex-runtime-1.6.2
May 6, 2026
Merged

chore(vtex): bump @decocms/runtime to ^1.6.2#427
viktormarinho merged 1 commit intomainfrom
viktormarinho/vtex-runtime-1.6.2

Conversation

@viktormarinho
Copy link
Copy Markdown
Contributor

@viktormarinho viktormarinho commented May 6, 2026

Summary

Picks up the actual cache fix from decocms/studio#3300. The 1.6.1 patch's lookup key (`ListToolsRequestSchema.shape.method.value`) was `undefined` under zod 4, so the cache wrapper never installed. 1.6.2 hardcodes the MCP method name `"tools/list"`, which should finally drop warm `tools/list` latency from ~5s to ms-scale.

Test plan

  • `bun run check` clean
  • `bunx wrangler deploy --dry-run` clean
  • After merge: curl `tools/list` 5x in a row and confirm runs 2-5 are <500ms

🤖 Generated with Claude Code


Summary by cubic

Bump @decocms/runtime to ^1.6.2 to pick up the tools/list caching fix that failed under zod 4. This restores the cache wrapper and should drop warm tools/list latency from ~5s to milliseconds.

Written for commit 8011cae. Summary will update on new commits.

Picks up the actual cache fix from decocms/studio#3300 — the 1.6.1
patch lookup-key was undefined under zod 4 so the cache wrapper
never installed. 1.6.2 hardcodes the MCP method name and should
finally drop warm tools/list latency from ~5s to ms-scale.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@viktormarinho viktormarinho merged commit 79826a4 into main May 6, 2026
2 checks passed
viktormarinho added a commit that referenced this pull request May 6, 2026
Reverts the Workers migration (#424#427). The runtime cache fix from
decocms/studio#3299/#3300 didn't restore acceptable tools/list latency
(~5s/call still observed after 1.6.2). Going back to the working
kubernetes-bun pipeline; vtex stays on @decocms/runtime 1.3.1 with the
serve()-style entrypoint.

Restores: deploy.json entry, wrangler.toml deleted, deploy-vtex.yml
workflow deleted, server/main.ts back to bun serve(), package.json
back to deco-cli/openapi-ts deps, tsconfig/app.json restored.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant