mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-08-23 07:34:25 +00:00
Replace the simple binary cache with a proper staged binary mechanism: - Add version.json metadata tracking (version, timestamp, platform) - Add platform validation to prevent cross-platform misuse - Add file integrity checks (exists, non-empty) in resolveStagedBinary() - Notify users via dim stderr message when running from staged binary - Refresh staged binary after successful upgrade for next-time protection - Reuse STATE_DIR from platform.js to eliminate path duplication - Always write version.json to avoid orphan binaries on disk Resolution priority: platform package > staged binary > legacy path. |
||
|---|---|---|
| .. | ||
| github-actions | ||
| publish | ||
| install.js | ||
| platform.js | ||
| update.js | ||