<feed xmlns='http://www.w3.org/2005/Atom'>
<title>windows-driver-samples.git/.github/workflows, 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?h=user%2Fjvalesmena%2Fcodeql-sharding</id>
<link rel='self' href='http://cgit.235523.xyz/windows-driver-samples.git/atom/.github/workflows?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>Merge remote-tracking branch 'origin/develop' into user/jvalesmena/new-build-samples</title>
<updated>2026-03-30T22:47:36Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-30T22:47:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=3a2a44ac95e464972b5244c33ec34c53eabe34b8'/>
<id>urn:sha1:3a2a44ac95e464972b5244c33ec34c53eabe34b8</id>
<content type='text'>
# Conflicts:
#	Build-AllSamples.ps1
#	Build-SampleSet.ps1
</content>
</entry>
<entry>
<title>Remove Build-AllSamples.ps1 and Build-SampleSet.ps1 in favor of Build-Samples.ps1</title>
<updated>2026-03-30T22:26:00Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-30T22:26:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=d92950792737971182298c34d7efa445fbb23728'/>
<id>urn:sha1:d92950792737971182298c34d7efa445fbb23728</id>
<content type='text'>
- Delete Build-AllSamples.ps1 and Build-SampleSet.ps1 (replaced by Build-Samples.ps1)
- Update ci.yml workflow to call Build-Samples.ps1
- Update Build-ChangedSamples.ps1 to call Build-Samples.ps1
- Rewrite Building-Locally.md Step 6 with new script usage and output format
- Update Step 7 NuGet notes to reference Build-Samples.ps1
</content>
</entry>
<entry>
<title>removing unused workflow</title>
<updated>2026-03-26T08:25:38Z</updated>
<author>
<name>Junyan Liu (Centific Technologies Inc)</name>
<email>v-junyli@microsoft.com</email>
</author>
<published>2026-03-26T07:10:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=05b65dac08c551a94e1d7fc282e35c546e00472e'/>
<id>urn:sha1:05b65dac08c551a94e1d7fc282e35c546e00472e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix RCE vulnerability: pass issue body/number via env vars instead of direct interpolation</title>
<updated>2026-03-13T18:07:28Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-03-13T18:07:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=f204d700bc11a52baccbddf5378f4b68f95722ce'/>
<id>urn:sha1:f204d700bc11a52baccbddf5378f4b68f95722ce</id>
<content type='text'>
Co-authored-by: 5an7y-Microsoft &lt;219205893+5an7y-Microsoft@users.noreply.github.com&gt;
</content>
</entry>
</feed>
