Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 22, 2026

CONTRIBUTING.md incorrectly stated that just is required and omitted Node.js dependencies needed by .NET tests.

Changes

  • Mark just as optional (it's a convenience wrapper around direct commands)
  • Add Node.js requirement to .NET SDK section (test harness uses TypeScript/tsx)
  • Document npm install steps for ./nodejs and ./test/harness directories

The .NET test suite depends on:

  • Copilot CLI from nodejs/node_modules/@github/copilot/ (referenced in ClientTests.cs, E2ETestContext.cs)
  • TypeScript test harness in test/harness/ using tsx (started by CapiProxy.cs)

Both are installed via npm ci in their respective directories.

Original prompt

This section details on the original issue you should resolve

<issue_title>CONTRIBUTING.md needs some tweaks</issue_title>
<issue_description>For the .NET client:

  • You don't need just
  • You need typescript and tpx
  • You need to run npm install in the ./nodejs and ./test/harness directories</issue_description>

<agent_instructions>Check that those suggestions make sense and update the relevant document</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits January 22, 2026 04:33
- Mark 'just' as optional since commands can be run directly
- Add Node.js and TypeScript as requirements for .NET SDK (needed for test harness)
- Add npm install instructions for ./nodejs and ./test/harness directories
- Update "Running tests and linters" section to clarify 'just' is optional

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
TypeScript and tsx are included as npm dependencies and don't need separate installation

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Changed from relative path (cd ../test/harness) to absolute path from repo root (cd test/harness) for consistency

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Added "(from the repository root)" to npm install step for clarity

Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Copilot AI changed the title [WIP] Update CONTRIBUTING.md with necessary tweaks for .NET client Fix .NET SDK prerequisites in CONTRIBUTING.md Jan 22, 2026
Copilot AI requested a review from friggeri January 22, 2026 04:38
@SteveSandersonMS SteveSandersonMS marked this pull request as ready for review January 22, 2026 17:28
@SteveSandersonMS SteveSandersonMS requested a review from a team as a code owner January 22, 2026 17:28
Copilot AI review requested due to automatic review settings January 22, 2026 17:28
@SteveSandersonMS SteveSandersonMS added this pull request to the merge queue Jan 22, 2026
Merged via the queue into main with commit 1f06cf5 Jan 22, 2026
14 checks passed
@SteveSandersonMS SteveSandersonMS deleted the copilot/update-contributing-md branch January 22, 2026 17:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the CONTRIBUTING.md documentation to correct prerequisites for the .NET SDK development. The changes clarify that just is optional and document the Node.js dependencies required by the .NET test suite.

Changes:

  • Marks the just command runner as optional throughout the document
  • Adds Node.js v18+ as a prerequisite for .NET SDK development
  • Documents npm installation steps for nodejs and test/harness directories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +50 to +51
cd nodejs && npm ci
cd test/harness && npm ci
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

These commands won't work correctly when run sequentially. After the first command, you'll be in the nodejs directory, so the second cd test/harness will fail. Each command should either return to the repository root first, or use separate command blocks. Consider changing to:

cd nodejs && npm ci
cd ../test/harness && npm ci

or

(cd nodejs && npm ci)
(cd test/harness && npm ci)
Suggested change
cd nodejs && npm ci
cd test/harness && npm ci
(cd nodejs && npm ci)
(cd test/harness && npm ci)

Copilot uses AI. Check for mistakes.
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.

CONTRIBUTING.md needs some tweaks

3 participants