Skip to content

fix(tests): Use index access in the objects API test - #3436

Merged
BYK merged 1 commit into
mainfrom
fix/objects-test-index-access
Nov 14, 2026
Merged

BYK merged 1 commit into
mainfrom
fix/objects-test-index-access

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Problem

#3429 added GitHub fakes to packages/junior/tests/integration/api/objects.test.ts that read route params with dot access, such as params.login and params.number. The repository's strict TypeScript settings require index access for properties that come from an index signature, so main no longer compiles. That blocks every open pull request.

Fix

Read the 5 params with index access, such as params["login"] and params["number"]. Nothing else in the test changes.

via @BYK.

--

View Session [Sentry]

@sentry-junior
sentry-junior Bot requested a review from BYK November 14, 2026 19:41
@vercel

vercel Bot commented Nov 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 14, 2026 7:41pm UTC

Request Review

@github-actions github-actions Bot added the risk: low PR risk score: low label Nov 14, 2026
@BYK
BYK enabled auto-merge (squash) November 14, 2026 19:42
@github-actions

Copy link
Copy Markdown
Contributor

23 screenshot changes — 23 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automation Skill Editor · Desktop
Automation Skill Editor · Desktop
Changed
Automations Runs Filters · Desktop
Automations Runs Filters · Desktop
Changed
Conversation Attachment Zoom · Desktop
Conversation Attachment Zoom · Desktop
Changed
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Child Agents · Desktop
Conversation Child Agents · Desktop
Changed
Show 12 more changed screenshots
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Event Log Virtual · Desktop
Conversation Event Log Virtual · Desktop
Changed
Conversation Event Log Virtual · Mobile
Conversation Event Log Virtual · Mobile
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Conversation Memory List Jump · Desktop
Conversation Memory List Jump · Desktop
Changed
Conversation Memory List Jump · Mobile
Conversation Memory List Jump · Mobile
Changed
Conversation Object Links · Desktop
Conversation Object Links · Desktop
Changed
Conversation Question Picks And Text · Desktop
Conversation Question Picks And Text · Desktop
Changed
Conversation Question Stepper · Desktop
Conversation Question Stepper · Desktop
Changed
Conversation Question Stepper Light · Desktop
Conversation Question Stepper Light · Desktop
Changed
Conversation Recalled Memories Popover · Desktop
Conversation Recalled Memories Popover · Desktop
Changed
Conversation Recalled Memories Popover · Mobile
Conversation Recalled Memories Popover · Mobile
Changed

5 more changed screenshots in Frameshift.

@BYK
BYK merged commit 374b057 into main Nov 14, 2026
47 checks passed
@BYK
BYK deleted the fix/objects-test-index-access branch November 14, 2026 19:47

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 4e911180 Deployed Nov 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant