Skip to content

chore: add microservice architecture scaffolding#8

Closed
Patel230 wants to merge 8 commits into
mainfrom
chore/microservice-arch
Closed

chore: add microservice architecture scaffolding#8
Patel230 wants to merge 8 commits into
mainfrom
chore/microservice-arch

Conversation

@Patel230

@Patel230 Patel230 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add .env.example
  • Add api/openapi.yaml (daemon REST API contract)
  • Add deploy/docker/docker-compose.yml
  • Add docs/architecture.md (modern, emoji-labeled)
  • Add .github/workflows/docker.yml (GHCR build+push CI)

Patel230 added 8 commits June 1, 2026 22:15
Add .env.example, api/openapi.yaml, deploy/docker/docker-compose.yml,
docs/architecture.md, and .github/workflows/docker.yml for GHCI build+push CI.
Fix errcheck on rows.Close(), simplify bool comparison,
remove unused knownFields var, fix empty badge links,
and run go work sync to update module consistency.
hawk's go.work references external/ symlinks to sibling
repos that don't exist in the Docker build context.
Add //go:build !windows constraint to safewrite.go (uses unix
syscalls), create safewrite_windows.go with portable fallback,
skip tests on Windows, and run go mod download to add missing
go.sum entry for golang.org/x/tools.
The Windows stub needed formatting. Also add the /go.mod hash
for golang.org/x/tools v0.45.0 that was missing from go.sum,
causing the Docker build to fail.
hawk depends on eyrie packages (credentials, runtime, setup,
catalog/registry) that aren't in the published v0.5.0. Clone
eyrie into the builder and add a replace directive.
The replace directive needs go mod tidy (not just download) to
resolve all transitive dependencies from the local eyrie clone.
Use -mod=mod to allow go.mod changes during build.
COPY . . was overwriting go.mod that had the replace directive.
Move the replace + go mod tidy to after the source copy.
@Patel230 Patel230 closed this Jun 2, 2026
@Patel230 Patel230 deleted the chore/microservice-arch branch June 2, 2026 00:29
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