Skip to content

ci(npm): add published lazycodex-ai smoke checks#5

Open
PeterPonyu wants to merge 1 commit into
code-yeongyu:mainfrom
PeterPonyu:ci/npm-registry-smoke
Open

ci(npm): add published lazycodex-ai smoke checks#5
PeterPonyu wants to merge 1 commit into
code-yeongyu:mainfrom
PeterPonyu:ci/npm-registry-smoke

Conversation

@PeterPonyu
Copy link
Copy Markdown

@PeterPonyu PeterPonyu commented May 31, 2026

Summary

Closes #4.

Adds a published-package smoke check for lazycodex-ai so CI verifies the real npm install entrypoint from a clean temporary directory.

The check covers:

  • bunx lazycodex-ai@latest --dry-run install --no-tui --codex-autonomous
  • npx -y lazycodex-ai@latest --dry-run doctor

Both commands must route through oh-my-openagent / omo as expected.

Validation

  • git diff --check
  • npm test
  • npm run pack:dry-run -- --json
  • npm run smoke:published

Summary by cubic

Adds CI smoke tests for the published lazycodex-ai to ensure bunx/npx dry-runs route through oh-my-openagent (omo) from a clean temp dir. Runs manually or nightly to catch registry and entrypoint regressions.

  • New Features
    • Adds npm-registry-smoke.yml workflow with version-concurrency and a daily cron.
    • Validates bunx install dry-run and npx doctor dry-run, asserting expected omo stdout.
    • Supports version/dist-tag via LAZYCODEX_AI_SMOKE_VERSION (default latest).
    • Adds smoke:published script to run the check.

Written for commit 818a1f9. Summary will update on new commits.

Review in cubic

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.

Add published-package smoke tests for lazycodex-ai

1 participant