Skip to content

Add various tools used in infra.git#8

Merged
pylaligand merged 1 commit into
mainfrom
moar-tools
Jun 23, 2026
Merged

Add various tools used in infra.git#8
pylaligand merged 1 commit into
mainfrom
moar-tools

Conversation

@pylaligand

Copy link
Copy Markdown
Contributor

No description provided.

@pylaligand pylaligand requested a review from jlouazel June 23, 2026 21:05
@pylaligand pylaligand changed the title Add tools used in infra.git Add various tools used in infra.git Jun 23, 2026
@pylaligand

pylaligand commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

@jlouazel FYI I updated the smoke test to try more subcommands and flags as not all tools support --version.

jlouazel added a commit that referenced this pull request Jun 23, 2026
)

## Motivation

The smoke-test ran `proto run <tool> -- --version` on every pinned tool,
assuming all tools answer `--version`. They don't: `kubeconform` uses
`-v`, and `cloud-provider-kind` is a daemon with no version flag. PR #8
(which adds both) fails CI on all platforms because of this, even though
the binaries install and resolve correctly.

## Summary

- The smoke-test now verifies a tool resolves to a real executable file
rather than executing it, so tools with non-standard or absent version
flags pass without per-tool special-casing.
- The probe rejects an `exe-path` that resolves to a directory or a
non-executable, covering the nested-archive misconfiguration class, not
just a missing target.
- A latent `set -e` bug that aborted the loop on the first unresolvable
tool (masking every later failure) is fixed, so CI now reports all
failures in one run.

I verified the new probe against PR #8's two tools locally: both pass.
Once this lands, PR #8 goes green on rebase.

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
@pylaligand pylaligand merged commit 6241d22 into main Jun 23, 2026
5 checks passed
@pylaligand pylaligand deleted the moar-tools branch June 23, 2026 21:40
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