Skip to content

Validate since format and publicUrl trailing slash in filteredPodcastFeeds - #726

Merged
genebean merged 1 commit into
mainfrom
filtered_feed_followups
Sep 21, 2026
Merged

genebean merged 1 commit into
mainfrom
filtered_feed_followups

Conversation

@genebean

Copy link
Copy Markdown
Owner

Summary

Follow-up to #725, based on a ChatGPT review of that (already-merged) PR. Adds two eval-time assertions to genebean.services.filteredPodcastFeeds so bad config fails fast instead of surfacing as a per-feed "ERROR:" line in the generator's journal output at runtime:

  • feeds.<name>.since must match YYYY-MM-DD.
  • publicUrl must not end in a trailing slash (the generator appends /<slug>.xml).

Test plan

  • pre-commit run --all-files clean
  • deploy-rs --dry-activate --skip-checks against nixnuc evaluates cleanly with the current config (no trailing slash, no since set) — same derivation as the currently active system, so no rebuild/redeploy needed for this eval-only change

🤖 Generated with Claude Code

…Feeds

Fail fast at Nix eval time instead of surfacing as a per-feed "ERROR:"
line in the generator's journal output at runtime.

- since must match YYYY-MM-DD, checked via builtins.match.
- publicUrl must not end in a trailing slash, since the generator
  appends /<slug>.xml.

Suggested by a ChatGPT review of the already-merged #725.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: OpenAI Codex <noreply@openai.com>
@genebean
genebean enabled auto-merge September 21, 2026 03:53
@genebean
genebean merged commit fb13032 into main Sep 21, 2026
5 checks passed
@genebean
genebean deleted the filtered_feed_followups branch September 21, 2026 03:59
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