Commit d519639
Prep for
* Enforce release version and tag consistency
* fix(release-tag): detect and replace stale tags
Add a lightweight version check in the check-tag step that inspects
server/package.json at the tagged commit. If the version doesn't match
the release name, the stale tag is deleted and recreated with correct
versions through the normal update/build/test/tag flow.
Also suppress stderr on git restore --staged for paths that may not
exist (.codeql, *.qlx).
* Release v2.24.2-rc1: update versions to 2.24.2-rc1
* Allow codeql pack prerelease
* Release v2.24.2-rc2: update versions to 2.24.2-rc2
* fix VSIX-bundled server install & version artifacts
VSIX install fixes:
- Skip npm install entirely when the VSIX bundle is present; the bundle
already ships server/dist/, server/ql/, and server/package.json
- PackInstaller now prefers bundled qlpacks from the VSIX over the
npm-installed copy in globalStorage, fixing version skew between the
packs being installed and the server code being run
- In the unbundled fallback path (Extension Development Host), compare
the npm-installed version against the extension's own version instead
of short-circuiting on targetVersion === 'latest'
Versioned release artifact filenames:
- VSIX: codeql-development-mcp-server-vX.Y.Z.vsix (was unversioned)
- CodeQL pack bundles: ql-mcp-<lang>-tools-src-vX.Y.Z.tar.gz (was unversioned)
- Update release, build-and-test, and package scripts accordingly
- Add *.vsix to .gitignore
- Normalize docs to use vX.Y.Z placeholders consistently
* Add `.md` docs for all `.ql` tools queries (#78) (#79)
* Add .md docs for all tools queries (#78)
Add query documentation (.md) for every `server/ql/*/tools/src/*/*.ql`
query across all 9 supported languages: PrintAST, PrintCFG, CallGraphFrom,
and CallGraphTo.
- Add `query-documentation.test.ts` to enforce that every tools query has
a matching .md file
- Update `server_ql_languages_tools.instructions.md` to require query docs,
clarify `@kind graph` vs detection-query guidance, and scope
COMPLIANT/NON_COMPLIANT annotations to detection queries only
- Remove COMPLIANT/NON_COMPLIANT annotations from existing PrintCFG docs
(structural queries, not detection queries)
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Randall <70299490+data-douser@users.noreply.github.com>
* [UPDATE PRIMITIVE] Consistent `CallGraphFrom`/`CallGraphTo` naming in all language docs (#80)
* Initial plan
* Use CallGraphFrom and CallGraphTo naming consistently in all docs (no spaces)
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
* Update server/ql/cpp/tools/src/CallGraphFrom/CallGraphFrom.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Randall <70299490+data-douser@users.noreply.github.com>
---------
Signed-off-by: Nathan Randall <70299490+data-douser@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
* Release v2.24.2-rc3: update versions to 2.24.2-rc3
* Fix `getExtensionVersion()` and `getBundledQlRoot()` per review comments (#82)
* Initial plan
* Fix getExtensionVersion() and getBundledQlRoot() per review comments
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
* [UPDATE PRIMITIVE] Fix CallGraph docs: remove IDE integration claim, fix output format, fix NON_COMPLIANT typo (#83)
---------
Signed-off-by: Nathan Randall <70299490+data-douser@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>v2.24.2 release (#81)1 parent 4baf6af commit d519639
File tree
73 files changed
+1677
-105
lines changed- .github
- instructions
- workflows
- client
- docs
- vscode
- extensions/vscode
- src
- server
- test/server
- server
- ql
- actions/tools
- src
- PrintAST
- PrintCFG
- test
- cpp/tools
- src
- CallGraphFrom
- CallGraphTo
- PrintAST
- PrintCFG
- test
- csharp/tools
- src
- CallGraphFrom
- CallGraphTo
- PrintAST
- PrintCFG
- test
- go/tools
- src
- CallGraphFrom
- CallGraphTo
- PrintAST
- PrintCFG
- test
- javascript/tools
- src
- CallGraphFrom
- CallGraphTo
- PrintAST
- PrintCFG
- test
- java/tools
- src
- CallGraphFrom
- CallGraphTo
- PrintAST
- PrintCFG
- test
- python/tools
- src
- CallGraphFrom
- CallGraphTo
- PrintAST
- PrintCFG
- test
- ruby/tools
- src
- CallGraphFrom
- CallGraphTo
- PrintAST
- PrintCFG
- test
- swift/tools
- src
- CallGraphFrom
- CallGraphTo
- PrintAST
- PrintCFG
- test
- test/src/tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
73 files changed
+1677
-105
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
28 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| 57 | + | |
54 | 58 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
85 | 94 | | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
89 | 98 | | |
90 | | - | |
| 99 | + | |
91 | 100 | | |
92 | 101 | | |
93 | 102 | | |
| |||
106 | 115 | | |
107 | 116 | | |
108 | 117 | | |
109 | | - | |
| 118 | + | |
| 119 | + | |
110 | 120 | | |
111 | 121 | | |
112 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
69 | | - | |
70 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
71 | 87 | | |
72 | 88 | | |
73 | 89 | | |
| |||
128 | 144 | | |
129 | 145 | | |
130 | 146 | | |
131 | | - | |
132 | | - | |
| 147 | + | |
| 148 | + | |
133 | 149 | | |
134 | 150 | | |
135 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
242 | | - | |
| 246 | + | |
243 | 247 | | |
244 | 248 | | |
245 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments