Repository navigation
fix(dsh-memory-plugin): accept every DSH 0.x release and check new hosts daily - #5733
Merged
Merged
Conversation
…sts daily DSH checks a plugin's @deepseek-ai/dsh-* peers at load time with prereleases included in the range, so a range listing tested series one by one needed a plugin release for every DSH release. Widen the peers to >=0.1.0-rc.6 <1.0.0-0 and judge the bundle test by the same rule DSH uses. Add a scheduled host compatibility check: hosts and plugins are listed in .github/host-compat.json, and a daily job runs each plugin's tests against the releases the host's npm dist-tags point at, filing one issue per failing release. DSH is the only host listed today. Document the range, the verified releases, and what to do when a new DSH release breaks the bundle; drop the stale ERESOLVE troubleshooting rows.
ZaynJarvis
approved these changes
Oct 8, 2026
chaucerj
added a commit
to chaucerj/OpenViking
that referenced
this pull request
Oct 8, 2026
volcengine#5733 moved dsh to 0.5.18; the shared-lib fallback change still requires a bump relative to the new base.
This was referenced Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
DSH checks every
@deepseek-ai/dsh-*peer of a plugin when it loads the plugin (semver.satisfieswithincludePrerelease: true) and refuses to load a plugin whose range does not admit the running release. The bundle's peer range listed tested series one by one, so each new DSH release line needed another range change and another plugin release (#5645 is the latest example, for0.2.1-alpha.1).This widens the range to every 0.x release from
0.1.0-rc.6on, and adds a scheduled check that runs plugin tests against the releases a host's npm dist-tags point at, so a breaking host release is reported as an issue instead of blocking users up front. The check is host-generic; DSH is the only host listed today.Human Involvement
Related Issue
Supersedes #5645.
Type of Change
Changes Made
@openviking/dsh-memory-plugin0.5.17: peers become>=0.1.0-rc.6 <1.0.0-0inpackage.jsonand the lockfile. The-0keeps1.0.0pre-releases out underincludePrerelease.bundle.test.mjsjudges the range withincludePrerelease: true, matching DSH. The old assertion that the range rejects0.2.0-rc.1used npm's default semantics and did not match what DSH does:0.2.0-rc.2already loaded under the old range. A new assertion requires the lockfile root peers to equal the manifest's..github/host-compat.json+.github/scripts/host-compat.mjs+.github/workflows/host-compat.yml: daily at 00:00 SGT (16:00 UTC) (and on manual dispatch, optionally for one host or an exact release), each listed plugin is copied to a scratch directory, its pinned host packages are moved to the release under test, and its peer range and tests are checked. Because the tests never start the host, a host can also list smoke steps; for DSH they install thatdshrelease in an isolated home, add the bundle packed as npm would publish it, and requiredsh --profile web --dump-configto listopenviking-memory-runtime. A scheduled failure opens one issue per failing host release; it is not a pull request check.ERESOLVErows indocs/{en,zh}/agent-integrations/17-dsh.mdanddocs/images/agents/{en,zh}/deepseek-harness.mdare replaced: DSH installs plugins with pnpm, which only warns on peer mismatches.Testing
I have added tests that prove my fix is effective or that my feature works
New and existing unit tests pass locally with my changes
I have tested this on the following platforms:
node .github/scripts/host-compat.mjslocally: the DSHlatest/nextrelease0.2.0-rc.2and thealpharelease0.2.1-alpha.1pass;--version 0.1.0-rc.6passes;--version 0.0.1-rc.5fails at the peer-range stage as expected. With smoke steps the whole run takes about 70 s.Smoke negative case: the published 0.5.16 (old range) added to a
dsh@0.2.1-alpha.1profile is rejected bydsh plugin add(exit 1, "incompatible with dsh 0.2.1-alpha.1"), so the smoke step fails as intended.Full plugin suite with the host packages at
0.2.0-rc.2: 94 passed, 1 opt-in live test skipped.Published 0.5.16 installed into a
dsh@0.2.0-rc.2profile:dsh --profile web --dump-configlistsopenviking-memory-runtime.actionlintpasses on the new workflow. The workflow itself has not run on GitHub yet; a manual dispatch after merge will be its first run.Checklist