- architecture/: overview, technology stack, auth (OIDC + built-in IndieAuth), syndication (POSSE) rewritten; new database.md, deployment.md and indieweb-protocols.md; legacy stack marked historical - decisions/: reconstructed ADR-060 and ADR-063; 31 status corrections (superseded auth ADRs, proposed -> accepted); INDEX rebuilt - design/: reconstructed the v1.6.0 documents the webmention code cites; reports for 18 v2 releases without a design folder; INDEX rebuilt - projectplan/: BACKLOG rewritten (shipped items removed, open issues from the reviews added); RELEASE.md for v2.0.0-v2.10.1; INDEX - standards/: development setup (uv, tests, DEV_MODE), testing (CI test stage), git and release flow, versioning, coding standards, cookies - README, CLAUDE.md, .env.example (every setting the code reads, with defaults) brought up to date - 137 broken links repaired (old absolute paths, moved files); stale ADR references in code comments corrected (comments only) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.0 KiB
Markdown
33 lines
1.0 KiB
Markdown
# v2.6.1: Retry Threads publish errors
|
|
|
|
> Reconstructed on 2026-11-03 from the changelog and git history. Commit `11e09a0`. Design: ADR-069.
|
|
|
|
## Summary
|
|
|
|
Meta's `threads_publish` step returned a one-off `HTTP 400 Fatal` for a
|
|
plain text post that published fine on retry; StarPunk treated it as
|
|
permanent.
|
|
|
|
## Changes
|
|
|
|
`starpunk/syndication.py` (Threads client):
|
|
|
|
- Publish-step errors are raised as retryable `SyndicationError`s unless
|
|
the Graph error code is in `_GRAPH_AUTH = {10, 190, 200}` (bad token or
|
|
missing permission). The retry's existing-post check prevents a double
|
|
post.
|
|
- Error messages include the Graph `code`, `error_subcode`,
|
|
`error_user_title` / `error_user_msg` and `fbtrace_id`; the code is kept on
|
|
the exception.
|
|
- A 2-second pause before the first container status poll (Meta can report
|
|
a container ready too early).
|
|
|
|
## Tests
|
|
|
|
`tests/test_syndication_threads.py`: `test_publish_fatal_is_retried`.
|
|
|
|
## Notes
|
|
|
|
The CHANGELOG dates this release 2026-11-01; the commit and tag are dated
|
|
2026-10-31.
|