Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

The dbt_groups call site of #993 and #994 has no unit backstop — break it and the whole suite stays green

Open Beginner friendly
#1,011 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
go
Domain
cli, testing

Research direction

Start with TestCompiledEntrypointsAreWiredForTheRightTarget in internal/cli/dbt_projectdir_test.go and its existing dbt: table rows, which go through runDbtCompile (compile.go:180). Add a row with a dag.py plus dbt_groups: config driven through runCompile, so it reaches expandDbtGroupsInFile (compile.go:259). Done when the row asserts the three path shapes and passes, and it fails once !o.build is applied to the group call site.

Written by the indexing model from the issue text.

Description

TestCompiledEntrypointsAreWiredForTheRightTarget (internal/cli/dbt_projectdir_test.go) drives a leoflow.yaml with a top-level dbt: block, so it exercises runDbtCompile (compile.go:180). It never reaches expandDbtGroupsInFile (compile.go:259), which has its own independent dbtProjectDir / dbtProfilesDir pair.

Measured, each break applied alone:

break go test ./internal/cli/...
expandDbtGroupsInFile(..., !o.build) ok — full green
ProfilesDir: removed from the group render ok — full green

So today:

  • #994 on the hybrid path is guarded by exactly one thing in the entire repository: assertion A6 in test/e2e/dbt-mixing-e2e.sh (#1008). A k3d-flaky day silently unguards it.
  • #993 on the hybrid path is guarded by nothing at all.

The hybrid shape is the authoring mode leoflow targets, so this is the wrong side of the codebase to have uncovered.

The fix

A table row in TestCompiledEntrypointsAreWiredForTheRightTarget driving a dag.py + dbt_groups: config through runCompile, asserting the same three shapes the dbt: rows already assert (image-bound → relative; local → absolute; project with profiles.yml → --profiles-dir).

Strict-TDD order, since the code is currently correct: add the row, watch it pass, apply !o.build to the group call site, watch it fail, revert. ~20 lines.

Found by the review of #1008 — which is why that PR is more load-bearing than its description says.

Dominant language
Go
Stars
46
Forks
1
Avg merge
13h 11m
Merged PRs (30d)
684

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dexadata/dexaflow

All issues in dexadata/dexaflow

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.