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
…le different modes of operation -- running different containers on demand
…packages -- ANTLR
* Add fork CI (stan-ci) * make step blocking --------- Co-authored-by: Stan Babourine <2166030+babourine@users.noreply.github.com>
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Malformed database DSNs can expose credentials unchanged because URL and query parsing errors are not safely handled.
4 open issues
1 file not reviewed
web/pnpm-lock.yaml: Generated file
What changed in this PR
Adds an API regression suite and fixes six issues in request handling, authentication, SQL rendering, and secret redaction. It also includes the Makefile foundation from #197, which should merge first.
Changes:
- Adds unit, router, end-to-end, smoke, and coverage checks.
- Hardens routing, request bodies, query precedence, authentication, and configuration printing.
- Updates build workflows, local development tooling, dependencies, and UI snapshots.
| File | Description |
|---|---|
| web/src/components/ListPage/__snapshots__/ListPage.test.tsx.snap | Refreshes list-page snapshots. |
| web/src/components/DetailPage/__snapshots__/DetailPage.test.tsx.snap | Refreshes detail-page snapshots. |
| web/pnpm-lock.yaml | Updates UI dependencies. |
| web/Makefile | Adds web development targets. |
| test/e2e/want_test.go | Records skipped assertions for known issues. |
| test/e2e/sync_test.go | Tests synchronous jobs. |
| test/e2e/routing_test.go | Tests routing and JSON errors. |
| test/e2e/jobs_list_test.go | Tests filtering and pagination. |
| test/e2e/job_test.go | Tests asynchronous job lifecycle. |
| test/e2e/health_test.go | Tests cluster health endpoints. |
| test/e2e/client_test.go | Adds shared HTTP test helpers. |
| test/e2e/catalog_test.go | Tests catalog reads and statuses. |
| test/e2e/cancel_test.go | Tests job cancellation. |
| test/e2e/admin_test.go | Tests catalog writes. |
| scripts/ci/smoke.sh | Adds stack smoke checks. |
| scripts/ci/coverage.sh | Adds coverage reporting and checks. |
| scripts/ci/coverage-baseline.txt | Records the coverage baseline. |
| README.md | Documents Makefile and CLI usage. |
| pkg/plugin/auth.go | Documents authentication error semantics. |
| pkg/object/status/status_test.go | Tests object status serialization. |
| pkg/object/object_test.go | Tests object initialization. |
| pkg/object/job/status/status_test.go | Tests job status serialization. |
| pkg/object/job/job_test.go | Tests job defaults and IDs. |
| pkg/object/command/command_test.go | Tests caller allowlists. |
| pkg/duration/duration_test.go | Tests duration parsing and serialization. |
| pkg/context/context.go | Redacts YAML context output. |
| pkg/context/context_test.go | Tests redaction and internal secret retention. |
| Makefile | Adds build, test, coverage, and development targets. |
| internal/pkg/server/server.go | Adds request-body limit configuration. |
| internal/pkg/rbac/ranger/print_test.go | Tests Ranger password redaction. |
| internal/pkg/rbac/ranger/client.go | Redacts Ranger passwords in YAML. |
| internal/pkg/object/command/starrocks/job_context.go | Removes an extra blank line. |
| internal/pkg/object/command/starrocks/backend_client_pool.go | Adds a deprecation lint suppression. |
| internal/pkg/object/command/starrocks/arrow_types.go | Adds a deprecation lint suppression. |
| internal/pkg/object/command/sparkeks/sparkeks.go | Adds uploader deprecation suppressions. |
| internal/pkg/object/command/spark/spark.go | Adds uploader deprecation suppressions. |
| internal/pkg/object/command/postgres/postgres.go | Removes unused state and wraps errors. |
| internal/pkg/object/command/ecs/ecs.go | Removes an unused client field. |
| internal/pkg/heimdall/stdout_test.go | Adds output-capture and telemetry helpers. |
| internal/pkg/heimdall/router_test.go | Tests routing, authentication, health, and body limits. |
| internal/pkg/heimdall/print_test.go | Tests configuration printing and redaction. |
| internal/pkg/heimdall/keepalive.go | Relocates the keepalive default. |
| internal/pkg/heimdall/job.go | Uses shared build metadata; corrects a comment. |
| internal/pkg/heimdall/heimdall.go | Refactors CLI lifecycle and exact routing. |
| internal/pkg/heimdall/handler.go | Limits bodies and fixes query precedence. |
| internal/pkg/heimdall/handler_test.go | Tests payload field precedence. |
| internal/pkg/heimdall/auth.go | Rejects authentication plugin errors. |
| internal/pkg/database/redact.go | Adds database password redaction. |
| internal/pkg/database/redact_test.go | Tests database configuration redaction. |
| internal/pkg/database/filter.go | Parses SQL templates per call. |
| internal/pkg/database/filter_test.go | Tests rendering and concurrent isolation. |
| internal/pkg/aws/s3.go | Adds an uploader deprecation suppression. |
| internal/pkg/auth/auth.go | Adjusts import grouping. |
| go.mod | Updates Go and dependency versions. |
| entrypoint.sh | Uses new binary paths and server subcommand. |
| Dockerfile | Builds through Makefile targets. |
| docker-compose.yaml | Adds readiness checks and build metadata. |
| configs/local.yaml | Updates plugin paths and adds test fixtures. |
| configs/local-cli.yaml | Adds host-development configuration. |
| cmd/heimdall/heimdall.go | Delegates CLI execution to Heimdall. |
| .github/workflows/stan-ci.yml | Adds fork CI and end-to-end checks. |
| .github/workflows/build.yml | Uses Makefile checks, builds, and tests. |
Review effort: Balanced
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.


Hey all. I've been building a test safety net for
heimdall, and it turned up a few bugs along the way. This PR adds the tests and fixes six of them.Builds on #197 (Makefile). The tests run through its make targets, so please merge that one first. Until then, this diff includes it.
How to review
Fixes
What to watch after deploying
The tests, and how to use them
make go-fmt-check go-tidy-check go-vet go-lint go-build go-test(ormake go-all) passes, and the e2e suite passes against the compose stack.