Skip to content

Persist mini-server deploy image#81

Merged
rktclgh merged 1 commit into
mainfrom
issue/be-persist-deploy-image
May 28, 2026
Merged

Persist mini-server deploy image#81
rktclgh merged 1 commit into
mainfrom
issue/be-persist-deploy-image

Conversation

@rktclgh

@rktclgh rktclgh commented May 28, 2026

Copy link
Copy Markdown
Owner

Summary\n- persist the GitHub SHA backend image into the mini-server .env during deploy\n- keep compose-only FAIRPLAY_BACKEND_IMAGE out of app.env while preserving runtime env values\n- prevent later compose restarts from falling back to mutable latest\n\n## Verification\n- git diff --check\n- production recovery verified manually with fairplay-backend running songchih/fairplay-backend:4cf39dc6ac43e08b42f381716b6a69a88bc3b457 and external health 200/UP\n\n## Notes\n- CodeRabbit rate-limit or stale notices are non-blocking per project rule; concrete high-severity review findings should still be addressed.

The mini-server compose file falls back to latest when FAIRPLAY_BACKEND_IMAGE is absent from the server .env. Persist the GitHub SHA image during deploy before generating app.env so manual or automated compose restarts keep running the reviewed image.

Constraint: Mini-server compose uses .env for restart-time variable resolution

Rejected: Rely only on GitHub Actions job env | restarts outside the job lose that value

Confidence: high

Scope-risk: narrow

Tested: git diff --check

Not-tested: GitHub Actions deploy rerun pending PR merge
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@rktclgh rktclgh merged commit a6eb635 into main May 28, 2026
1 check passed
@rktclgh rktclgh deleted the issue/be-persist-deploy-image branch May 28, 2026 07:42
@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ece07b3b-7823-4ccc-b21f-605a10e0da2a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch issue/be-persist-deploy-image

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 and usage tips.

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