Qualify and enable bundled Beam on Windows x86_64

Aperta
#424 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Ambito
release, tooling

Direzione di ricerca

This is an umbrella tracker, not a single edit: read the checklist top to bottom and then the threads it depends on (#421 fixture repair, #277 qualification coverage, #371 recovery remedies, #387 artifact requirements). The first runnable step is reproducing the selected Lean Windows CI SDK plus Beam pin locally, including the retained standalone runtime reproducer and CLI/MCP lifetime checks. Done means a focused Lean integration PR enabling Windows bundling with the qualified Beam pin, a qualified containing SDK archive, and updated support docs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Track Windows x86_64 support for Beam built into a native Lean SDK: CLI, MCP server, daemon, and LSP plugin. Checkout shell installation and Windows ARM64 are outside this work.

Upstream Lean now includes libuv 1.53.0 (#16357 in leanprover/lean4), Windows pending-write cancellation (#16426), and the additional runtime DLL (#16424). These changes require qualification together with the exact Beam revision and containing SDK archive. The older Lean repair PR leanprover/lean4#16076 and incident leanprover/lean4#15807 have been closed; historical evidence remains supplemental.

  • Land #421's PID-receipt fixture repair after fresh integration qualification (merged as 8a300fae; all 16 checks passed).
  • Refresh #277's missing qualification coverage against the current harness: restricted runtime environment, distinct Unicode installation/relocation paths, SDK-path cache identity, root boundaries, and rejection preserving ACLs and contents (merged as 5550d7ef; all 16 checks passed).
  • Repair shared non-following file observation on Windows in #426, with native file/link/junction/dangling/error cases and explicit caller policies (merged as a418f901; all 16 checks passed).
  • Resolve #371 through #428 so native Windows clients can execute exact recovery remedies without POSIX shell parsing (merged as f4095d76; all 16 checks passed).
  • Select an exact successful Lean Windows CI SDK; retain source revision, producer identity, archive hashes, and linked-runtime libuv version.
  • Qualify Beam 7b3545cf against the November 14 SDK in Windows CI: 256 Lean-only probe executions, libuv 1.53.0, and complete native CLI/save/MCP/helper lifetime checks passed.
  • Make Beam process ownership correct with merged leanprover/lean4#16418 and qualify a containing SDK.
  • Submit a focused Lean integration enabling Windows bundling with the qualified Beam pin, configured SDK paths, and required package checks.
  • Qualify the actual resulting containing Windows SDK archive under #387's artifact requirements before changing distribution claims.
  • Update support documentation, record the first qualified compiler/SDK, and retire superseded branches after evidence and ownership checks.

Keep historical runtime incidents, unconfirmed shutdown, and PID-fixture failures individually attributed. Passing later tests does not establish a shared cause. #417 retains its separate feature ownership and requires its own integration qualification after #421. Cross-platform automatic recovery in #333 and the Windows Lake launcher are separate follow-ups.

Lean merged leanprover/lean4#16418 on November 16, changing process reaping, child ownership, handle inheritance, and pipe behavior. The selected November 14 SDK excludes that change. The completed source audit found ownership-contract incompatibilities that require correction/design before adopting that backend; do not treat an asynchronous wait API alone as replacing the native job/group boundary.
Qualification coverage #277 is landed. Filesystem repair #426 is landed after correcting and qualifying POSIX publication backups on macOS. Remedy PR #428 is landed after all 16 checks passed. The first Windows consumer run passed archive identity, libuv 1.53.0, and all 256 Lean-only probe executions, then failed creating a private save file after filename expansion. Repair #429 landed as 7b3545cfc932d0d658e9b6ba551d01caa1c58f5d after all 16 checks passed. It keeps serializer-local basenames short and exclusively creates private staging directories; a legal long-name regression checks artifact replacement.

The revised Windows consumer run passed with that Beam revision and the unchanged official 2026-11-14 nightly at Lean 62e0cf067af1febf28eee560a43bd4f72d23bfaa, produced by successful Windows job 132371940189. Reports verified the SDK archive hash, interpreted and compiled libuv 1.53.0, all 256 Lean-only probe executions, and the complete native qualification including the unchanged deep Unicode save fixture, selectors, MCP, and helper lifetime checks.

This qualifies that exact SDK/Beam combination. It excludes the subsequently merged process backend #16418 and does not qualify a final Lean archive containing Beam. Current-master adoption still requires the process-ownership correction and separate containing-archive qualification described above.

Lingua principale
Lean
Stelle
58
Fork
8
Merge medio
1g 12h
PR unite (30g)
68

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di leanprover/lean-beam

Tutte le issue di leanprover/lean-beam

Issue simili

Altre issue su Release

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.