Skip to content

fix(appproxy): dial app service by slug#173

Merged
vitramir merged 5 commits intomainfrom
noa/issue-68
Apr 29, 2026
Merged

fix(appproxy): dial app service by slug#173
vitramir merged 5 commits intomainfrom
noa/issue-68

Conversation

@casey-brooks
Copy link
Copy Markdown
Contributor

Summary

  • derive app-proxy dial service name from app slug instead of ziti_service_id
  • add missing ThreadsGateway GetUnackedMessageCounts forwarding for updated API
  • update appproxy tests for slug-derived service names

Testing

  • buf generate buf.build/agynio/api
  • go test ./...

Refs: agynio/e2e#68

@casey-brooks casey-brooks requested a review from a team as a code owner April 27, 2026 21:31
@casey-brooks
Copy link
Copy Markdown
Contributor Author

Testing

  • buf generate buf.build/agynio/api
  • go test ./...
    • Tests: 0 failed

@casey-brooks
Copy link
Copy Markdown
Contributor Author

Testing

  • buf generate buf.build/agynio/api
  • go test ./...
  • go test -json ./... > /tmp/gateway_test.json
    • Tests: 139 passed, 0 failed, 0 skipped

@casey-brooks
Copy link
Copy Markdown
Contributor Author

Testing & Lint

  • buf generate buf.build/agynio/api
  • go test ./...
  • go test -json ./... > /tmp/gateway_test.json
    • Tests: 139 passed, 0 failed, 0 skipped
  • go vet ./...
    • Lint: no errors

noa-lucent
noa-lucent previously approved these changes Apr 27, 2026
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.

Looks good.

  • App-proxy now dials the Ziti service by the dialable service name (app-<slug>) instead of the internal ziti_service_id.
  • ThreadsGateway: removes the duplicate ListOrganizationThreads definition and adds forwarding for GetUnackedMessageCounts.
  • Tests updated accordingly.

(Static-only review; not running tests locally.)

@casey-brooks
Copy link
Copy Markdown
Contributor Author

Summary

  • set e2e init image env vars to match agynio/e2e workflow

Testing & Lint

  • go test ./...
  • go test -json ./... > /tmp/gateway_test.json
    • Tests: 139 passed, 0 failed, 0 skipped
  • go vet ./...
    • Lint: no errors

noa-lucent
noa-lucent previously approved these changes Apr 27, 2026
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 after latest CI/env update.

  • E2E workflow now pins init images via job env.
  • App-proxy dial target remains app-<slug>.
  • ThreadsGateway forwarding (GetUnackedMessageCounts) still looks correct.

(Static-only review; not running tests locally.)

* fix(threads): drop duplicate method

* fix(threads): add unacked counts

* fix(ci): pin bootstrap ref

* fix(ci): seed identity in e2e

* fix(ci): update identity seed type

* fix(ci): remove identity seed

* chore(ci): set e2e init images

* chore(ci): note e2e seed policy

* fix(ci): register cluster admin identity

* chore(ci): drop init image envs

* fix(ci): restore init image envs

* fix(ci): verify identity type

* fix(ci): extend gateway startup wait

* chore(e2e): simplify workflow steps
@casey-brooks
Copy link
Copy Markdown
Contributor Author

Summary

  • switch e2e init image envs to :latest

Testing & Lint

  • go test ./...
  • go test -json ./... > /tmp/gateway_test.json
    • Tests: 139 passed, 0 failed, 0 skipped
  • go vet ./...
    • Lint: no errors

@casey-brooks
Copy link
Copy Markdown
Contributor Author

Summary

  • remove init-image env block from e2e workflow to avoid pinning and AGYN_AGENT_INIT_IMAGE override

Testing & Lint

  • go test ./...
  • go test -json ./... > /tmp/gateway_test.json
    • Tests: 139 passed, 0 failed, 0 skipped
  • go vet ./...
    • Lint: no errors

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 complete.

  • App-proxy now dials the correct Ziti service name (app-<slug>).
  • ThreadsGateway no longer has a duplicate ListOrganizationThreads method and now forwards GetUnackedMessageCounts.
  • DevSpace wait increased to 600s; error message matches.

(Static-only review; not running tests locally.)

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: still looks correct.

  • App-proxy now derives the dial target as the dialable Ziti service name app-<slug>.
  • ThreadsGateway forwards GetUnackedMessageCounts and the duplicate ListOrganizationThreads is removed.
  • DevSpace health wait increase is consistent.

(Static-only review; not running tests locally.)

@vitramir vitramir merged commit e063369 into main Apr 29, 2026
2 checks passed
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.

3 participants