Repository navigation
Conversation
added 4 commits
December 4, 2026 05:05
Copilot could chase a registry-directory error that the checkout does not establish. Removing that diagnosis keeps troubleshooting grounded in the documented transition limitation. https://github.com/github/codeql/blob/da92276d2923354ffac1e02e4c0a2fe5a7bb92d6/.bazelrc#L25-L26 The recursive-build warning and specific-target validation remain in the skill's Traps entry point. The blanket recursive-query failure claim has no replacement because the checkout does not establish it.
Copilot can miss a generated Swift helper when it searches only the shared Bazel directory. The extractor package loads its wrapper from the Swift tree. https://github.com/github/codeql/blob/da92276d2923354ffac1e02e4c0a2fe5a7bb92d6/swift/extractor/BUILD.bazel#L1-L6 That wrapper constructs the internal target itself. https://github.com/github/codeql/blob/da92276d2923354ffac1e02e4c0a2fe5a7bb92d6/swift/rules.bzl#L105-L131 Following the defining load path avoids this dead end and lets agents inspect the helper's actual visibility.
Copilot encountered an upgrade that changed manifests before failing on an ambiguous package identity. The workspace lockfile contains registry and Git packages with the same name. https://github.com/github/codeql/blob/da92276d2923354ffac1e02e4c0a2fe5a7bb92d6/Cargo.lock#L3115-L3132 A repository-root lockfile update recovered this stage; documenting that narrow recovery avoids another package-disambiguation detour. The manual version alignment still needs attention because the updater reaches it only after the checked upgrade command. https://github.com/github/codeql/blob/da92276d2923354ffac1e02e4c0a2fe5a7bb92d6/rust/scripts/update_rust_analyzer.py#L235-L255
Copilot tried an installed extractor after a local extractor was missing and reached a schema mismatch instead of the intended regression. The checkout builder creates the extractor and generates its matching schema and library. https://github.com/github/codeql/blob/da92276d2923354ffac1e02e4c0a2fe5a7bb92d6/unified/scripts/create-extractor-pack.sh#L11-L25 Selecting that matched pack avoids a second setup failure before the regression can be evaluated.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are identified, and the changes are limited to documenting recovery and troubleshooting guidance.
No open issues 🎉
What changed in this PR
Updates repository guidance for Bazel troubleshooting, interrupted Cargo upgrades, and missing Unified extractor packs.
Changes:
- Adds recovery guidance for ambiguous
tree-sitter-qldependencies. - Documents when to rebuild the Unified extractor pack.
- Refines Bazel target and generated-helper troubleshooting.
| File | Description |
|---|---|
| unified/AGENTS.md | Adds instructions for recovering from a missing Unified extractor pack. |
| rust/updating-rust-analyzer.md | Documents recovery steps for interrupted Cargo dependency updates. |
| .github/skills/bazel/SKILL.md | Refines Bazel troubleshooting guidance for target validation and generated helpers. |
Review effort: Lite (adaptive)
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧠 How this helps Copilot
Copilot can chase an unsupported registry-package error or miss a generated helper outside the shared Bazel directory. Grounded Bazel troubleshooting guidance helps agents find the actual helper instead of investigating unrelated registry files.
Copilot has also detoured after a dependency upgrade stopped partway through and after a local Unified extractor was missing. Focused recovery guidance helps finish workspace lockfile resolution and select a matching extractor/schema pack, so required version checks and regression work can continue.
Review commit by commit for each change's rationale and evidence.
Note
Copilot Dreaming curates this repository's Copilot instructions and skills in the background, proposing updates to help agents work here. Learn more about Copilot Dreaming.
Automated details
Source:
curate-memoriesDream, analyzingmainatda92276d2923.