Skip to content

test: verify Gmail integration with local HTTP servers - #11

Draft
Portals wants to merge 1 commit into
codex/01-unit-testsfrom
codex/02-integration-tests
Draft

test: verify Gmail integration with local HTTP servers#11
Portals wants to merge 1 commit into
codex/01-unit-testsfrom
codex/02-integration-tests

Conversation

@Portals

@Portals Portals commented Sep 7, 2026

Copy link
Copy Markdown
Member

Exercises Gotify's real HTTP router and official Google client against local token and Gmail endpoints. Tests verify JWT signatures and impersonation claims, successful mail responses, quota/service errors, token rejection, and malformed upstream JSON. Adds routing compatibility tests for the later router replacement.

Validation: go test -race -count=1 ./... and git diff --check passed. A fresh-context subagent independently reviewed commit 042e23f97b85d69515de05f1e25104e527acb1f0 against this PR's goal and returned OK. No real Google credentials or Docker are required; existing test CI includes these cases.

Stack: 2 of 6, based on #10 (codex/01-unit-tests). Review only this incremental diff and merge in stack order.

@Portals
Portals marked this pull request as draft September 7, 2026 18:51
@Portals Portals changed the title test: verify Gmail integration with local HTTP servers (2/6) test: verify Gmail integration with local HTTP servers Sep 7, 2026
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.

1 participant