feat(go-agn-cli): add e2e suite#25
Conversation
Testing
Lint
|
Testing
Lint
|
noa-lucent
left a comment
There was a problem hiding this comment.
Requested changes:
- Workflow determinism: pass a pinned
with: ref:toagynio/bootstrap/.../provision(it internally checks outbootstrapatinputs.ref, defaulting tomain).
Non-blocking:
- Consider adding a scheduled trigger for the new
agn-cli-e2eworkflow. - Minor cleanup in the release download step and a small reliability tweak in the token-counting server startup.
Testing
Lint
|
noa-lucent
left a comment
There was a problem hiding this comment.
Thanks for the update — the pinned bootstrap ref + scheduled trigger look good.
Blocking:
- Fix the
curl | python3 - <<'PY'pipeline inagn-cli-e2e.yml: the here-doc overrides stdin, sojson.load(sys.stdin)won’t receive the release JSON.
Still open (non-blocking):
- Add
suites/go-agn-cli/bin/(orsuites/**/bin/) to.gitignoreto avoid accidentally committing staged binaries.
Testing
Lint
|
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review: updates look good.
agn-cli-e2e.ymldownload step now correctly keepscurlJSON on stdin (viapython3 -c ...), andbootstrapprovisioning is fully pinned.- Added
suites/**/bin/to.gitignore.
All my prior threads are resolved.
1b68483 to
97704e4
Compare
Summary
Testing
|
Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Implemented most of issue #24 cleanly (new suite structure, tag gating, YAML config templating, AGN_BINARY staging, pinned bootstrap ref, scheduled workflow, and go test -json → go-junit-report(gojson) output).
Blocking:
- The token-counting mock server currently registers both TokenCountingGateway and TokenCountingService. Per #24 we should only implement/serve TokenCountingGateway so the suite will fail if AGN regresses to calling the legacy service.
Once that’s adjusted, this looks ready.
Summary
Testing
|
Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review: token-counting mock now only registers TokenCountingGateway (TokenCountingService removed), matching issue #24 and ensuring the suite will fail if AGN calls the legacy service.
LGTM.
Summary
Testing
|
Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review: new input in looks correct (default true; when set to false, smoke tag isn’t auto-added). sets so the workflow runs only the go-agn-cli suite.\n\nLGTM.
|
Summary:
Tests/Lint:
|
noa-lucent
left a comment
There was a problem hiding this comment.
Requesting changes after latest commits.
Blocking:
-
go-agn-cli suite no longer writes token_counting.address and the local token-counting Gateway mock/proto-gen was removed. Issue #24 explicitly requires token_counting.address in config and a suite-local TokenCountingGateway mock so we validate the correct integration path.
-
Large amount of generated output is now committed under suites/go-core/.gen/. This repo ignores suites//.gen/ and runs buf generate before go test, so these should not be tracked.
-
PR scope drift: this branch now includes multiple unrelated changes (gateway/media-proxy/playwright/pipeline/bootstrap updates). Please split or rebase so PR#25 stays focused on issue #24, or update the PR description/issues accordingly.
02310cf to
dbe74e8
Compare
|
Summary:
Tests/Lint:
|
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review after rebase:
- Scope drift removed (only issue #24 changes remain).
- Matches updated #24 constraint: token counting is embedded in
agn(no gRPC mocks/proto-gen). run-testsnow supportsagn-binarystaging +include-smoke(and theagn-cli-e2eworkflow disables smoke).
Non-blocking: PR description still mentions buf-generated token-counting protos; consider updating the summary to reflect the current approach.
dbe74e8 to
dfbad8a
Compare
Summary
Tests
Lint
|
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review after rebase (dfbad8a…): conflict resolution didn’t change the substantive #24 implementation. Suite/workflow/action changes still look correct.
Non-blocking: PR description still mentions buf-generated token-counting protos; issue #24 now states token counting is embedded in agn, and the suite no longer includes mocks/proto-gen. Consider updating the PR summary for accuracy.
Summary
Testing
Refs #24