fix: ignore local cache directories in go docker context - #1978
Merged
Merged
Conversation
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Go module’s Docker build context exclusions to prevent locally generated .cache directories from invalidating Docker COPY layers and forcing unnecessary rebuilds.
Changes:
- Add ignore patterns for
.cache/directories togo/.dockerignore. - Minor formatting normalization for the
Makefileentry ingo/.dockerignore.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
social4hyq
pushed a commit
to social4hyq/homebrew-core
that referenced
this pull request
Sep 20, 2026
kagent 0.9.7 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre><!-- Release notes generated using configuration in .github/release.yml at v0.9.7 --> ## What's Changed ### Features * feat(api): add workingDir to BYO agent deployment spec by @mesutoezdil in kagent-dev/kagent#1970 * feat(ui): add guard to prevent out-of-sync sends when working cross-tabs by @onematchfox in kagent-dev/kagent#1904 ### Bug Fixes * fix(controller): disable standalone SSE for STREAMABLE_HTTP remote mcp servers by @jmhbh in kagent-dev/kagent#1974 * fix: ignore local cache directories in go docker context by @EItanya in kagent-dev/kagent#1978 * fix(controller): return error instead of panicking on unknown auth mode by @SarthakB11 in kagent-dev/kagent#1791 ### Other Changes * Expose the controller's /metrics endpoint through a dedicated Service by @danielorbach in kagent-dev/kagent#1803 * Migrate from A2A v0 to v1 (part 1) by @supreme-gg-gg in kagent-dev/kagent#1921 * switch from tags to digest for images by @peterj in kagent-dev/kagent#1961 * automatically refresh substrate status page by @peterj in kagent-dev/kagent#1990 * chore: bump kagent tools to 0.2.1 by @jmhbh in kagent-dev/kagent#1995 * support running declarative agents in substrate by @peterj in kagent-dev/kagent#1981 **Full Changelog**: https://github.com/kagent-dev/kagent/compare/v0.9.6...v0.9.7</pre> <p>View the full release notes at <a href="https://github.com/kagent-dev/kagent/releases/tag/v0.9.7">https://github.com/kagent-dev/kagent/releases/tag/v0.9.7</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!11305
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.
Summary
Verification
make build-controller DOCKER_BUILD_ARGS='--progress=plain --platform linux/amd64 --output type=cacheonly'twice