Sharing about possible boilerplate issue #270
drakkentech-team
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there
I apologize in advance if this is the wrong place to post this. I wasn't sure where I should report this, or even if I should.
I cloned this repo and followed the readme instructions as exactly as I could but I ran into an issue, which Codex helped me solve.
See the conversation below. I absolutely admit this was very likely just me messing something up, but in case it wasn't and this can help others, I post it here:
Me:
so, about this issue.
did we not do something wrong our side? This boilerplate app is pretty much as I downloaded it. I'd not have expected such obvious problems with it ...
Codex:
No, I don’t think you did anything wrong.
The original failure was internally inconsistent boilerplate state:
uv.lock exists at repo root: ./uv.lock
generated compose used build.context: ./backend
backend/Dockerfile did COPY pyproject.toml uv.lock ./
Docker can only copy files inside the build context, so with context set to ./backend, root uv.lock is invisible. That is a boilerplate/template bug, especially because the repo is clearly now a uv workspace.
There was a second boilerplate issue too: local compose starts the Taskiq worker with --reload, but the backend dev dependencies did not include taskiq[reload], so the worker exited until we added that extra.
So the fair diagnosis is: this boilerplate likely went through a workspace refactor and the Docker/deploy scaffolding didn’t fully catch up. The obviousness is exactly why it felt suspicious, but the downloaded state really did contain those mismatches.
One caveat: the root docker-compose.yml is generated and ignored by git, so our durable fixes are in the Dockerfile, backend deps, lockfile, and generator templates. If you regenerate compose now, it should produce the corrected build context.
Beta Was this translation helpful? Give feedback.
All reactions