Document breaking API changes from per-project data organization (required ?projectId=, removed promptFeatureExtractionId)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- api, backend-api-design, documentation
Research direction
Start by reviewing requests/index.ts:280 and schemas/request.ts:173, then inspect PR #1241 and the in-repository callers that submit or poll runs. Document the required ?projectId= parameter and removed promptFeatureExtractionId in the release notes or changelog, and verify that no internal caller omits the project parameter. The handling of unknown submit-body fields remains a decision to confirm.
Written by the indexing model from the issue text.
Description
Original author: @manekinekko
Context
Follow-up from review of #1241 (per-project data organization). The PR introduces backward-incompatible API contract changes that need to be surfaced to consumers.
Problem
?projectId=is now required on submit and scoped list operations (ProjectIdQuerySchema+getQueryProjectIdthrow 400 when absent). Any external caller not updated in this PR — CI scripts, automation, other services, webhooks — starts getting a 400 the moment this deploys. The in-repo CLI and Portal are handled; outside callers are not.promptFeatureExtractionIdis removed from the submit body,RequestDocument, and the response schema, and theprompt-feature-extractionscollection is dropped. Because the submit body schema isn't.strict(), clients still sending the field have it silently stripped (no error), and any consumer reading it off responses will find it gone.
Proposed resolution
- Add these to the PR description and release notes / changelog as explicit breaking changes.
- Audit for any un-migrated internal callers that submit or poll runs without a project, and update them.
- Decide whether unknown submit-body fields should be rejected (
.strict()) so removed/renamed fields fail loudly rather than being silently ignored.
Acceptance criteria
- Breaking changes documented where API consumers will see them.
- No remaining internal caller submits/polls runs without
?projectId=.
Related
- PR #1241 (per-project data organization)
- Inline comments: requests/index.ts:280, schemas/request.ts:173
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 5
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 26
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/scope
-
type: worker-update
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
type: worker-update
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
type: worker-update
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
author: JaGord documentation good first issue UI
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
author: cedricvidal bug portal
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
Similar issues
-
area/core status/need-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
google-gemini/gemini-cli#29602 ·
Maintainers usually reply within 1 day
-
area: backend enhancement priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
snapotter-hq/SnapOtter#1879 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Tencent/BrowserSkill#390 ·
Maintainers usually reply within 1 day
-
good first issue status: needs triaging type: bug version: 2.0
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
medusajs/medusa#17094 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day