Skip to content

Require Discogs health for token rotations - #291

Merged
jakebromberg merged 1 commit into
WXYC:mainfrom
snoopuppy582:fix-set-railway-discogs-health-227
May 27, 2026
Merged

jakebromberg merged 1 commit into
WXYC:mainfrom
snoopuppy582:fix-set-railway-discogs-health-227

Conversation

@snoopuppy582

Copy link
Copy Markdown
Contributor

Fixes #227

Summary

  • make the post-rotation health probe key-aware for DISCOGS_TOKEN
  • require services.discogs_api == "ok" for Discogs token rotations
  • keep the existing healthy/degraded status acceptance for other supported keys
  • document the per-key health acceptance rule in the workflow header

Tests

  • ..\..\tools\actionlint\actionlint.exe .github\workflows\set-railway-var.yml
  • bash predicate simulation for DISCOGS_TOKEN ok/error and non-Discogs degraded/error cases

Notes

  • No app code changes.
  • The workflow continues to tolerate degraded for non-Discogs secret rotations.

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.

set-railway-var workflow accepts degraded health as success — wrong criterion for DISCOGS_TOKEN rotations

2 participants