Skip to content

Conversation

maru-ava
Copy link
Contributor

@maru-ava maru-ava commented Sep 22, 2025

Why this should be merged

tasks executed in CI are intended to internalize their env vars and arguments to ensure that such a task can be executed directly (e.g. task my-task-ci) without having to figure out the incantation used in CI (e.g. VAR=foo task my-task-ci arg1=bar arg2=baz). This minimize the friction required to reproduce a CI job locally.

The run_env argument will also be removed from the run-monitored-tmpnet-cmd custom action defined in avalanchego to avoid accidental use going forward.

Update: avalanchego PR removing run_env ava-labs/avalanchego#4314

How this was tested

CI

Need to be documented?

N/A

Need to update RELEASES.md?

N/A

tasks executed in CI are intended to internalize their env vars and
arguments to ensure that such a task can be executed
directly (e.g. `task my-task-ci`) without having to figure out the
incantation used in CI (e.g. `VAR=foo task my-task-ci arg1=bar
arg2=baz`). This minimize the friction required to reproduce a CI job
locally.

The run_env argument will also be removed from the
run-monitored-tmpnet-cmd custom action defined in avalanchego to avoid
accidental use going forward.
@maru-ava maru-ava self-assigned this Sep 22, 2025
@maru-ava maru-ava requested a review from a team as a code owner September 22, 2025 20:33
@maru-ava maru-ava added the ci label Sep 22, 2025
@maru-ava maru-ava force-pushed the marun/ci-remove-run-env branch from ee1b53e to ff7759b Compare September 22, 2025 20:35
@maru-ava
Copy link
Contributor Author

I've chosen to isolate the avalanchego clone to the coreth clone (i.e. at ./avalanchego) to better support independent clones (e.g. git worktrees), but I am happy to switch back to defaulting to a single avalanchego clone (i.e. at /tmp/e2e-test/avalanchego) if the coreth maintainers prefer.

@maru-ava maru-ava force-pushed the marun/ci-remove-run-env branch 3 times, most recently from 6665458 to 8a2d247 Compare September 22, 2025 21:29
@maru-ava maru-ava added this pull request to the merge queue Sep 23, 2025
Merged via the queue into master with commit cee35d5 Sep 23, 2025
9 checks passed
@maru-ava maru-ava deleted the marun/ci-remove-run-env branch September 23, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants