Skip to content

docs(tasks): correct commands for running tests#22891

Merged
graphite-app[bot] merged 1 commit into
mainfrom
om/06-01-docs_tasks_correct_commands_for_running_tests
Jun 1, 2026
Merged

docs(tasks): correct commands for running tests#22891
graphite-app[bot] merged 1 commit into
mainfrom
om/06-01-docs_tasks_correct_commands_for_running_tests

Conversation

@overlookmotel

@overlookmotel overlookmotel commented Jun 1, 2026

Copy link
Copy Markdown
Member

pnpm run build-test is the correct command for building NAPI packages for running tests, not pnpm build-dev. Correct the docs accordingly. Also clarify the commands for running e2e tests.

Copy link
Copy Markdown
Member Author

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel force-pushed the om/06-01-docs_tasks_correct_commands_for_running_tests branch from 180f54f to 5b0081f Compare June 1, 2026 13:17
@overlookmotel overlookmotel marked this pull request as ready for review June 1, 2026 13:17
Copilot AI review requested due to automatic review settings June 1, 2026 13:17
@overlookmotel overlookmotel self-assigned this Jun 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates contributor/docs guidance for running Node.js (NAPI) test suites by switching from pnpm build-dev to the correct pnpm run build-test workflow, aligning e2e and agent instructions with how NAPI test builds are intended to be produced.

Changes:

  • Updated tasks/e2e instructions to build the required NAPI packages using build-test before running e2e tests.
  • Updated AGENTS.md NAPI testing commands to use pnpm run build-test (and adjusted package-specific instructions accordingly).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
tasks/e2e/README.md Documents the correct sequence to build NAPI minify/transform for tests, then run the e2e suite.
AGENTS.md Updates the NAPI testing section to reference build-test (including package-specific examples).

Comment thread AGENTS.md Outdated
@overlookmotel overlookmotel added C-docs Category - Documentation. Related to user-facing or internal documentation C-test Category - Testing. Code is missing test cases, or a PR is adding them labels Jun 1, 2026
@overlookmotel overlookmotel force-pushed the om/06-01-docs_tasks_correct_commands_for_running_tests branch from 5b0081f to ad63e24 Compare June 1, 2026 13:22
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Jun 1, 2026

overlookmotel commented Jun 1, 2026

Copy link
Copy Markdown
Member Author

Merge activity

`pnpm run build-test` is the correct command for building NAPI packages for running tests, not `pnpm build-dev`. Correct the docs accordingly. Also clarify the commands for running e2e tests.
@graphite-app graphite-app Bot force-pushed the om/06-01-docs_tasks_correct_commands_for_running_tests branch from ad63e24 to 494c043 Compare June 1, 2026 13:27
@graphite-app graphite-app Bot merged commit 494c043 into main Jun 1, 2026
27 checks passed
@graphite-app graphite-app Bot removed the 0-merge Merge with Graphite Merge Queue label Jun 1, 2026
@graphite-app graphite-app Bot deleted the om/06-01-docs_tasks_correct_commands_for_running_tests branch June 1, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-docs Category - Documentation. Related to user-facing or internal documentation C-test Category - Testing. Code is missing test cases, or a PR is adding them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants