Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Conversation

Copy link
Contributor

Copilot AI commented Dec 17, 2025

The test was failing because rhiza doesn't support file:// URLs for local repositories—it was prepending https://github.com/ to them, resulting in malformed URLs like https://github.com/file:///tmp/....

Changes:

  • Clone jebel-quant/rhiza directly instead of creating a local template repository
  • Remove all file setup/assertion logic (~100 lines)
  • Test now executes uvx rhiza validate and uvx rhiza materialize on a real repository

This mirrors actual usage and eliminates URL parsing issues.


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

Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 17, 2025

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

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:

  • astral.sh
    • Triggering command: /usr/bin/curl curl -LsSf REDACTED (dns block)

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

Copilot AI changed the title [WIP] Refactor action.yml for template synchronization Simplify test to use actual GitHub repository Dec 17, 2025
Copilot AI requested a review from tschm December 17, 2025 14:15
@tschm tschm marked this pull request as ready for review December 17, 2025 14:18
@tschm tschm merged commit 9ff2822 into rhiza Dec 17, 2025
@tschm tschm deleted the copilot/sub-pr-16 branch December 17, 2025 14:18
tschm added a commit that referenced this pull request Dec 17, 2025
* Refactor action.yml for template synchronization

Updated action.yml to improve clarity and functionality, including changes to input descriptions, branch defaults, and steps for syncing templates.

* Refactor test-action.sh for clarity and structure

Refactor test-action.sh script for improved clarity and structure, including changes to variable names, comments, and echo statements.

* Ensure uv/uvx is available in test-action.sh

Add check and installation for uv/uvx in test script

* Initial plan

* Fix rhiza command usage to pass directory instead of file path

Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>

* Remove inputs.source parameter - rhiza uses .github/template.yml by default

Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>

* Initial plan

* Fix test to use file:// URL for local template repository

Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>

* Simplify test to use actual GitHub repository (#19)

* Initial plan

* Simplify test to use real GitHub repository (jebel-quant/rhiza)

Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>

* Update test-action.sh

* Fix formatting of include section in template.yml

* Disable cloning of jebel-quant/rhiza repository

Comment out the cloning of the jebel-quant/rhiza repository and related commands.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants