Repository navigation
Validate task-run account overrides before account lookup - #1076
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. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
An explicit malformed
account_idonGET /api/tasks/runscurrently reaches account-access lookup instead of returning an input error. Require a trimmed UUID before those lookups, matching the maintained public schema. Authorized UUIDs retain the existing admin/member/self checks and account-scoped run reader; successful list/retrieve responses and foreign-run404 behavior stay unchanged.This ports the remaining validation requirement from retired-test API488 under Mono358, on current main8586fb7. The included two-PR disposition records that523's task ownership intent is already implemented by1037; it does not retarget or close either old PR, finish the119-item inventory, or change Stop/reconnect behavior.
Validation: six new malformed-input regressions fail before the fix. All26 affected unit/real-GET-export tests pass after it, including API-key/Bearer list/retrieve rejection before access/task-provider calls. Focused task/MCP/OAuth coverage passes210tests across36files. Targeted ESLint, formatting and whitespace checks pass. Independent source review reports no actionable findings (no independent test rerun).
Local broader OAuth run collected210passing tests but could not collect
fullOAuthRouting.test.tsbecause this fresh worktree lacks generatedlib/mcp/extension/generated-ui. That setup limitation is retained; clean full CI remains required. No dependency/runtime extension workaround, live provider/database/customer operation, permission change, credential inspection, publication or deployment was performed.Coordinator owns merge after exact-head CI/review; original actor/client/publisher/commercial gates remain in their existing tickets.
Final candidate:
a7f59e9c79fccd44516888d6ca0d6df96e06b96b, tree79b533bb0e252c2b316b7dbc027183b531bd0147. All four required CI checks pass; full CI reports7,062passing/15skippedtests across1,279passing files and passes response-contract typecheck. Vercel preview passes. Exact-head independent source review has no actionable findings, with no independent test rerun. The local generated-artifact limitation above is preserved; clean CI completes successfully. Not merged or deployed to production.