Skip to content

Add end-to-end suite - #36

Merged
jclusso merged 5 commits into
masterfrom
live-e2e-suite
Oct 7, 2026
Merged

jclusso merged 5 commits into
masterfrom
live-e2e-suite

Conversation

@jclusso

@jclusso jclusso commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

The stub tests encode what we believe the API returns, so they can't catch the API changing underneath the CLI. This runs the built binary against the real API with a test key on every PR and push to master, and skips when EMAILABLE_TEST_API_KEY isn't available.

@jclusso jclusso changed the title Add live end-to-end suite Add end-to-end suite Oct 7, 2026
@jclusso
jclusso changed the base branch from master to output-fixes October 7, 2026 17:01
@jclusso
jclusso requested a balanced review from Copilot October 7, 2026 17:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Environment leakage, an unbounded download, and cross-run rate-limit collisions can make the suite unreliable.

3 open findings
What changed in this PR

Adds live API end-to-end coverage for the compiled CLI.

Changes:

  • Adds account, verification, batch, download, and rate-limit tests.
  • Runs E2E tests across Linux, macOS, and Windows.
  • Documents the new Make target and required test key.
File Description
README.md Documents E2E test usage.
Makefile Adds the test-e2e target.
e2e/​e2e_test.go Implements the live API test suite.
.github/​workflows/​e2e.yml Runs the suite in GitHub Actions.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/e2e.yml
Comment thread e2e/e2e_test.go
Comment thread e2e/e2e_test.go Outdated
Base automatically changed from output-fixes to master October 7, 2026 19:50
…al API with a test key. The stub tests encode what we believe the API returns, so they can't catch the API changing underneath the CLI.
… a few test addresses. Also match the real API: an unknown key returns 403, and the free and accept-all flags turn a deliverable result risky.
…dows in the e2e suite, and drop the credit check since test keys never spend credits.
…verrides, and bound the download with a timeout.
@jclusso
jclusso marked this pull request as ready for review October 7, 2026 20:06
@jclusso
jclusso requested a balanced review from Copilot October 7, 2026 20:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approved

The suite safely isolates configuration, limits live API usage, and coordinates shared-account CI execution.

0 open findings

3 resolved since last review

🧠 Review effort: Balanced

@jclusso
jclusso merged commit f970024 into master Oct 7, 2026
8 checks passed
@jclusso
jclusso deleted the live-e2e-suite branch October 7, 2026 20:09
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.

2 participants