Skip to content

Add self-validating sandbox example E2E tests - #61

Open
dispix wants to merge 3 commits into
koyeb:mainfrom
dispix:octave/sandbox-examples-e2e
Open

Add self-validating sandbox example E2E tests#61
dispix wants to merge 3 commits into
koyeb:mainfrom
dispix:octave/sandbox-examples-e2e

Conversation

@dispix

@dispix dispix commented Sep 10, 2026

Copy link
Copy Markdown

Summary

  • make each sandbox example assert its expected behavior
  • add optional KOYEB_PROJECT_ID support for isolated E2E resources
  • run every synchronous and asynchronous example in scheduled and manual GitHub Actions jobs
  • run the snapshot benchmark with reduced CI settings

Configuration

  • secret: KOYEB_API_TOKEN
  • optional variables: KOYEB_API_HOST, KOYEB_PROJECT_ID, KOYEB_REGION

The API token selects the Koyeb organization. KOYEB_PROJECT_ID selects its project.

Validation

  • .venv/bin/pytest -q
  • python3 -m compileall -q koyeb examples
  • git diff --check main...HEAD

Live E2E execution was not run locally because KOYEB_API_TOKEN is not available.

@dispix
dispix force-pushed the octave/sandbox-examples-e2e branch 2 times, most recently from ac55fa7 to 06b5a70 Compare September 10, 2026 13:22
@dispix
dispix force-pushed the octave/sandbox-examples-e2e branch from 06b5a70 to 4722a2c Compare September 10, 2026 13:23
@lukaszo

lukaszo commented Sep 10, 2026

Copy link
Copy Markdown
Member

We already run all examples in our e2e promotion pipeline.

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