Skip to content

Merge latest upstream starpod changes - #29

Merged
RobbieTheWagner merged 2 commits into
mainfrom
update-upstream-2
Aug 25, 2026
Merged

RobbieTheWagner merged 2 commits into
mainfrom
update-upstream-2

Conversation

@RobbieTheWagner

@RobbieTheWagner RobbieTheWagner commented Aug 25, 2026 •

Copy link
Copy Markdown
Member

Summary

Merges the latest commit from upstream starpod:

  • Fix ATProto publish crash; rename script; rebuild once per feed change (#58)

The merge was clean — no conflicts. Upstream renamed scripts/publish-episodes.ts to scripts/publish-atproto-episodes.ts and git carried this fork's STANDARD_SITE_URL handling through the rename; verified the merged script, package.json scripts, and workflows are consistent.

Verification

  • pnpm build (astro check + astro build + md-negotiation) passes
  • pnpm lint passes
  • pnpm test:unit — 156/156 tests pass

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Episode publishing and backfill workflows now use the updated ATProto publishing commands.
    • Publishing validates only the feed information required for episode distribution.
  • Bug Fixes

    • Prevented unnecessary site rebuild triggers for feed content that has already been rebuilt.
    • Improved handling of missing rebuild webhooks and failed rebuild requests.
  • Documentation

    • Updated setup instructions and command references for ATProto publishing and backfilling.

RobbieTheWagner and others added 2 commits August 24, 2026 10:50
…e (#58)

* Only validate feed fields the publish script uses

Flightcast now emits a second enclosure per episode (the cover image)
with no type attribute, which the copied-from-rss.ts schema required —
so every publish run died in FeedSchema parse. Trim the schema to the
fields the script reads (title, published, description, content_encoded,
itunes_episodeType) so irrelevant feed changes can't break publishing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Rename publish script to publish-atproto-episodes; rebuild once per feed change

The script only publishes standard.site documents to ATProto — episode
pages come from the Astro build — so name it accordingly (pnpm scripts
are now publish:atproto / publish:atproto:backfill).

The gate also now records which feed content it already triggered a
Vercel rebuild for, separately from the publish-success hash. A
persistently failing publish (like the recent FeedSchema crash) keeps
retrying every poll but no longer fires a fresh build each time; the
publish script still waits on the pages from the one build it did
trigger.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Restore relative dasherize import

An in-progress workspace import path ('starpod/src/utils/dasherize')
was accidentally captured during the rename; main still has src/ at the
repo root, so astro check failed with ts(2307).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
www-starpod Building Building Preview Aug 25, 2026 1:01am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 13661df4-b1e2-474d-9659-79de5e914b2c

📥 Commits

Reviewing files that changed from the base of the PR and between 1c04e81 and 6e49e34.

📒 Files selected for processing (5)
  • .github/workflows/backfill-episodes.yml
  • .github/workflows/publish-episodes.yml
  • README.md
  • package.json
  • scripts/publish-atproto-episodes.ts

📝 Walkthrough

Walkthrough

The PR switches episode publishing commands and workflows to the AtProto publisher, narrows feed validation to used fields, and adds rebuild-hash tracking around site rebuild webhooks.

Changes

AtProto publishing

Layer / File(s) Summary
AtProto commands and feed contract
package.json, README.md, scripts/publish-atproto-episodes.ts
Package commands, documentation, usage comments, and feed validation now use AtProto names and required fields.
Publish rebuild tracking
.github/workflows/publish-episodes.yml
The workflow tracks rebuild hashes, skips duplicate webhook calls, handles missing or failed webhooks, and persists hashes after successful triggers.
Workflow publisher wiring
.github/workflows/publish-episodes.yml, .github/workflows/backfill-episodes.yml
Publish and backfill steps now invoke publish-atproto-episodes.ts.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant PublishWorkflow as publish-episodes workflow
  participant RebuildHash as rebuild hash state
  participant SiteWebhook as site rebuild webhook
  PublishWorkflow->>RebuildHash: restore recorded rebuild hash
  PublishWorkflow->>SiteWebhook: trigger rebuild with current feed hash
  SiteWebhook-->>PublishWorkflow: return webhook result
  PublishWorkflow->>RebuildHash: save hash after successful trigger
Loading

Suggested reviewers: argyleink

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-upstream-2

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RobbieTheWagner
RobbieTheWagner merged commit 55fbbee into main Aug 25, 2026
4 of 6 checks passed
@RobbieTheWagner
RobbieTheWagner deleted the update-upstream-2 branch August 25, 2026 01:02

This branch was successfully deployed

1 active deployment
Preview — 6e49e347 Deployed Aug 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant