Skip to content

Add dr dependency install to recipe template's install task - #914

Open
tsdaemon wants to merge 1 commit into
mainfrom
anatolii/taskfile-dr-dependency-install
Open

Add dr dependency install to recipe template's install task#914
tsdaemon wants to merge 1 commit into
mainfrom
anatolii/taskfile-dr-dependency-install

Conversation

@tsdaemon

@tsdaemon tsdaemon commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

RATIONALE

recipe-datarobot-agent-application consolidated all tool installation
behind dr dependency install, driven by .datarobot/cli/versions.yaml,
and removed the old ad-hoc install paths from its Taskfiles
(datarobot/recipe-datarobot-agent-application#872, and the follow-up
"Remove old installation path" commit that added dr dependency install
to task install). Carson asked in Slack to keep this CLI's default
recipe template in sync so every new recipe gets the same up-to-date
dependency install step out of the box.

CHANGES

  • Add dr dependency install as the first step of the install task in
    cmd/task/run/testdata/recipe/.Taskfile.template, the default template
    used to generate a recipe's root Taskfile.yml.

TESTING

  • go test ./cmd/task/run/...
  • task lint

RELATED

🤖 Generated with Claude Code

https://claude.ai/code/session_014AENc35crjzvpEE3cbywuE


Note

Low Risk
Single-line addition to a testdata template used for recipe scaffolding; no runtime or security-sensitive logic changes in this repo.

Overview
Aligns the default recipe Taskfile template with consolidated CLI dependency installation.

New recipes generated from cmd/task/run/testdata/recipe/.Taskfile.template now run dr dependency install as the first step in the install task, before the existing uv / datarobot_early_access[core] install block and dr task run install. This mirrors the agent-application recipe pattern driven by .datarobot/cli/versions.yaml so greenfield projects get tool installs from the same path out of the box.

Reviewed by Cursor Bugbot for commit 5a86599. Configure here.

Carson asked in Slack thread to keep the default recipe Taskfile
template in sync with recipe-datarobot-agent-application#872, which
consolidated tool installation behind `dr dependency install` driven
by versions.yaml.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014AENc35crjzvpEE3cbywuE
@tsdaemon tsdaemon self-assigned this Sep 11, 2026
@tsdaemon
tsdaemon marked this pull request as ready for review September 11, 2026 14:03
@tsdaemon
tsdaemon requested a review from a team as a code owner September 11, 2026 14:03
@datarobot-pr-review-router

Copy link
Copy Markdown

Code Ownership

Cli Maintainers

  • cmd/task/run/testdata/recipe/.Taskfile.template

Review requested from the teams above. Labels will be removed automatically upon approval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant