feat: add Compose-backed orb service #42

Merged
addison merged 4 commits from chore/compose-amp-service into main 2026-08-13 03:38:30 -04:00
Collaborator

Summary

  • declare a supervised Amp portal service that launches the app with Docker Compose
  • build the frontend and Go backend into a non-root application container
  • start and seed the synthetic SQL Server before exposing the application
  • track .amp/services.yaml while keeping generated Amp runtime files ignored

Verification

  • amp orb services ensure — healthy, HTTP 200
  • portal root and /api/employees?feature=job_commissions — HTTP 200
  • docker compose config --quiet
  • frontend ESLint, Prettier, and production build
  • backend gofmt, go vet ./..., and go test ./...
  • Compose application image builds and runs as nobody

Known baseline failure

npm test currently fails the CopyableCell unmount-race regression test already present on main. PR #37 fixes that failure; this PR intentionally does not duplicate its application changes.

## Summary - declare a supervised Amp portal service that launches the app with Docker Compose - build the frontend and Go backend into a non-root application container - start and seed the synthetic SQL Server before exposing the application - track `.amp/services.yaml` while keeping generated Amp runtime files ignored ## Verification - `amp orb services ensure` — healthy, HTTP 200 - portal root and `/api/employees?feature=job_commissions` — HTTP 200 - `docker compose config --quiet` - frontend ESLint, Prettier, and production build - backend gofmt, `go vet ./...`, and `go test ./...` - Compose application image builds and runs as `nobody` ## Known baseline failure `npm test` currently fails the `CopyableCell` unmount-race regression test already present on `main`. PR #37 fixes that failure; this PR intentionally does not duplicate its application changes.
feat: add Compose-backed orb service
Some checks failed
CI / frontend (pull_request) Failing after 32s
CI / backend (pull_request) Has been skipped
5f1a442828
Amp-Thread-ID: https://ampcode.com/threads/T-019ff301-1774-77cd-b365-c52ea41be12f
Co-authored-by: Addison Emig <[email protected]>
chore: start orb services during setup
Some checks failed
CI / frontend (pull_request) Failing after 28s
CI / backend (pull_request) Has been skipped
0bc94a5944
Amp-Thread-ID: https://ampcode.com/threads/T-019ff301-1774-77cd-b365-c52ea41be12f
Co-authored-by: Addison Emig <[email protected]>
fix: scope portal HTTP to Amp orbs
Some checks failed
CI / frontend (pull_request) Failing after 28s
CI / backend (pull_request) Has been skipped
17312879c3
Amp-Thread-ID: https://ampcode.com/threads/T-019ff301-1774-77cd-b365-c52ea41be12f
Co-authored-by: Addison Emig <[email protected]>
Merge branch 'main' into chore/compose-amp-service
All checks were successful
CI / frontend (pull_request) Successful in 30s
CI / backend (pull_request) Successful in 40s
fe529160b9
addison deleted branch chore/compose-amp-service 2026-08-13 03:38:30 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kwila/office-extensions!42
No description provided.