Repository navigation
chore(agentgateway): bump to v1.7.0, slim compose config - #485
Merged
Merged
Conversation
v1.7.0 is the current agentgateway release (2026-10-27). config.yaml validates against it unchanged, so the pin moves up and the three --validate-only call sites move with it, keeping a validation run on the same binary the service runs. docker-compose.yaml drops from 123 to 94 lines with no change to services, environment, mounts or ports: the two multi-paragraph blocks (single-file mount inode trap, why :? has no default) keep their operative rule and point at the README/AGENTS.md sections that already carry the full reasoning. .env.example regroups the same variables under Providers / Overrides / Database, so the required AGENTGATEWAY_API_KEY is not at the bottom of a flat list of optional ones. Signed-off-by: pi <dimetron@me.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #485 +/- ##
==========================================
- Coverage 91.31% 91.31% -0.01%
==========================================
Files 403 403
Lines 52380 52380
==========================================
- Hits 47831 47829 -2
- Misses 4543 4545 +2
Partials 6 6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
What
hack/agentgatewaymoves fromv1.5.0tov1.7.0(current release, 2026-10-27), and the compose file gets a size pass.docker-compose.yamlv1.7.0; 123 → 94 lines, no change to services, env, mounts or portsdocker-compose.ollama-cloud.yamlv1.7.0.env.exampleREADME.md,AGENTS.md,update.sh--validate-onlyinvocations →v1.7.0config.yamlis untouched. It validates against v1.7.0 as-is.Why the version moves in four files
README.md:523,AGENTS.md:224andupdate.sh:132,271each run--validate-onlyagainst a hard-coded tag. Leaving them atv1.5.0means a change is validated by a binary older than the one that will serve it — a config can then pass validation here and fail ondocker compose up. All four files now name the same tag. Thev1.5.0references that stay are the two prose ones (README.md:461"A configured catalog replaces the built-in one on v1.5.0",AGENTS.md:116the Gemini 401 that v1.5.0 still shows) — they are claims about that version specifically, not pins.There is no compose var for the tag, so these are four literal strings and they will drift again.
update.shis the natural place to own the bump; I did not add that here.Why the compose file is smaller
Nothing was removed. Two multi-paragraph comment blocks — the single-file bind mount inode trap, and why
AGENTGATEWAY_API_KEYuses:?— shrank to their operative rule plus a pointer toREADME.md"The mount is the directory, not the files" and "A configured catalog replaces the built-in one on v1.5.0", which already carry the full failure signatures. That is what this directory's ownAGENTS.mdasks for, and it keeps the reasoning in one place instead of two that can disagree.Behaviour that is deliberate and preserved:
.:/etc/agentgatewaydirectory mount, still writable (storage.mode=filelets the UI rewriteconfig.yamlandbase-costs.json)./dev/null:/etc/agentgateway/.env:roshadowing, so the directory mount does not expose real keys.127.0.0.1:4000:4000loopback-only publish.AGENTGATEWAY_API_KEY: ${AGENTGATEWAY_API_KEY:?…}with no default.Verification
.env.examplevariable set diffed againstorigin/main: identical, so no key was silently dropped in the regroup. The.idea/and emptybackup/directories in my local copy were untracked and gitignored — deleted locally, nothing to do in this PR (backup-db.sh:23doesmkdir -p backup).No Go code touched, so
make testwas not re-run; the pre-commit hook (gofmt,golangci-lint) passed with 0 issues.Not in this PR
My running deployment (
$HOME/agentgateway) is ahead of this directory with three features — singleOLLAMA_API_KEY, aPRISMML_*host provider, and ajaegerservice withAGENTGATEWAY_OTLP_ENDPOINT. Each needs a matching provider or route inconfig.yaml, which this PR deliberately leaves alone, so copying the compose file would break startup. They belong in their own change, compose and config together.