chore(integrations): move polar off api version 2026-10 before april 2027
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- next.js, typescript
Research direction
Start with src/lib/adapters/polar/index.ts and the Polar fixtures and schemas, then check Polar's changelog for the current API version and verify the fixtures against its reference. Review docs/providers/polar.md for version and webhook guidance. Done means the adapter, schemas, fixtures, existing webhook endpoints, documentation, and removal-date CI check meet the acceptance criteria; run the listed typecheck, lint, and Vitest commands.
Written by the indexing model from the issue text.
Description
Context
Found by the Fable pre-production review on 2026-12-02 (main at cedc1914; every line reference below re-checked on main at cde5aa3b). Sources: provider connect readiness report N9, and product triage report new issue 5.
The Polar adapter pins API version 2026-10 on every call, the OAuth token and revoke requests included (POLAR_API_VERSION, src/lib/adapters/polar/index.ts:103-112, also :370), and on webhook endpoints it creates (api_version: POLAR_API_VERSION, :1209). The code says "2026-10 is removed in the first week of April 2027, then every call answers 404" (index.ts:105), and so does docs/providers/polar.md:263 (Polar's versioning page). Today the deadline lives only in a code comment and a docs line.
Impact: from the first week of April 2027 every Polar sync fails with invalid_response and every Polar connect fails, for every user. Nothing self-heals.
Plan
- Before 2027-03-15, read Polar's changelog for the then Current version and move
POLAR_API_VERSIONand the schemas to it. - Recheck the fixtures against the new reference.
- Handle webhook endpoints created with
2026-10: update theirapi_versionor recreate them, and say which indocs/providers/polar.md. - Add a check that fails CI within 30 days of a pinned version's removal date (a dated constant next to the pin).
Acceptance criteria
- Adapter, schemas, and fixtures use the then Current Polar version.
- Existing webhook endpoints are handled.
- A test fails within 30 days of the pinned version's removal date.
-
docs/providers/polar.mdnames the new version and its removal date. - Playwright e2e: none needed, no screen changes.
Files and areas
src/lib/adapters/polar/, its fixtures, docs/providers/polar.md.
Non-goals: Polar iss handling (#227).
Verification
npm run typecheck, npm run lint, npx vitest run src/lib/adapters/polar.
Branch: <issue-number>-polar-api-version
Model: anthropic/claude-opus-5-5 | Reasoning effort: unknown
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 2
- Avg merge
- 5h 20m
- Merged PRs (30d)
- 287
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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 eddiejaoude/StackDash
-
area: integrations documentation priority: P2 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eddiejaoude/StackDash#798 ·
Maintainers usually reply within 1 day
-
area: ops documentation priority: P3 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
eddiejaoude/StackDash#796 ·
Maintainers usually reply within 1 day
-
area: docs documentation impact: low priority: P3 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
eddiejaoude/StackDash#790 ·
Maintainers usually reply within 1 day
-
area: ops bug impact: low priority: P3 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
eddiejaoude/StackDash#785 ·
Maintainers usually reply within 1 day
-
area: connections enhancement impact: low priority: P3 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
eddiejaoude/StackDash#768 ·
Maintainers usually reply within 1 day
All issues in eddiejaoude/StackDash
Similar issues
-
bot:ai-assisted component:midnight-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
midnightntwrk/midnight-js#1790 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area:vscode bug has repro platform:macos platform:vscode regression
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
anthropics/claude-code#113502 ·
-
Add: Rajdhani TV HDOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
effort/l priority/p1 risk/high triage/core
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
iflytek/skillhub#1188 · 1 comment ·
Maintainers usually reply within 1 day