ci: add parser_cli to StageX build matrix#250
Merged
shahan-khatchadourian-anchorage merged 1 commit intoApr 13, 2026
Conversation
- Add images/parser_cli/Containerfile for Solana-only CLI build - Add parser_cli target to Makefile and stagex.yml matrix - stagex.yml: PR builds require `stagex` label instead of auto-triggering on path changes; GHCR login moved after build - main.yml: disable setup-rust-toolchain built-in cache (Cargo.toml is in src/, not repo root) Incorporates PR #226 (now closed). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot started reviewing on behalf of
shahan-khatchadourian-anchorage
April 11, 2026 03:17
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new StageX-built container image target for a Solana-only parser_cli and updates CI workflows to align StageX PR build triggering/caching behavior.
Changes:
- Add
parser_cliimage build target to the rootMakefileand StageX build matrix. - Introduce
images/parser_cli/Containerfileto build a statically linked Solana-only CLI binary. - Adjust CI workflows: StageX PR builds become label-triggered; GHCR login moved post-build; disable
setup-rust-toolchainbuilt-in cache.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Makefile | Adds out/parser_cli/index.json build target for the new image. |
| images/parser_cli/Containerfile | New StageX container build for the Solana-only CLI binary. |
| .github/workflows/stagex.yml | Adds parser_cli to matrix; changes PR trigger to label-based; moves GHCR login after build. |
| .github/workflows/main.yml | Disables setup-rust-toolchain built-in cache to avoid incorrect workspace assumptions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
prasanna-anchorage
approved these changes
Apr 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
images/parser_cli/Containerfilefor Solana-only CLI build using StageXparser_clitarget toMakefileandstagex.ymlmatrixstagexlabel instead of auto-triggering on path changes; GHCR login moved after build; disable setup-rust-toolchain built-in cache in main.ymlReplaces #232 (rebased). Stacked on #224.
Test plan
parser_cliin CI (addstagexlabel to trigger)parser_appandparser_gatewaybuilds unaffected🤖 Generated with Claude Code