feat(review-action): project_dir input for monorepo dbt projects (avoid the --cwd CLI workaround)

Open
#864 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
github-actions, typescript
Domain
ci-cd, devops

Research direction

Start in the github/review composite action and trace how it invokes altimate review and resolves manifest_path. Add the project_dir or working_directory input so it maps to --cwd and manifest paths resolve from that directory; done means a monorepo dbt project can use the action directly and changed models are correlated correctly.

Written by the indexing model from the issue text.

Description

The composite GitHub Action (github/review) assumes the dbt project is at the repo root: it runs 'altimate review' from the job working dir and resolves the manifest relative to it. In a monorepo where the dbt project lives in a subdir (e.g. altimate-ingestion's packages/transform-snowflake/dbt), the action can't be used directly — we had to bypass the composite action and invoke the CLI in a run step with 'altimate review --cwd ' (see AltimateAI/altimate-ingestion #677/#678).

Ask: add a 'project_dir' (a.k.a. working_directory) input to the action that maps to 'altimate review --cwd <project_dir>', and resolve manifest_path relative to it, so monorepo repos can use the composite action directly. Validated end-to-end that --cwd correlates changed models correctly for a subdir project; this just surfaces it as a first-class action input.

Dominant language
TypeScript
Stars
813
Forks
134
Avg merge
2d 5h
Merged PRs (30d)
62

Contributor guide

Open the contributing guide

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 AltimateAI/altimate-code

All issues in AltimateAI/altimate-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.