Skip to content

Add workload caching to GitHub Actions setup - #2097

Closed
beto-rodriguez with Copilot wants to merge 5 commits into
more-testsfrom
copilot/sub-pr-2096
Closed

Add workload caching to GitHub Actions setup#2097
beto-rodriguez with Copilot wants to merge 5 commits into
more-testsfrom
copilot/sub-pr-2096

Conversation

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Contributor
  • Add GPU/hardware acceleration tests
  • Improve test organization
  • Consolidate Avalonia-specific tests
  • Implement workload caching using actions/cache@v5.0.3
  • Fix cache key validation error (remove commas from cache key)
  • Fix cache paths to use actual DOTNET_ROOT for cross-platform support

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: beto-rodriguez <10853349+beto-rodriguez@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GPU and hardware acceleration tests Add workload caching to GitHub Actions setup Feb 13, 2026
Copilot AI requested a review from beto-rodriguez February 13, 2026 02:07
@github-actions

github-actions Bot commented Feb 13, 2026

Copy link
Copy Markdown

Thanks for your contribution!

The build and test process is starting. This may take a while.
You can find more details below as the process continues or at the actions tab.

Test Results Summary (Passed) ✅ 🥳

0 skipped.
0 failed.
0 passed! ✅

@beto-rodriguez

Copy link
Copy Markdown
Collaborator

@copilot you got this error when the action ran:

Run actions/cache@v5.0.3
  with:
    path: ~/.dotnet/sdk-manifests
  ~/.dotnet/sdk-packs
  ~/.dotnet/template-packs
  ~/.dotnet/workloadsets
  
    key: dotnet-workloads-Windows-10.0.100-wasm-tools, maui
    restore-keys: dotnet-workloads-Windows-10.0.100-
  
    enableCrossOsArchive: false
    fail-on-cache-miss: false
    lookup-only: false
    save-always: false
  env:
    DOTNET_ROOT: C:\Program Files\dotnet
Error: Key Validation Error: dotnet-workloads-Windows-10.0.100-wasm-tools, maui cannot contain commas.

Co-authored-by: beto-rodriguez <10853349+beto-rodriguez@users.noreply.github.com>

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Contributor Author

@copilot you got this error when the action ran:

...

Fixed in commit 31bc9b0. Added a sanitization step that replaces commas and spaces in the workloads input with hyphens before generating the cache key. Now "wasm-tools, maui" becomes "wasm-tools-maui" in the cache key, which is valid.

@github-actions

github-actions Bot commented Feb 13, 2026

Copy link
Copy Markdown

Thanks for your contribution!

The build and test process is starting. This may take a while.
You can find more details below as the process continues or at the actions tab.


All packages have been packed successfully! 📦✅
You can download the NuGet packages for this build here.

The packages will be available for 30 days, you can either use them directly, or wait for this PR to be merged to have them published to NuGet.org.


Tests will start now, you can monitor their progress below or at the actions tab.

Test Results Summary (Failure) ❌ 😥

Core Windows Linux Mac Browser Android iOS
✅ passed ⚠️ cancelled ✅ passed ✅ passed ⚠️ cancelled ⚠️ cancelled ⚠️ cancelled

0 skipped.
3681 passed.
0 failed. ❌

@beto-rodriguez

Copy link
Copy Markdown
Collaborator

@copilot there is something missing, it seems that cache is not working, when running livecharts.yml, when the pack maui happens, it installs the maui workloads, then when we run ui tests for maui, it reinstalls again the maui workloads, it seems that the cache is ignored, we must be missing something

Co-authored-by: beto-rodriguez <10853349+beto-rodriguez@users.noreply.github.com>

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Contributor Author

@copilot there is something missing, it seems that cache is not working, when running livecharts.yml, when the pack maui happens, it installs the maui workloads, then when we run ui tests for maui, it...

Fixed in commit 55f3e7e. The issue was that cache paths were using ~/.dotnet/ which doesn't exist - workloads are actually installed at $DOTNET_ROOT (C:\Program Files\dotnet on Windows, /usr/share/dotnet on Linux). Now the action dynamically detects the actual dotnet root path and caches the correct directories (sdk-manifests, packs, template-packs, metadata/temp).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • learn.microsoft.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@github-actions

github-actions Bot commented Feb 13, 2026

Copy link
Copy Markdown

Thanks for your contribution!

The build and test process is starting. This may take a while.
You can find more details below as the process continues or at the actions tab.


All packages have been packed successfully! 📦✅
You can download the NuGet packages for this build here.

The packages will be available for 30 days, you can either use them directly, or wait for this PR to be merged to have them published to NuGet.org.


Tests will start now, you can monitor their progress below or at the actions tab.

Test Results Summary (Failure) ❌ 😥

Core Windows Linux Mac Browser Android iOS
✅ passed ✅ passed ✅ passed ✅ passed ❌ failed ❌ failed ✅ passed

0 skipped.
2607 passed.
0 failed. ❌

@github-actions

github-actions Bot commented Feb 13, 2026

Copy link
Copy Markdown

Thanks for your contribution!

The build and test process is starting. This may take a while.
You can find more details below as the process continues or at the actions tab.


All packages have been packed successfully! 📦✅
You can download the NuGet packages for this build here.

The packages will be available for 30 days, you can either use them directly, or wait for this PR to be merged to have them published to NuGet.org.


Tests will start now, you can monitor their progress below or at the actions tab.

Test Results Summary (Failure) ❌ 😥

Core Windows Linux Mac Browser Android iOS
✅ passed ✅ passed ✅ passed ✅ passed ❌ failed ✅ passed ✅ passed

0 skipped.
2123 passed.
0 failed. ❌

@beto-rodriguez
beto-rodriguez deleted the copilot/sub-pr-2096 branch February 13, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants