Skip to content

Hold the auto-install changelog entries until the feature is turned on - #8213

Open
anton-107 wants to merge 1 commit into
mainfrom
hold-aitools-auto-install-changelog
Open

anton-107 wants to merge 1 commit into
mainfrom
hold-aitools-auto-install-changelog

Conversation

@anton-107

Copy link
Copy Markdown
Contributor

Summary

Automatic installation of Databricks AI tools stays off for the next release: no entry in internal/build/cli-compat.json sets auto_install. The login question (#8142) and the consent rules (#8135) are in the binary, but no user sees them until that field is set. This PR holds their release notes back so the notes don't announce them early. No code changes.

 .nextchanges/cli/
-├── aitools-auto-install-consent.md          # #8135
-├── aitools-auto-install-login-question.md   # #8142
 ├── aitools-auto-install-keeps-hand-placed-skills.md
 └── ...

The change that turns the feature on adds them back. The removed text, for that change:

  • The automatic installation of Databricks AI tools now runs only after explicit consent or when an existing CLI-managed global installation is found. Explicit consent is databricks aitools auto-install enable, a global databricks aitools install, or a "yes" to the skills prompt of databricks apps init. If you ran databricks aitools auto-install enable with an earlier CLI version and have no global installation that the CLI made, run it again: before, it only undid disable and did not record an agreement. With such an installation, the CLI infers the consent automatically. It no longer asks anything after a command, and its notice now also names databricks aitools uninstall. (#8135)
  • databricks auth login now asks once, after the profile is saved, whether to install Databricks AI tools for the coding agents on this machine and keep them up to date. A "yes" installs them right after the login, and a "no" turns auto-install off. The question is not asked in non-interactive runs, when a coding agent runs the CLI, or when no coding agent would get the tools. (#8142)

Evidence

  • Before: the next release notes say databricks auth login "now asks", which no user can trigger while auto_install is unset.
    After: the two entries are gone from the notes; uv run --script tools/validate_nextchanges.py exits 0.

Merge Danger

Door: two-way

Reverting restores the two files.

Blast Radius: release-notes

Only the generated changelog of the next release changes. It needs to merge before that release is cut to have any effect.

This pull request and its description were written by Isaac.

Automatic installation of Databricks AI tools stays off for the next
release, so the login question (#8142) and the consent rules (#8135) are
not visible to users yet. Remove their changelog fragments; the change
that turns the feature on adds them back.

Co-authored-by: Isaac <no-reply@databricks.com>
@anton-107
anton-107 requested a review from a team as a code owner November 30, 2026 16:04

@review-oss-bot review-oss-bot 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.

Automated review at 7afe148. Each finding was verified against the code.

No blocking issues found. 1 non-blocking comment(s) and 1 question(s) below.

This PR removes the consent and auth login question fragments from .nextchanges/ so the next release notes don't announce auto-install behavior that stays off until the manifest sets auto_install. Removing the files is correct, but the fragment you kept now refers to an install question that the notes no longer introduce. There's also an open question on whether holding the entries back is better than rewording them.

Questions

  1. Should these entries be reworded rather than removed? The release already describes the feature: databricks aitools auto-install --help (cmd/aitools/autoinstall.go) mentions the login question and the consent rules, and auto-install enable already records consent whatever the gate says. The gate is also read remotely from main's cli-compat.json, so 1.29.0 binaries could turn it on later, while fragments re-added by the enabling PR would land under a later version. Also, validate_nextchanges.py would reject the quoted text as written, because it doesn't link the PR that re-adds it. Options: keep the entries in 1.29.0 and say the behavior is off until turned on, merge the three auto-install entries into one, or document the switch-on outside a later release's notes. (non-blocking)

Comments outside the changed lines

  • [nice to have] .nextchanges/cli/aitools-auto-install-keeps-hand-placed-skills.md: This entry still says "if you answered yes to the install question, it prints which skill it kept". With the consent and login-question entries removed, the next release notes never say what that question is. It's the databricks auth login question, which no user can reach while auto_install is unset, so this is the same early announcement the PR is trying to avoid. Can we drop that clause, or hold this entry back along with the other two?

This branch has not been deployed

No deployments
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