Repository navigation
Conversation
…all so forks dont havbe this workflow failing
…eave stale binaries and plugins' Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…tion so Init() call remains just a read call and does not change anything (support of validate and print commands)
…or go and web engineers
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio. |
There was a problem hiding this comment.
🟡 Changes recommended
The Dockerfile passes BUILD_VERSION, but the Makefile reads VERSION, causing images to report dev even when Compose supplies a release version.
1 open issue
1 file not reviewed
web/pnpm-lock.yaml: Generated file
What changed in this PR
Adds Make-based workflows for Go and web development, building on the dependency updates and CLI refactoring in #174 and #196.
Changes:
- Adds project-wide and web-specific build, test, coverage, and cleanup targets.
- Moves CLI handling into the Heimdall package and updates container startup and configuration.
- Refreshes dependencies, UI snapshots, and development documentation.
| File | Description |
|---|---|
web/src/components/ListPage/__snapshots__/ListPage.test.tsx.snap |
Refreshes list-page rendering snapshots. |
web/src/components/DetailPage/__snapshots__/DetailPage.test.tsx.snap |
Refreshes detail-page rendering snapshots. |
web/pnpm-lock.yaml |
Updates Pattern UI and transitive dependencies. |
web/Makefile |
Adds web development targets. |
README.md |
Documents Make workflows and CLI commands. |
Makefile |
Adds unified Go and web workflows. |
internal/pkg/object/command/starrocks/job_context.go |
Removes a blank line. |
internal/pkg/heimdall/keepalive.go |
Relocates the keepalive default. |
internal/pkg/heimdall/job.go |
Uses build metadata; corrects a comment. |
internal/pkg/heimdall/heimdall.go |
Centralizes defaults, CLI handling, and startup. |
internal/pkg/auth/auth.go |
Reorders imports. |
go.sum |
Refreshes dependency checksums. |
go.mod |
Updates Go and dependency versions. |
entrypoint.sh |
Uses the new binary path and server command. |
Dockerfile |
Switches builds to Make and updates Go. |
docker-compose.yaml |
Passes the build-version argument. |
configs/local.yaml |
Adjusts plugin paths and removes an unsupported key. |
configs/local-cli.yaml |
Adds local CLI configuration. |
cmd/heimdall/heimdall.go |
Delegates CLI execution to Heimdall. |
.github/workflows/build.yml |
Updates Go and runs Make in CI. |
Review effort: Balanced
| # Declared right before its only consumer so it invalidates as little as possible. | ||
| ARG BUILD_VERSION=dev | ||
| RUN BUILD_VERSION="${BUILD_VERSION}" ./build.sh --go | ||
| RUN BUILD_VERSION="${BUILD_VERSION}" make exe plugins |
…le different modes of operation -- running different containers on demand
Optional: CI that uses these make targetsprasadlohakpure / Yash Shrivastava (@alephys26) / gauravwarale This PR's Makefile enables a fuller CI: race-enabled tests against Postgres, web tests, It's running green in my fork: https://github.com/babourine/heimdall/actions/runs/47461274319 If you're comfortable adopting it, it replaces Proposed
|

Depends on #174 and #196
gauravwarale Shaunak Sontakke (@ssontakke) I'm merging my changes into
babourine/heimdall:stan_mainfirst, so feel free to use that branch as a reference or cherry-pick from it anytime. I'll keep opening upstream PRs here for visibility, no rush on merging them. Just a heads-up that because I develop againststan_main, newer PRs may depend on earlier ones. 🙏