Add PR CI validation workflow#18
Conversation
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
|
@copilot Review the results of the build https://github.com/Brent-A/mcsim/actions/runs/21489526138/job/61909832492?pr=18 The CI doesn't install all of the needed dependencies for the tests |
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Fixed in commit f1aadb3. Added step to run |
|
@copilot https://github.com/Brent-A/mcsim/actions/runs/21490323806/job/61911122812?pr=18 |
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Fixed in commit b635dd0. Changed to |
|
@copilot The tests fail because the official ITM source doesn't have linux/macos binaries. Let's update the dependency script to allow an optional alternative download source and get binaries from https://github.com/usrflo/itm-linux/releases/tag/v1.5 During the CI we can pass that as the alternate source for now until the official source supports linux/mac with NTIA/itm#24 |
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Fixed in commit a346b44. Added |
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
|
@copilot It failed again to get the binary. Check out https://github.com/usrflo/itm-linux/releases/tag/v1.5.2 It looks like the path to the linux release artifact may have been updated, we should update the script accordingly. We should also have the fetch dependencies step fail if we don't get a required dependency |
…andling Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Fixed in commit bca5f8f. Enhanced the script to:
The setup step will now fail early if the required ITM dependency isn't successfully installed. 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:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
|
@copilot Still failing. Can you have the script output the tag for the release it is searching and an index of what was found? |
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Fixed in commit 9ffb6d7. The script now outputs:
This will help diagnose which assets are available and why the script might not be finding the correct one. |
|
@copilot , it looks like it didn't even find a release? https://github.com/Brent-A/mcsim/actions/runs/21491347912/job/61914611360?pr=18 |
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Fixed in commit aecf24a. Added comprehensive diagnostics that will now show:
This will help identify whether it's a rate limit issue, repository access problem, or if the release structure is different than expected. |
|
@copilot It looks like it might be an issue parsing the release feed? https://github.com/Brent-A/mcsim/actions/runs/21491546988/job/61915140463?pr=18 |
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Fixed in commit 7ca8c8b. Added a fallback to extract the release tag from the
This should handle cases where the JSON structure varies or fields appear in different order. |
|
@copilot https://github.com/Brent-A/mcsim/actions/runs/21491690394/job/61915713211?pr=18 still has an issue. Here is an example of what is returned: |
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Fixed in commit 337339f. The issue was that GitHub's API response includes spaces after colons in the JSON (e.g.,
The script should now successfully parse the API response and download the ITM library. |
Co-authored-by: Brent-A <24597447+Brent-A@users.noreply.github.com>
Plan: Add PR CI validation GitHub Action
.github/workflowsdirectory structureOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.