Skip to content

test(package): verify npx upgrade on published releases - #459

Merged
morluto merged 1 commit into
mainfrom
agent/verify-npx-upgrade-e2e
Aug 1, 2026
Merged

test(package): verify npx upgrade on published releases#459
morluto merged 1 commit into
mainfrom
agent/verify-npx-upgrade-e2e

Conversation

@morluto

@morluto morluto commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Description

Add a published-package end-to-end check for the user-facing npx rea-agents upgrade path.

The verifier installs the highest published release below the target into an isolated npm prefix, runs npx rea-agents upgrade --json, confirms the global package was replaced by the target release, and starts the upgraded executable. This keeps the check independent of the developer's global npm installation and exercises real npm package resolution.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Refactoring (no functional change)
  • Tooling/test coverage
  • Tool contract change (MCP schema modification)

Testing Performed

  • TypeScript typecheck passes (npm run typecheck)
  • Linting passes (npm run lint; five pre-existing warnings, zero errors)
  • Full test suite passes (npm test)
  • Real Hopper verification performed (npm run verify:hopper)
  • Linux real Hopper verification performed
  • Real browser verification performed
  • Package verification performed (npm run verify:package)
  • Published-package E2E passes: node scripts/verify-published-package.mjs 2.5.0 (2.4.0 → 2.5.0, installed version and executable startup confirmed)

Tool Contract Impact

None.

Related Issues

None.

@morluto
morluto marked this pull request as ready for review August 1, 2026 07:13
@cursor

cursor Bot commented Aug 1, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@morluto
morluto merged commit 7b6f7be into main Aug 1, 2026
15 checks passed
@morluto
morluto deleted the agent/verify-npx-upgrade-e2e branch August 1, 2026 07:16
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.

1 participant