Skip to content

Fix installers for verified DSH alpha.9 and Codewhale alpha.4 releases - #12

Draft
LIghtJUNction wants to merge 5 commits into
mainfrom
review/verified-provider-pins-20261120
Draft

LIghtJUNction wants to merge 5 commits into
mainfrom
review/verified-provider-pins-20261120

Conversation

@LIghtJUNction

Copy link
Copy Markdown
Member

Problem

The default installer must refer to release bytes that are available and verified. DSH records a local tarball as a persistent dependency, so deleting that file after installation breaks later host updates. The Codewhale bootstraps also need to agree with the exact immutable helper and provider revision.

Changes

  • Install the published DSH 0.1.0-alpha.9 archive after checking SHA-256 21bc853b321906550cf529cecc83719e6d14fd70041cc7cb92e4aecd6316d3f1. Keep the verified archive in DSH_HOME/lmm-provider-packages/<SHA>.tgz for subsequent host operations; remove only temporary downloads.
  • Pin Codewhale to released provider e34e356ab7e815b24e89bab05688b3404d2cc638 (0.1.0-alpha.4). Both bootstraps use helper commit 19e058e4760e130fb1c42d83ac4e2c8dc731fc4b and SHA-256 501ec67693bb133309b953c24716ab85e6ac3b7001de52c2f4fc0474b7ea9826.
  • Preserve host commands, checksum rejection, failure exit codes, argument quoting, and original CI budgets. The final diff changes eight files and no workflows.

Validation

  • Original Codewhale Node suite: 32 passed, 0 failed, 0 skipped.
  • Original Codewhale terminal menu suite: 10 passed, 0 failed, 0 skipped, with actual PTY execution.
  • Nine targeted offline DSH/install-failure cases passed; Bash and Node syntax checks passed.
  • Total original script-size budget: 49,984 bytes, below the unchanged 50,000-byte limit.
  • Published DSH and Codewhale release assets were downloaded and their actual bytes rehashed before this PR.

PowerShell 5.1/7 and actual host installations remain for the original PR workflows. This draft PR intentionally triggers the original Installer checks, Codewhale installer and OpenCode installer workflows once; no manual duplicate dispatch is planned. Cancelled, skipped or failed jobs are not accepted as passes.

Final review head: 104c0ab84a65d21d8b909149cc0b89d960d11c50, tree 4f75eb18c1cd9e2fdedb49578a5d3a34306639d9. The earlier helper commit is only an immutable address; the complete final branch is the candidate being tested.

Release assets:

Use provider 81a51a4 after its original unit, host, and Windows environment workflows passed. Keep installer behavior and all workflow definitions unchanged.
Pin both launchers to the already published 8665 helper and its verified SHA256 after the provider revision update. Keep strict download and checksum refusal tests, and update their exact immutable URL expectation.
Intermediate review commit makes the new Codewhale helper address immutable. The next commit must bind both bootstraps and their expected SHA before the original installer gates run. DSH uses the verified alpha.9 release with a persistent checked package for subsequent host updates.
Complete both Codewhale bootstraps with the real helper commit and checksum for alpha.4. DSH installs the verified alpha.9 release archive into a persistent content-addressed path. Preserve original installer errors, host commands, cross-platform tests and workflow budgets.
…mock

Use the resolved persistent package path in the macOS-capable fixture, preserving file content and permission assertions. Load PowerShell Utility before registering its replacement test function and verify command selection, so the original checksum guard is exercised through the intended mock. Keep all runtime scripts, release digests, original assertions and workflow budgets unchanged. The original failed runs remain evidence; PowerShell 5.1 is to be verified by the original PR workflow.
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