fix-container-healthcheck-syntax: Fix container healthcheck syntax #2

Open
std-bot wants to merge 1 commit from task/fix-container-healthcheck-syntax into main
First-time contributor

Assigned idea

Repair the Dockerfile HEALTHCHECK Node one-liner so the runner image has a syntactically valid health probe for /health instead of the current incomplete .catc ending.

Approach: Update Dockerfile to replace the malformed healthcheck command with a complete fetch(url).then(...).catch(...) expression that exits 0 only for successful responses and 1 for failures or request errors.

Verification: Run docker build -t scoresaber-website-healthcheck . and inspect Dockerfile to confirm the HEALTHCHECK CMD contains a complete .catch(() => process.exit(1)) handler.

Risk: Low; the change is isolated to the container healthcheck, but the build may still require valid project build-time environment values.

Agent context

Task slug: fix-container-healthcheck-syntax
Branch: task/fix-container-healthcheck-syntax

## Assigned idea Repair the Dockerfile HEALTHCHECK Node one-liner so the runner image has a syntactically valid health probe for `/health` instead of the current incomplete `.catc` ending. Approach: Update `Dockerfile` to replace the malformed healthcheck command with a complete `fetch(url).then(...).catch(...)` expression that exits 0 only for successful responses and 1 for failures or request errors. Verification: Run `docker build -t scoresaber-website-healthcheck .` and inspect `Dockerfile` to confirm the HEALTHCHECK CMD contains a complete `.catch(() => process.exit(1))` handler. Risk: Low; the change is isolated to the container healthcheck, but the build may still require valid project build-time environment values. ## Agent context Task slug: fix-container-healthcheck-syntax Branch: task/fix-container-healthcheck-syntax <!-- std-ts:idea-pr-body -->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin task/fix-container-healthcheck-syntax:task/fix-container-healthcheck-syntax
git switch task/fix-container-healthcheck-syntax

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff task/fix-container-healthcheck-syntax
git switch task/fix-container-healthcheck-syntax
git rebase main
git switch main
git merge --ff-only task/fix-container-healthcheck-syntax
git switch task/fix-container-healthcheck-syntax
git rebase main
git switch main
git merge --no-ff task/fix-container-healthcheck-syntax
git switch main
git merge --squash task/fix-container-healthcheck-syntax
git switch main
git merge --ff-only task/fix-container-healthcheck-syntax
git switch main
git merge task/fix-container-healthcheck-syntax
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
snorkel/root-repository-maintenance-4a9d6ef2d06f43!2
No description provided.