Skip to content

feat(cli): detached local up with readiness checks#66

Merged
joyzoursky merged 3 commits intomainfrom
feat/local-run-friendly
Apr 10, 2026
Merged

feat(cli): detached local up with readiness checks#66
joyzoursky merged 3 commits intomainfrom
feat/local-run-friendly

Conversation

@IniZio
Copy link
Copy Markdown
Contributor

@IniZio IniZio commented Apr 8, 2026

Summary

  • add skytest local up -d detached mode that waits until local services and workers are ready
  • keep skytest local up foreground behavior unchanged
  • improve local lifecycle robustness checks used by CLI status/startup flows
  • fix local seed script identifier bug to keep local setup stable
  • update parser/tests/docs for new detached startup options

How To Launch SkyTest Locally

  1. npm run skytest -- local setup
  2. npm run skytest -- local up -d
  3. npm run skytest -- local status
  4. Open http://127.0.0.1:3000

How To Use Run Features

  1. Run a single test case:
    • npm run skytest -- run test-case <DISPLAY_ID> --project-id <PROJECT_ID> --wait
  2. Run a full project:
    • npm run skytest -- run project <PROJECT_ID> --wait
  3. Optional file reporter output:
    • add --reporter file --report-dir <path>

Validation

  • npx vitest --run apps/cli/src/cli-parser.test.ts apps/cli/src/commands/local.test.ts
  • manual smoke for detached startup: npm run skytest -- local up -d --timeout-ms 180000

@IniZio IniZio force-pushed the feat/local-run-friendly branch from a8bd330 to f1fdf42 Compare April 8, 2026 16:43
@IniZio IniZio marked this pull request as ready for review April 9, 2026 04:22
@IniZio
Copy link
Copy Markdown
Contributor Author

IniZio commented Apr 9, 2026

Maybe i fix the audit errors in another pr

@joyzoursky joyzoursky merged commit 53ac02e into main Apr 10, 2026
2 of 3 checks passed
@joyzoursky joyzoursky deleted the feat/local-run-friendly branch April 13, 2026 08:33
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