Skip to content

Run e2e scripts with nub - #205

Merged
cursor[bot] merged 1 commit into
masterfrom
cursor/run-e2e-scripts-with-nub-c21f
Nov 22, 2026
Merged

cursor[bot] merged 1 commit into
masterfrom
cursor/run-e2e-scripts-with-nub-c21f

Conversation

@jonbeckman

Copy link
Copy Markdown
Contributor

Summary

The nub skill runs repository TypeScript and JavaScript with nub <file>, not tsx. Validate already runs nub scripts/e2e/ai-report.mjs. These remaining entry points still went through tsx or named bun.

  • The e2e app target runs nub scripts/e2e/dev.ts. process.execPath under nub is the pinned Node binary, which is what scripts/e2e/dev.ts uses to spawn Alchemy.
  • docs/e2e.md now shows nub scripts/e2e/ai-report.mjs and nub scripts/e2e/ai-search.ts.
  • docs/database.md documents nub run infra:deploy:* for a D1 deploy with no DATABASE value.

Root package.json still starts some scripts with tsx. Draft pull request #185 also edits that file, and the nub skill says to ask before rewriting scripts, so this pull request leaves it alone.

Shell environment variables still win over any .env file nub loads.

This change has no user-visible effect. It uses the release:none label and does not add a Tegami entry.

Validation

  • nub run typecheck
  • nub run lint
  • nub run format
  • nub run config:check was run on the Effect concurrency branch against the same config files. This pull request does not change config.
  • nub scripts/e2e/ai-report.mjs with no mode exits 1 with E2E AI accounting failed; test results are unchanged.
  • nub scripts/e2e/ai-search.ts with no E2E_ENV_FILE throws Set E2E_ENV_FILE to the isolated test account's private credentials file. before any network call.
  • nub scripts/e2e/dev.ts loads under Node (process.execPath is the pinned Node binary) and reaches the existing Docker cleanup path. Docker is not installed in this environment, so it exits 1 with Docker cleanup failed. The Alchemy child is not spawned.
  • nub run test was not run. Docker is not installed, and the suite cannot boot the stack. The launcher command is the only application-side change.

Checklist

  • I added or updated tests for behavior changes, or explained why tests are not needed.
  • I updated documentation and config examples when behavior or configuration changed.
  • I added a .tegami/ release entry, or explained why this pull request uses release:none.
  • I ran nub run config:check, nub run typecheck, nub run lint, nub run format, and nub run test.
  • I did not include credentials, private data, internal URLs, or organization-specific defaults.
  • I updated THIRD_PARTY_NOTICES.md for new third-party code or separately licensed assets.
Open in Web Open in Cursor 

The nub runner executes these TypeScript and JavaScript files directly. The documented commands match the validate workflow, which already calls nub scripts/e2e/ai-report.mjs.

Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
@jonbeckman jonbeckman added the release:none label Nov 22, 2026 — with Cursor
@jonbeckman
jonbeckman marked this pull request as ready for review November 22, 2026 09:21
@github-actions

Copy link
Copy Markdown
Contributor

Tegami

This repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under .tegami/ before merging.

Create a changelog → · Changelog format

No changelogs yet

This PR has no pending changelog files. If your changes require a release, add a changelog before merging.

Run nub run tegami locally to create a changelog interactively.

Managed by Tegami.

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e solzero-core: 32 passed

4 agent steps · 4 replayed from cache

Change 3 files changed since 825b503
Filter decision kept all 30 tests (e2e.config.ts changed, so the decision filter left nothing out)

All 32 tests in 13 files
Test Agent Time
🟢 tests/accounts.e2e.ts · 3 passed 7.1s
🟢 create, use and revoke an isolated user API key 3.5s
🟢 Better Auth 1.7 account APIs select the local account row id 187ms
🟢 Accounts settings shows GitHub as unlinked without OAuth providers 3.4s
🟢 tests/admin.e2e.ts · 1 passed 5.5s
🟢 administrator pages show live control-plane configuration 5.5s
🟢 tests/advanced-sessions.e2e.ts · 2 passed 7.9s
🟢 incognito sessions stay outside normal lists but open directly 3.8s
🟢 session MCP definitions and subagent preferences persist 4.1s
🟢 tests/api-contract.e2e.ts · 1 passed 437ms
🟢 exported API key and session schemas decode actual Worker responses 437ms
🟢 tests/auth.e2e.ts · 4 passed 17.4s
🟢 sign-in gate protects every application route 1.0s
🟢 credential sign-in opens the requested settings page 7.7s
🟢 anonymous callers cannot access any protected API group 154ms
🟢 sign-out removes authenticated UI access 8.6s
🟢 tests/auth.setup.e2e.ts · 2 passed 8.0s
🟢 authenticate isolated admin 5.7s
🟢 authenticate isolated peer 2.3s
🟢 tests/bots.e2e.ts · 1 passed 5.5s
🟢 create a bot and manage a temporary routine through the UI 5.5s
🟢 tests/branding.e2e.ts · 3 passed 343ms
🟢 the selected deployment brand reaches the browser 298ms
🟢 health identifies the configured application without exposing configuration 23ms
🟢 OpenAPI uses the selected deployment brand 22ms
🟢 tests/session-transfer.e2e.ts · 1 passed 2.3s
🟢 admin authentication transfer redeems once and retains its deep link 2.3s
🟢 tests/sessions.e2e.ts · 5 passed 1 step 43.6s
🟢 session tools, archive and restoration persist through the real Worker 1 step 5.7s
🟢 a second account cannot read or mutate another account's session 323ms
🟢 isolate executes a real prompt and persists its output 8.7s
🟢 opencode executes a real prompt and persists its output 15.3s
🟢 codex executes a real prompt and persists its output 13.5s
🟢 tests/settings.e2e.ts · 5 passed 2 steps 25.6s
🟢 all settings categories load real data 7.9s
🟢 runtime default persists after reload 6.3s
🟢 MCP deep link and legacy settings URL open the MCP tab 2.6s
🟢 secret editor creates, finds and deletes a disposable secret 1 step 4.2s
🟢 theme preference survives reload 1 step 4.7s
🟢 tests/skills.e2e.ts · 1 passed 7.5s
🟢 global skill defaults and per-user preferences persist independently 7.5s
🟢 tests/workflows.e2e.ts · 3 passed 1 step 8.4s
🟢 workflow authoring, rename, export, disable and archive persist 1 step 5.8s
🟢 manual workflow executes JavaScript and stores a real R2 artifact 2.5s
🟢 invalid workflow definitions are rejected before storage 102ms

Tested by e2e 0.23.0 · 3m 21s · local-cloudflare · run artifacts

@cursor
cursor Bot merged commit 4840587 into master Nov 22, 2026
20 checks passed
@cursor
cursor Bot deleted the cursor/run-e2e-scripts-with-nub-c21f branch November 22, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants