Repository navigation
Commit e4e790c
aitools: test that the install hint stays quiet after a project-scoped install (#7667)
## Changes
Test-only: adds `TestMaybeHint_ProjectSkillsInstalledSilent` and
`TestMaybeHint_ProjectSkillsInParentOfRepoSubdirSilent`. They lay out an
install the way `databricks aitools install --scope project` does (a
relative symlink from `.claude/skills/<skill>` to the project's
`.databricks/aitools/skills/<skill>`). Then they check that the
"Databricks skills are not installed" hint stays quiet, both from the
project root and from a subdirectory of the repository.
## Why
A coding agent in an AI Runtime trial ran `databricks aitools install
--scope project`. The very next command, `databricks air list`, said
skills were not installed and suggested reinstalling. This PR originally
fixed that in `claudeToolingInstalled`. #7585 has since made the hint
ask `DatabricksTooling`, which already walks Claude's project skills
folders, so the fix is no longer needed.
The hint tests cover project-scoped plugins and skills under HOME, but
not a project-scoped skills install, so I kept the regression tests.
Both fail on the commit before #7585.
## Tests
`go test ./libs/aitools/...` passes.
This pull request and its description were written by Isaac.
---------
Co-authored-by: Isaac <no-reply@databricks.com>1 parent 4c87e6a commit e4e790c
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
0 commit comments