docs/add examples#9
Merged
Merged
Conversation
Patel230
commented
Jun 2, 2026
Contributor
- chore: add microservice architecture scaffolding
- fix: resolve lint, module hygiene, and markdown CI failures
- fix: exclude go.work from Docker build context
- fix: add Windows support for safewrite and update go.sum
- fix: gofumpt format safewrite_windows.go and add missing go.sum entry
- fix: clone eyrie in Docker build for unpublished packages
- fix: use go mod tidy in Docker to resolve eyrie replace directive
- fix: add eyrie replace directive after source copy
- docs: add examples directory with usage guide
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.
Add examples/README.md demonstrating basic usage, advanced features, and MCP integration.
Patel230
added a commit
that referenced
this pull request
Jun 8, 2026
* chore: add microservice architecture scaffolding 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: resolve lint, module hygiene, and markdown CI failures 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. * fix: exclude go.work from Docker build context hawk's go.work references external/ symlinks to sibling repos that don't exist in the Docker build context. * fix: add Windows support for safewrite and update go.sum 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. * fix: gofumpt format safewrite_windows.go and add missing go.sum entry 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. * fix: clone eyrie in Docker build for unpublished packages 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. * fix: use go mod tidy in Docker to resolve eyrie 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. * fix: add eyrie replace directive after source copy COPY . . was overwriting go.mod that had the replace directive. Move the replace + go mod tidy to after the source copy. * docs: add examples directory with usage guide Add examples/README.md demonstrating basic usage, advanced features, and MCP integration.
Patel230
added a commit
that referenced
this pull request
Jun 8, 2026
* chore: add microservice architecture scaffolding 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: resolve lint, module hygiene, and markdown CI failures 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. * fix: exclude go.work from Docker build context hawk's go.work references external/ symlinks to sibling repos that don't exist in the Docker build context. * fix: add Windows support for safewrite and update go.sum 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. * fix: gofumpt format safewrite_windows.go and add missing go.sum entry 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. * fix: clone eyrie in Docker build for unpublished packages 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. * fix: use go mod tidy in Docker to resolve eyrie 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. * fix: add eyrie replace directive after source copy COPY . . was overwriting go.mod that had the replace directive. Move the replace + go mod tidy to after the source copy. * docs: add examples directory with usage guide Add examples/README.md demonstrating basic usage, advanced features, and MCP integration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.