Skip to content

Conversation

@yuriyhrytsyuk
Copy link
Contributor

@yuriyhrytsyuk yuriyhrytsyuk commented Jan 27, 2026

RATIONALE

File .datarobot/cli/state.yaml was created in current directory regardless of whether it contains template or not.
State file is only useful for commands that work with existing template.

CHANGES

Only create state file in application template.
Minor refactoring: leave only needed functions public, make LastStart field optional.

PR Automation

Comment-Commands: Trigger CI by commenting on the PR:

  • /trigger-smoke-test or /trigger-test-smoke - Run smoke tests
  • /trigger-install-test or /trigger-test-install - Run installation tests

Labels: Apply labels to trigger workflows:

  • run-smoke-tests or go - Run smoke tests on demand (only works for non-forked PRs)

Important

For Forked PRs: If you're an external contributor, the run-smoke-tests label won't work. Only maintainers can trigger smoke tests on forked PRs by applying the approved-for-smoke-tests label after security review. Please comment requesting maintainer review if you need smoke tests to run.

@github-actions github-actions bot added the go Pull requests that update go code label Jan 27, 2026
@github-actions
Copy link
Contributor

🚀 Smoke tests triggered! Running on Linux and Windows...

@github-actions
Copy link
Contributor

All smoke tests passed!

✅ Linux: success
✅ Windows: success

View run details


// Update state for templates setup completion
_ = state.UpdateAfterTemplatesSetup()
_ = state.UpdateAfterTemplatesSetup(repoRoot)
Copy link
Contributor

Choose a reason for hiding this comment

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

I just want to make sure -- is it possible for repoRoot at this point to NOT be a template directory? Because as I'm reading this we update state.yaml in the same folder as .env.

@yuriyhrytsyuk yuriyhrytsyuk merged commit 4337bd8 into main Jan 29, 2026
12 checks passed
@yuriyhrytsyuk yuriyhrytsyuk deleted the yhr/CFX-4069-state-only-in-repo branch January 29, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Ready for Review go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants