You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Surface skipped cordis.patch.yml entries after upgrades - a silently dropped config override looks like a behavior regression
#10860
cordis.patch.yml entries that no longer match anything after an upgrade are skipped with only a log-level warning (dsh-app-boot: "A patch that matches nothing warns and is skipped" — patch: entry %C not found, name mismatch ... skipping). In practice that warning is invisible to the operator: the service starts cleanly, the UI opens normally, and any config the patch was overriding silently reverts to defaults. The regression only surfaces later, through actual behavior — in our case only when a real request smoke test exposed it.
Observed incident
On the 0.1.x → 0.2.0 upgrade, an upstream llm plugin was split/renamed. Our existing patch override for it evaporated. Nothing failed at boot; the web UI came up; everything looked healthy until a real request revealed the provider config had reverted. The only reliable post-upgrade check we've found is manually diffing --dump-config against expectations, every time, by hand.
Suggestions
Any of these would close the gap (in increasing strength):
Startup summary: aggregate skipped-patch diagnostics into one visible line at boot (and/or the doctor output), e.g. "3 patch entries not applied: …".
--dump-config annotation: mark which patch entries were applied vs skipped, so a config-audit script can catch drift mechanically instead of by eyeball.
Optional strict mode: a switch that turns "config-carrying patch entry not found" into a boot failure, for deployments that would rather fail loud than run with silently reverted config.
For context: upgrades are exactly when entries go stale (upstream renames/splits), which is also when operators are least familiar with what "correct" looks like — a visible skip notice at that moment is high-value.
Environment: dsh 0.2.0-rc.2, npm global install, web/headless/lark profiles with custom cordis.patch.yml entries.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
cordis.patch.ymlentries that no longer match anything after an upgrade are skipped with only a log-level warning (dsh-app-boot: "A patch that matches nothing warns and is skipped" —patch: entry %C not found,name mismatch ... skipping). In practice that warning is invisible to the operator: the service starts cleanly, the UI opens normally, and any config the patch was overriding silently reverts to defaults. The regression only surfaces later, through actual behavior — in our case only when a real request smoke test exposed it.Observed incident
On the 0.1.x → 0.2.0 upgrade, an upstream llm plugin was split/renamed. Our existing patch override for it evaporated. Nothing failed at boot; the web UI came up; everything looked healthy until a real request revealed the provider config had reverted. The only reliable post-upgrade check we've found is manually diffing
--dump-configagainst expectations, every time, by hand.Suggestions
Any of these would close the gap (in increasing strength):
--dump-configannotation: mark which patch entries were applied vs skipped, so a config-audit script can catch drift mechanically instead of by eyeball.For context: upgrades are exactly when entries go stale (upstream renames/splits), which is also when operators are least familiar with what "correct" looks like — a visible skip notice at that moment is high-value.
Environment: dsh 0.2.0-rc.2, npm global install, web/headless/lark profiles with custom cordis.patch.yml entries.
All reactions