<feed xmlns='http://www.w3.org/2005/Atom'>
<title>windows-driver-samples.git/.github/workflows/Code-Scanning.yml, branch user/jvalesmena/codeql-sharding</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/windows-driver-samples.git/atom/.github/workflows/Code-Scanning.yml?h=user%2Fjvalesmena%2Fcodeql-sharding</id>
<link rel='self' href='http://cgit.235523.xyz/windows-driver-samples.git/atom/.github/workflows/Code-Scanning.yml?h=user%2Fjvalesmena%2Fcodeql-sharding'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/'/>
<updated>2026-04-01T00:54:29Z</updated>
<entry>
<title>ci: split CodeQL into separate PR and push/schedule jobs</title>
<updated>2026-04-01T00:54:29Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-04-01T00:54:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=5d0fec82a01ba158be6e4393a41e113e26137d86'/>
<id>urn:sha1:5d0fec82a01ba158be6e4393a41e113e26137d86</id>
<content type='text'>
The previous single-job approach with a 4-shard matrix caused PRs to
spin up 4 identical runners all building the same changed files.

Split into two jobs:
- analyze-pr: runs only on pull_request, single runner, builds changed
  samples via Build-ChangedSamples.ps1. No shard matrix overhead.
- analyze: runs on push/schedule, 4-shard matrix, each shard builds its
  slice of all samples. Also drops the now-unnecessary 'get-changed-files'
  step from the push path.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>ci: fix shard numbering using 1-based matrix values</title>
<updated>2026-03-31T23:29:17Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-31T23:29:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=41f33e6facd946dc74674d6747e7c61f9a5494f1'/>
<id>urn:sha1:41f33e6facd946dc74674d6747e7c61f9a5494f1</id>
<content type='text'>
GitHub Actions expressions don't support arithmetic operators so
'matrix.shard + 1' was invalid. Switch the matrix to [1, 2, 3, 4]
so the job name, step name, and log output all read '1 of 4' through
'4 of 4'. The PowerShell script subtracts 1 locally for the 0-based
slice math.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>ci: fix shard display numbering and restore build-mode in matrix</title>
<updated>2026-03-31T23:26:24Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-31T23:26:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=ff3cc2bcc955ba82110435df67fff3905072759b'/>
<id>urn:sha1:ff3cc2bcc955ba82110435df67fff3905072759b</id>
<content type='text'>
- Job name and step name now show '1 of 4' through '4 of 4' (shard+1)
  instead of '0' through '3 of 4' which looked like an off-by-one bug
- Move build-mode back into the matrix (was there before sharding) so it
  remains explicit and consistent with the original workflow structure

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>ci: upgrade codeql-action from v3 to v4</title>
<updated>2026-03-31T23:22:39Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-31T22:53:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=420e954bfdebb154f4b47cddb973909cd93748fd'/>
<id>urn:sha1:420e954bfdebb154f4b47cddb973909cd93748fd</id>
<content type='text'>
Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>ci: parallelize CodeQL scanning across 4 shards</title>
<updated>2026-03-31T23:22:39Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-31T17:54:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=0cda0a0147ccddda9e60671f5b4e67f42f58d55e'/>
<id>urn:sha1:0cda0a0147ccddda9e60671f5b4e67f42f58d55e</id>
<content type='text'>
Split samples alphabetically into 4 equal shards using ListAllSamples.ps1
and run each on a separate machine in parallel. ThrottleLimit stays 1 per
shard for accurate CodeQL tracing. Each shard uploads SARIF with a
distinct category (shard-0..shard-3) so results merge in the Security tab.

On PRs the existing Build-ChangedSamples behavior is preserved (no sharding
needed since only changed files are built).

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>ci: update Code-Scanning workflow to use Build-Samples.ps1</title>
<updated>2026-03-31T17:34:40Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-31T17:34:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=78a9b6fd1ae57346a854cd1456e1d2a6de3d5fc3'/>
<id>urn:sha1:78a9b6fd1ae57346a854cd1456e1d2a6de3d5fc3</id>
<content type='text'>
Build-AllSamples.ps1 was removed in favor of Build-Samples.ps1.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Update Code-Scanning.yml to use latest windows-drivers pack (#1277)</title>
<updated>2025-03-24T22:59:45Z</updated>
<author>
<name>Jacob Ronstadt</name>
<email>147542405+jacob-ronstadt@users.noreply.github.com</email>
</author>
<published>2025-03-24T22:59:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=52908d7718c6fac2953055db2e5d23537957c7af'/>
<id>urn:sha1:52908d7718c6fac2953055db2e5d23537957c7af</id>
<content type='text'>
* Update Code-Scanning.yml to use latest windows-drivers pack

* Update Code-Scanning.yml

* Update Code-Scanning.yml

* Update Code-Scanning.yml

* Update Code-Scanning.yml

* Update Code-Scanning.yml

* Update Code-Scanning.yml

* Update Code-Scanning.yml

* Update Code-Scanning.yml

* Update Code-Scanning.yml

* Update Code-Scanning.yml: reduce duplacate code</content>
</entry>
<entry>
<title>update workflow files to split codeql analysis for push and PR (#1273)</title>
<updated>2025-03-19T20:56:21Z</updated>
<author>
<name>Jacob Ronstadt</name>
<email>147542405+jacob-ronstadt@users.noreply.github.com</email>
</author>
<published>2025-03-19T20:56:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=fb21b13a73457c8a68a7aca41d80e7f292929d1f'/>
<id>urn:sha1:fb21b13a73457c8a68a7aca41d80e7f292929d1f</id>
<content type='text'>
* update workflow files to split codeql analysis for push and PR

* test changing a file

* remove build all option in script for testing.

* Revert "remove build all option in script for testing."

This reverts commit 04eb2c34aac69545b56ff86b6d642e453bde89f0.

* Revert "test changing a file"

This reverts commit d69205126f62ad44af4c5e3b64f1f14637116ea2.

* combine pr and push analysis files to remove warning about not having on.push trigger. include script changes and file change for testing

* remove test changes</content>
</entry>
<entry>
<title>Code scanning updates  (#1) (#1221)</title>
<updated>2024-09-25T21:35:52Z</updated>
<author>
<name>Jacob Ronstadt</name>
<email>147542405+jacob-ronstadt@users.noreply.github.com</email>
</author>
<published>2024-09-25T21:35:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=76f3c4f35f40634401ede80f64554794776c4240'/>
<id>urn:sha1:76f3c4f35f40634401ede80f64554794776c4240</id>
<content type='text'>
* Update Code-Scanning.yml</content>
</entry>
<entry>
<title>Deprecate WDK VSIX Install (#1219)</title>
<updated>2024-09-24T02:43:48Z</updated>
<author>
<name>Matt</name>
<email>138825652+middlemose@users.noreply.github.com</email>
</author>
<published>2024-09-24T02:43:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=5c4ceaef72f0af992966a7d2ac7ac7d897f091d3'/>
<id>urn:sha1:5c4ceaef72f0af992966a7d2ac7ac7d897f091d3</id>
<content type='text'>
* Deprecate WDK vsix install

* Fix WDK extension version print

* Remove unecessary splitting on version

* Minor build info refactor

* Fix indentation of output info

* Enough messing with volume size output

* Cleanup comment for vsix version

* More cleanup and doc update

* Remove deprecation statement and install vsix script.

* Fixes and updates to building locally documentation.

* Dont code scan on license or .md files.

* Code scanning ignore changes to .md when pull request is made</content>
</entry>
</feed>
