fix: entrypoint honors one-off commands; ruff gate covers scripts/ #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/oneoff-cmds-and-scripts-lint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two operational fixes surfaced by the commitment-primitive rollout (2026-08-03).
1.
dokku run <app> <cmd>silently boots a second uvicorn instead of running<cmd>. The entrypoint never consumed its arguments — migrations, then unconditionalexec uvicorn. Seeding the commitment fixtures viadokku runproduced exit 0, no output, and no effect. After migrations the entrypoint nowexec "$@"when arguments are present; the no-args path (production boot, CI smoke test) is unchanged.2.
scripts/was outside the ruff gate. CI lintedapp/ tests/only — the exact blind spot PR #15's asyncpg bug lived in, and PR #16's seed script was only linted locally. Both ruff lines now includescripts/(2 tracked files).Deploy note: the entrypoint change only takes effect after the image redeploys — merging this PR triggers that deploy. Post-deploy check:
dokku run haskos-finance echo okshould printok.1ead5f7b7a6b03132a92