ci: restore Backend Docker Image CI (fix the image instead of deleting the job)#974
Merged
Conversation
#969 unblocked CI by deleting the Backend Docker Image CI job. Restore it and fix the underlying image bug so it actually passes, keeping deployment-image validation (build + boot + prisma db push + healthcheck). The job's in-container 'prisma db push' failed with 'Could not find Prisma Schema'. #969 already copies prisma/ into the runner, but the schema's datasource block has no inline url, so under Prisma 7 the datasource url + schema path come from prisma.config.ts, which was still missing from the image. Copy prisma.config.ts into the runner stage (dotenv is a runtime dep so it loads; DATABASE_URL is passed to the health check via -e).
This was referenced Jul 1, 2026
Open
Open
Open
withdraw on a paused stream returns StreamInactive instead of a distinct paused error completed
#959
Open
This was referenced Jul 1, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Restores the Backend Docker Image CI job that #969 removed, and fixes the underlying image bug so the job actually passes, keeping deployment-image validation (image build + boot +
prisma db push+ healthcheck) rather than dropping that coverage.Root cause
The job's Boot and Check Health step runs
docker compose run backend npx -y prisma db pushinside the backend container, which failed withCould not find Prisma Schema. #969 fixed the build and copiedprisma/, but the schema'sdatasource db {}block has no inline url — under Prisma 7 the schema path and datasource url are read fromprisma.config.ts, which was still missing from the runtime image.Fix
backend/Dockerfile: alsoCOPY prisma.config.ts ./into the runner stage.dotenvis a runtime dependency so the config loads, and the datasource url resolves fromDATABASE_URL(passed to the health check via-e)..github/workflows/ci.yml: restore thebackend-dockerjob verbatim.Verification
This PR's CI runs the restored job end-to-end (build image → boot →
prisma db push→ healthcheck). It should pass; if it doesn't, the job stays failing-visible rather than silently absent.