Skip to content

Smoke-test that pinned tools resolve to runnable binaries#7

Merged
jlouazel merged 3 commits into
mainfrom
jlouazel/ci-smoke-test-binaries
Jun 23, 2026
Merged

Smoke-test that pinned tools resolve to runnable binaries#7
jlouazel merged 3 commits into
mainfrom
jlouazel/ci-smoke-test-binaries

Conversation

@jlouazel

Copy link
Copy Markdown
Collaborator

proto reports a wrong exe-path as a successful install and only fails when the dangling binary is actually used, so the install matrix went green even though the shellcheck plugin produced a broken symlink. I added scripts/smoke-test.sh, which asserts that every tool in .prototools resolves via proto bin and runs; the existing per-platform install job now executes it. The tool list is read from the [plugins] table with the pinned taplo, so new plugins are covered without editing the script.

- proto reports a wrong exe-path as a successful install and only fails when the dangling binary is used, so the install matrix passed despite a broken shellcheck plugin
- add scripts/smoke-test.sh: for every tool in .prototools, assert proto bin resolves and the binary runs
- derive the tool list from the [plugins] table via the pinned taplo so new plugins are covered with no edit here
- run the script in the existing per-platform install job

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
@jlouazel

Copy link
Copy Markdown
Collaborator Author

Will succeed when #6 is merged

jlouazel and others added 2 commits June 23, 2026 22:06
- proto run taplo emits CRLF-terminated JSON under Git Bash, leaving a
  trailing carriage return on every tool name after jq, so proto bin
  failed to resolve all tools except the alphabetically last one
- pipe the tool list through tr -d '\r' before iterating

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
@jlouazel jlouazel enabled auto-merge (squash) June 23, 2026 20:34
@jlouazel jlouazel merged commit 03fb66c into main Jun 23, 2026
5 checks passed
@jlouazel jlouazel deleted the jlouazel/ci-smoke-test-binaries branch June 23, 2026 20:35
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