Skip to content

fix: retry status API requests and report package mismatches - #16

Merged
Skaronator merged 4 commits into
mainfrom
fix/status-api-smoke-test
Nov 1, 2026
Merged

Skaronator merged 4 commits into
mainfrom
fix/status-api-smoke-test

Conversation

@Skaronator

Copy link
Copy Markdown
Contributor

Fix

  • Retry a failed status API request up to four times with a ten-second socket timeout; do not retry a successful response with incorrect metadata.
  • Report the request exit status or expected/actual package field instead of a generic failure. Do not dump unrelated API response fields or the generated API key.
  • Keep the existing real-image startup, exact version, package author link, and shutdown checks. No additional mock-test suite is added.

Validation

  • The updated smoke test passed against the real local stable radarr image on amd64.
  • ShellCheck and Bash syntax checks passed.
  • Arm64 validation remains for PR CI. The previous Radarr arm64 status API failure did not reveal whether the request failed or metadata was incorrect; this change makes that distinction visible.

Dependency

Merge tuxcrate/github-actions#32 first, then rerun this PR to exercise the new production release rehearsal before merging. It catches the draft-finalization failure that previously escaped image PR checks.

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Container preview: stable

Built for merge commit 2f33fec3c9a16646f89f11fdf902b049310d1192 on linux/amd64,linux/arm64.

Pull the latest build of this PR:

docker pull ghcr.io/tuxcrate/radarr-pr:pr-16-stable

Pull the build for this commit:

docker pull ghcr.io/tuxcrate/radarr-pr:pr-16-stable-2f33fec3c9a16646f89f11fdf902b049310d1192

Pin this exact image (tags may change on reruns):

docker pull ghcr.io/tuxcrate/radarr-pr@sha256:58d9390415b638940c27c55263bf247651eadc0497fb1ebfd131c83b8b7002f8

Build details. Preview images are for testing, not production.

Synthetic release.json (validation only)

Generated to validate release metadata. Revision r0 is a placeholder, not a published release revision; the digest identifies the tested multiarch artifact.

{
  "schemaVersion": 2,
  "image": "ghcr.io/tuxcrate/radarr",
  "track": "stable",
  "version": "6.4.4.10685",
  "imageVersion": "6.4.4.10685",
  "revision": 0,
  "immutableTag": "6.4.4.10685-r0",
  "digest": "sha256:58d9390415b638940c27c55263bf247651eadc0497fb1ebfd131c83b8b7002f8",
  "aliasesAtPublication": [
    "6.4.4.10685",
    "6",
    "6.4",
    "latest"
  ],
  "platforms": [
    "linux/amd64",
    "linux/arm64"
  ],
  "sourceCommit": "2f33fec3c9a16646f89f11fdf902b049310d1192",
  "os_flavor": "alpine",
  "os_version": "3.24.3"
}

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Container preview: prerelease

Built for merge commit 2f33fec3c9a16646f89f11fdf902b049310d1192 on linux/amd64,linux/arm64.

Pull the latest build of this PR:

docker pull ghcr.io/tuxcrate/radarr-pr:pr-16-prerelease

Pull the build for this commit:

docker pull ghcr.io/tuxcrate/radarr-pr:pr-16-prerelease-2f33fec3c9a16646f89f11fdf902b049310d1192

Pin this exact image (tags may change on reruns):

docker pull ghcr.io/tuxcrate/radarr-pr@sha256:d5892faf44e21f35568f7c47d2fe5e589bb1999e8ca6fb59131a3c09dec0e32b

Build details. Preview images are for testing, not production.

Synthetic release.json (validation only)

Generated to validate release metadata. Revision r0 is a placeholder, not a published release revision; the digest identifies the tested multiarch artifact.

{
  "schemaVersion": 2,
  "image": "ghcr.io/tuxcrate/radarr",
  "track": "prerelease",
  "version": "7.0.0.10815",
  "imageVersion": "7.0.0.10815-prerelease",
  "revision": 0,
  "immutableTag": "7.0.0.10815-prerelease-r0",
  "digest": "sha256:d5892faf44e21f35568f7c47d2fe5e589bb1999e8ca6fb59131a3c09dec0e32b",
  "aliasesAtPublication": [
    "7.0.0.10815-prerelease",
    "7-prerelease",
    "7.0-prerelease"
  ],
  "platforms": [
    "linux/amd64",
    "linux/arm64"
  ],
  "sourceCommit": "2f33fec3c9a16646f89f11fdf902b049310d1192",
  "os_flavor": "alpine",
  "os_version": "3.24.3"
}

@Skaronator
Skaronator merged commit f3ee971 into main Nov 1, 2026
8 checks passed
@Skaronator
Skaronator deleted the fix/status-api-smoke-test branch November 1, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant