Skip to content

Run workflow scripts with nub - #201

Merged
cursor[bot] merged 1 commit into
masterfrom
cursor/run-workflow-scripts-with-nub-703e
Nov 15, 2026
Merged

cursor[bot] merged 1 commit into
masterfrom
cursor/run-workflow-scripts-with-nub-703e

Conversation

@jonbeckman

Copy link
Copy Markdown
Contributor

Summary

The nub skill says to run repository scripts with nub, not node or tsx. These workflows already install nub before the steps that run the scripts.

  • Validate runs nub scripts/e2e/ai-report.mjs for init and summarize.
  • Preview deploy and cleanup run nub scripts/preview-lifecycle.mjs.
  • Preview verification runs nub scripts/preview-verify.mjs.
  • The release registry job runs nub scripts/publish-agent-container-images.ts instead of nub exec tsx.

Shell environment variables still win over any .env file nub loads, so the GitHub Actions environment is unchanged.

Root package.json still starts some scripts with tsx. That file is also edited by draft pull request #185, so this pull request leaves it alone.

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
  • actionlint 1.17.1 on validate.yml, pr-preview.yml, and release.yml (exit 0). Shellcheck is not installed in this environment, so actionlint did not check run: scripts the way CI does.
  • nub scripts/e2e/ai-report.mjs with no mode exits 1 with E2E AI accounting failed; test results are unchanged.
  • nub scripts/preview-verify.mjs with no stage throws Verify requires a canonical pre-<number> stage before any network call.
  • nub scripts/preview-lifecycle.mjs with no GITHUB_EVENT_PATH fails on that missing path, the same first read the script does under node.
  • nub run test was not run. No application code changed.

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 

CI already installs nub before these steps. The preview, e2e accounting, and container image scripts now use nub instead of node or tsx.

Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
@jonbeckman jonbeckman added the release:none label Nov 15, 2026 — with Cursor
@jonbeckman
jonbeckman marked this pull request as ready for review November 15, 2026 09:27
@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: 25 passed, 7 left out by filters

4 agent steps · 4 replayed from cache

Change 3 files changed since 7f59296
Filter decision kept 23 of 30 tests, left out 7 (1 call, 16.7k tokens)

7 tests left out by filters
Test Filter Reason
tests/auth.e2e.ts › sign-in gate protects every application route decision 6% likely affected
tests/auth.e2e.ts › credential sign-in opens the requested settings page decision 16% likely affected
tests/auth.e2e.ts › anonymous callers cannot access any protected API group decision 6% likely affected
tests/auth.e2e.ts › sign-out removes authenticated UI access decision 4% likely affected
tests/branding.e2e.ts › the selected deployment brand reaches the browser decision 9% likely affected
tests/branding.e2e.ts › health identifies the configured application without exposing configuration decision 10% likely affected
tests/branding.e2e.ts › OpenAPI uses the selected deployment brand decision 5% likely affected
All 25 tests in 11 files
Test Agent Time
🟢 tests/accounts.e2e.ts · 3 passed 5.9s
🟢 create, use and revoke an isolated user API key 2.9s
🟢 Better Auth 1.7 account APIs select the local account row id 162ms
🟢 Accounts settings shows GitHub as unlinked without OAuth providers 2.8s
🟢 tests/admin.e2e.ts · 1 passed 3.2s
🟢 administrator pages show live control-plane configuration 3.2s
🟢 tests/advanced-sessions.e2e.ts · 2 passed 6.4s
🟢 incognito sessions stay outside normal lists but open directly 2.9s
🟢 session MCP definitions and subagent preferences persist 3.4s
🟢 tests/api-contract.e2e.ts · 1 passed 392ms
🟢 exported API key and session schemas decode actual Worker responses 392ms
🟢 tests/auth.setup.e2e.ts · 2 passed 7.4s
🟢 authenticate isolated admin 5.6s
🟢 authenticate isolated peer 1.9s
🟢 tests/bots.e2e.ts · 1 passed 4.5s
🟢 create a bot and manage a temporary routine through the UI 4.5s
🟢 tests/session-transfer.e2e.ts · 1 passed 1.7s
🟢 admin authentication transfer redeems once and retains its deep link 1.7s
🟢 tests/sessions.e2e.ts · 5 passed 1 step 39.4s
🟢 session tools, archive and restoration persist through the real Worker 1 step 4.5s
🟢 a second account cannot read or mutate another account's session 273ms
🟢 isolate executes a real prompt and persists its output 7.9s
🟢 opencode executes a real prompt and persists its output 13.8s
🟢 codex executes a real prompt and persists its output 12.8s
🟢 tests/settings.e2e.ts · 5 passed 2 steps 22.6s
🟢 all settings categories load real data 7.2s
🟢 runtime default persists after reload 5.7s
🟢 MCP deep link and legacy settings URL open the MCP tab 2.0s
🟢 secret editor creates, finds and deletes a disposable secret 1 step 3.9s
🟢 theme preference survives reload 1 step 3.8s
🟢 tests/skills.e2e.ts · 1 passed 6.5s
🟢 global skill defaults and per-user preferences persist independently 6.5s
🟢 tests/workflows.e2e.ts · 3 passed 1 step 7.1s
🟢 workflow authoring, rename, export, disable and archive persist 1 step 4.9s
🟢 manual workflow executes JavaScript and stores a real R2 artifact 2.1s
🟢 invalid workflow definitions are rejected before storage 98ms

Tested by e2e 0.23.0 · 2m 40s · local-cloudflare · run artifacts

@cursor
cursor Bot merged commit 825b503 into master Nov 15, 2026
20 checks passed
@cursor
cursor Bot deleted the cursor/run-workflow-scripts-with-nub-703e branch November 15, 2026 09:31
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