Skip to content

ci: drop redundant Dgraph standalone from -short unit job#21

Open
mlwelles wants to merge 3 commits into
matthewmcneely:mainfrom
mlwelles:chore/ci-short-unit-tests
Open

ci: drop redundant Dgraph standalone from -short unit job#21
mlwelles wants to merge 3 commits into
matthewmcneely:mainfrom
mlwelles:chore/ci-short-unit-tests

Conversation

@mlwelles

@mlwelles mlwelles commented Jun 4, 2026

Copy link
Copy Markdown

What this changes

The unit-test CI job runs go test -short, which skips every test that needs a
live Dgraph. That job also stood up a dgraph/standalone container and set
MODUSGRAPH_TEST_ADDR — setup the -short job never uses.

This removes the Set up Dgraph step and the MODUSGRAPH_TEST_ADDR env from the
unit-test job. Integration and load suites keep their own dedicated jobs and are
unaffected.

Why

Standing up a database the job never touches adds minutes and a flaky external
dependency to every unit run for no coverage. Removing it makes the unit job
faster and more reliable.

No test coverage changes — go test -short -race -v . still runs on both Linux
and macOS. The automated review (cubic) found no issues.

The unit-test job runs `go test -short`, which skips every test that needs
a live Dgraph. Standing up a dgraph/standalone container (and setting
MODUSGRAPH_TEST_ADDR) therefore adds setup the job never uses. Remove both;
the integration and load suites keep their own dedicated jobs.
@mlwelles mlwelles requested a review from matthewmcneely as a code owner June 4, 2026 20:00

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

mlwelles added 2 commits June 17, 2026 19:42
The Trunk config pinned trivy@0.59.1, but that release does not exist on
github.com/aquasecurity/trivy — Trunk's templated download
(.../v0.59.1/trivy_0.59.1_Linux-64bit.tar.gz) returns HTTP 404, failing the
Trunk Code Quality check on any PR whose diff trivy scans (e.g. workflow or
broad changes) while reporting no actual lint issues.

Bump to trivy@0.69.3, a real release with the expected Linux-64bit asset. The
plugin (v1.6.7) downloads trivy via a version-templated URL, so no other
change is needed.
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.

1 participant