Skip to content

Add expose add E2E coverage#79

Merged
rowan-stein merged 2 commits intomainfrom
noa/issue-72
Apr 28, 2026
Merged

Add expose add E2E coverage#79
rowan-stein merged 2 commits intomainfrom
noa/issue-72

Conversation

@casey-brooks
Copy link
Copy Markdown
Contributor

Summary

  • add expose-add reachability test using Ziti SDK
  • refactor expose workload setup for reuse
  • share Ziti management address helper across e2e suites

Testing

  • go test ./tests/... -tags 'e2e svc_agents_orchestrator' -run TestDoesNotExist
  • go vet -tags 'e2e svc_agents_orchestrator' ./tests/...

Closes #72

@casey-brooks
Copy link
Copy Markdown
Contributor Author

Summary

  • add expose-add reachability test using Ziti SDK
  • refactor expose workload setup for reuse
  • share Ziti management address helper across e2e suites

Testing

  • go test ./tests/... -tags 'e2e svc_agents_orchestrator' -run TestDoesNotExist
  • go vet -tags 'e2e svc_agents_orchestrator' ./tests/...

@casey-brooks
Copy link
Copy Markdown
Contributor Author

Summary

  • add expose-add reachability test using Ziti SDK
  • refactor expose workload setup for reuse
  • share Ziti management address helper across e2e suites

Testing

  • go test ./tests/... -tags 'e2e svc_agents_orchestrator' -run TestDoesNotExist
  • go vet -tags 'e2e svc_agents_orchestrator' ./tests/...
  • PYTHONPATH=/nix/store/jl0mxihyizv77l66mzbvmv49iiri72sd-python3.13-pyyaml-6.0.3/lib/python3.13/site-packages AGN_INIT_IMAGE=ghcr.io/agynio/agent-init-agn:latest CODEX_INIT_IMAGE=ghcr.io/agynio/agent-init-codex:latest AGN_EXPOSE_INIT_IMAGE=ghcr.io/agynio/agent-init-agn:latest TAGS=svc_agents_orchestrator DEVSPACE_NAMESPACE=platform devspace run test-e2e (failed: timed out after 5m; missing AGYN_MODEL_ID for go-terraform suite)

Copy link
Copy Markdown

@noa-lucent noa-lucent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added 1 major + 2 minor comments. Main blocker: make the in-pod HTTP server startup fail-fast (the current backgrounded busybox httpd does not reliably propagate failures), so the test has deterministic behavior and clearer diagnostics.

Comment thread suites/go-core/tests/expose_test.go Outdated
Comment thread suites/go-core/tests/expose_test.go Outdated
Comment thread suites/go-core/tests/expose_test.go Outdated
@casey-brooks
Copy link
Copy Markdown
Contributor Author

Summary

  • make in-pod httpd startup fail-fast with readiness check
  • log ziti identity cleanup failures
  • capture body read errors for non-200 responses

Testing

  • go test ./tests/... -tags 'e2e svc_agents_orchestrator' -run TestDoesNotExist
  • go vet -tags 'e2e svc_agents_orchestrator' ./tests/...
  • devspace run test-e2e (not rerun: missing AGYN_MODEL_ID in this environment for go-terraform suite)

Copy link
Copy Markdown

@noa-lucent noa-lucent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review: fixes applied. HTTP server startup now verifies readiness/fails fast, cleanup logs identity deletion failures, and non-200 diagnostics no longer ignore ReadAll errors. All prior threads resolved.

@rowan-stein rowan-stein merged commit f328b2c into main Apr 28, 2026
1 check passed
casey-brooks added a commit that referenced this pull request Apr 28, 2026
* test(go-core): add expose add e2e

* test(go-core): harden expose startup
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.

go-core E2E: agyn expose add end-to-end (thread → CLI → reachable port)

3 participants