Skip to content

Add Copilot support and fix Windows startup#771

Open
timeshift92 wants to merge 1 commit intortk-ai:masterfrom
timeshift92:main
Open

Add Copilot support and fix Windows startup#771
timeshift92 wants to merge 1 commit intortk-ai:masterfrom
timeshift92:main

Conversation

@timeshift92
Copy link

Add explicit GitHub Copilot integration for both repository-local and global setup, wire the Copilot hook asset to
tk hook copilot, document the new workflow, and add focused tests for the new assets and CLI parsing.

Also fix the Windows startup stack overflow by reserving a larger main-thread stack at link time so
tk.exe --version, --help, and Copilot hook entry points start reliably on Windows.

Summary

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test
  • Manual testing: rtk <command> output inspected

Important: All PRs must target the develop branch (not master).
See CONTRIBUTING.md for details.

Add explicit GitHub Copilot integration for both repository-local and global setup, wire the Copilot hook asset to 
tk hook copilot, document the new workflow, and add focused tests for the new assets and CLI parsing.

Also fix the Windows startup stack overflow by reserving a larger main-thread stack at link time so 
tk.exe --version, --help, and Copilot hook entry points start reliably on Windows.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Ахмедов Нурбек Медетбаевич seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@pszymkowiak pszymkowiak added effort-medium 1-2 jours, quelques fichiers enhancement New feature or request labels Mar 21, 2026
@pszymkowiak
Copy link
Collaborator

[w] wshm · Automated triage by AI

📊 Automated PR Analysis

Type feature
🟡 Risk medium

Summary

Adds explicit GitHub Copilot integration with both global and repository-local setup modes, updates the hook command from 'rtk hook' to 'rtk hook copilot', and fixes a Windows startup stack overflow by reserving an 8 MiB main-thread stack at link time in build.rs.

Review Checklist

  • Tests present
  • Breaking change
  • Docs updated

Analyzed automatically by wshm · This is an automated analysis, not a human review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort-medium 1-2 jours, quelques fichiers enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants