|
Some checks failed
Forgejo Android APK / Root app tests (push) Successful in 47s
Forgejo Docker Build / Root app tests (push) Successful in 46s
Forgejo Android APK / Build signed APK (push) Successful in 2m12s
Forgejo Docker Build / Build Docker image (push) Successful in 17s
Forgejo Docker Build / Deploy to the host (push) Failing after 0s
`docker compose up` starts whatever PED_AI_IMAGE in .env names, and
build-image.sh does not move that pin. A pin left from an earlier deploy
therefore starts the older image while every signal reports success: the build
completes, `up` says the container started, and /api/health returns {ok:true}
from the wrong revision.
This is not hypothetical. The pin here had been sitting on a revision from two
hours before the Modify card was added, so a rebuild-and-restart rolled My
Resources back 31 commits and removed the feature. The missing card was then
reported as a new bug, and three deploys in this session had in fact deployed
nothing.
build-image.sh now compares the pin to the revision it just built and, when they
differ, prints the pin, says that `up` will start it instead, and gives the
command to move it. It does not correct the pin: naming a revision is also how a
deliberate rollback is done, so this is said rather than silently overridden.
Both deployment docs now check /api/build against `git rev-parse HEAD` after
starting, because /api/health passing only proves a container is up, not that it
is the one you built.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU
|
||
|---|---|---|
| .. | ||
| logic | ||
| ai-providers.md | ||
| api-reference.md | ||
| architecture.md | ||
| authentication.md | ||
| clinical-assistant.md | ||
| configuration.md | ||
| database.md | ||
| deployment.md | ||
| developer-guide.md | ||
| embeddings-setup.md | ||
| features-explained.md | ||
| global-prompt-administration.md | ||
| improvements.md | ||
| learning-hub.md | ||
| migrations.md | ||
| mobile-build.md | ||
| module-conventions.md | ||
| my-resources.md | ||
| openid-setup.md | ||
| ops-docs-ped-ai-and-milvus.md | ||
| retrieval-tuning.md | ||
| scaling.md | ||
| speech.md | ||