Skip to content

fix(gateway): support ES2022 metadata consumers - #12289

Merged
lambertjosh merged 1 commit into
mainfrom
fix-ts-findlast-compatibility
Jul 16, 2026
Merged

fix(gateway): support ES2022 metadata consumers#12289
lambertjosh merged 1 commit into
mainfrom
fix-ts-findlast-compatibility

Conversation

@lambertjosh

Copy link
Copy Markdown
Contributor

Replace Array.prototype.findLast in gateway routing metadata handling with an ES2022-compatible reverse search.

This unblocks VS Code GA packaging, which type-checks imported gateway source against its ES2022 library target, while preserving the existing last-successful-attempt behavior.

@kilo-code-bot

kilo-code-bot Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • packages/kilo-gateway/src/gateway-metadata.ts

Reviewed by claude-sonnet-5 · Input: 14 · Output: 2.2K · Cached: 239.9K

Review guidance: REVIEW.md from base branch main

@lambertjosh
lambertjosh enabled auto-merge July 16, 2026 18:52
@lambertjosh
lambertjosh merged commit 3069737 into main Jul 16, 2026
39 of 41 checks passed
@lambertjosh
lambertjosh deleted the fix-ts-findlast-compatibility branch July 16, 2026 19:13
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
…tibility

fix(gateway): support ES2022 metadata consumers
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.

3 participants