Fix Vale 3.15+ dicpath resolution — drop stray StylesPath from package .vale.ini#4
Conversation
ISC/.vale.ini's `StylesPath = styles` was meant only for developing this package standalone. Vale <=3.14 never read a package's own .vale.ini as live config, so it was harmless once distributed. Vale 3.15.0 changed `vale sync` to create/honor the configured StylesPath (vale-cli/vale#1106), which now also installs this inner .vale.ini as a real sub-config for consumers (as .vale-config/0-ISC.ini). Sync flattens this package's files, so the stray `StylesPath = styles` no longer points anywhere real, and it shadows the consumer's actual StylesPath when the Spelling check resolves `dicpath: dictionaries` - failing with "unable to resolve dicpath" on every file, in every consuming repo, regardless of content. Verified locally: reproduced the failure with Vale 3.15.1 against InnerSourcePatterns, removed this line from the synced sub-config, and vale ran real spell-checking again with no dicpath error. Confirmed broken today in InnerSourceCommons/InnerSourcePatterns (since 2026-06-15) and InnerSourceCommons/InnerSourceLearningPath (since 2026-06-22); InnerSourceCommons/managing-innersource-projects pulls the same unpinned `releases/latest` package and will hit this on its next vale run.
|
Heads up: the |
|
Amazing @rrrutledge. I tried to fix this for a bit but was not able to find the issue. I did not test this myself now but your reasoning sounds so convincing that I just merge this. Fingers crossed that vale works again now :) |
|
I re-ran a vale check on the InnerSourcePatterns repo that previously failed. Now it works! Also re-ran the check on this PR here, also works: I did not check if spelling issues are correctly annotated now, but at least the action does not fail anymore :) So I am just assuming that it is all working now. |
Summary
Every repo that consumes this package's
ISC.zip(InnerSourcePatterns,InnerSourceLearningPath,managing-innersource-projects) has been hittingvale: unable to resolve dicpathon every file since Vale 3.15.0 (released 2026-06-12) — unrelated to any PR's content.InnerSourcePatternsandInnerSourceLearningPathare actively broken today;managing-innersource-projectspulls the same unpinnedreleases/latestpackage and will hit it on its next vale run.Root cause
ISC/.vale.ini'sStylesPath = stylesline was written for developing this package standalone and was harmless once distributed — older Vale never read a package's own.vale.inias live config for consumers.Vale 3.15.0 changed
vale syncto create/honor the configuredStylesPath(vale-cli/vale#1106). As a side effect, it now also installs this inner.vale.inias a real sub-config for consumers (.vale-config/0-ISC.ini). Sync flattens this package's files into the consumer'sStylesPath, soStylesPath = stylesno longer points anywhere real — and it shadows the consumer's actualStylesPathwhen theSpellingcheck resolvesdicpath: dictionaries, failing on every file in every consuming repo.Fix
Drop the stray
StylesPathline. Verified locally: reproduced the failure with Vale 3.15.1 againstInnerSourcePatterns, removed this line from the synced sub-config, and vale went from the dicpath crash straight to real spell-check output (flagging real typos like "Ingka", "Moulis", "Contribfest").Note on rollout
The
Releaseworkflow fires automatically on push tomainunderISC/**, so merging this PR publishes a new release immediately — every consumer onreleases/latest(all three above) picks it up on their nextvale sync.InnerSourcePatternscurrently has a stopgap version-pin (#916 there) that this fix supersedes; closing that once this is out.