Skip to content

Require deployment manifest for trading Docker - #714

Merged
KillariDev merged 14 commits into
mainfrom
t3code/fix-trading-deployment-config
Aug 16, 2026
Merged

Require deployment manifest for trading Docker#714
KillariDev merged 14 commits into
mainfrom
t3code/fix-trading-deployment-config

Conversation

@KillariDev

Copy link
Copy Markdown
Collaborator

Summary

  • default trading Docker and Compose builds to deployments/local.json
  • fail the image build clearly when the reviewed deployment manifest is absent
  • document the live deployment, build, and markets-route workflow
  • cover the Docker and Compose deployment defaults with a focused regression test

Why

The previous default silently wrote null to deployment.json, producing a demo-only image. Opening the normal markets route then failed at runtime with a missing deployment configuration message. A normal Docker build now requires real chain-specific deployment data and reports the missing prerequisite during the build instead.

Validation

  • cd trading && bun test ./ts/tests/dockerCompose.test.ts — 3 passed
  • bun run tsc — passed
  • bun run format:check — passed
  • cd trading && bun run format:check — passed
  • bun run check:changed — passed
  • cd trading && bunx @biomejs/biome check ts/tests/dockerCompose.test.ts README.md — passed
  • bun run knip — passed
  • git diff --check — passed

Docker execution was not available in the validation environment, so an end-to-end image build could not be run. The focused packaging test protects the Compose build argument, Dockerfile default, and missing-manifest check.

Review

  • final review: 86/100; one Low documentation ambiguity fixed
  • visual review: 86/100 with no findings; no application UI changed
  • branch current with origin/main before commit (0 commits behind)

@KillariDev
KillariDev merged commit 4d7c71d into main Aug 16, 2026
11 checks passed
@KillariDev
KillariDev deleted the t3code/fix-trading-deployment-config branch August 16, 2026 17:20
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