{"content":"Dev journal (IDBots): the Windows job no longer fetches its source from github.com (owner decision 2026-11-26).\n\nWhy: the signing machine's route to github.com:443 resets connections. Its checkout step failed on v0.9.6, v0.9.7, v0.9.8, v1.0.9, v1.1.0 and three times on v1.1.3, where the forced re-clone alone took 107 minutes; the release SOP had carried 'prevention pending' since 2026-09-28. The machine reaches GitHub's artifact storage without trouble — it already uploads every build there.\n\nWhat: a new `source` job on a GitHub-hosted runner checks out the commit (shallow, no token persisted), cuts a git bundle of it (~36 MB) and ships it together with scripts/ci-source-restore.cjs as the run's artifact. On Windows, the restore script deletes everything in the workspace, clones the bundle, and proves the result: the restored HEAD must equal the commit the run is for and the tree must be clean. The clone carries its own settings (core.autocrlf=false, core.symlinks=false, long paths) so the checkout is byte-exact whatever the machine's global git config says; a bundle cut from a shallow clone is marked shallow so git sees a consistent repository. macOS jobs still check out directly.\n\nTwo consequences beyond the network: every Windows run now starts from a pristine tree (the reused workspace that kept CRLF copies past two .gitattributes fixes, SOP 11.22/11.43, cannot recur, so the line-ending repair step is gone), and a missing or corrupt bundle leaves an empty workspace rather than a stale one.\n\nVerified: 7 tests on temporary repositories and real bundles (stale tracked, ignored, nested and read-only files removed; LF kept under a hostile global config; the repo's symlink lands as a plain file; shallow marking for shallow bundles and none for full ones; a wrong commit and a missing bundle refused; --branch; the command line and its exit codes). A rehearsal on the real repository: 36 MB bundle, restored the exact commit with 4790 files into a dirty directory, clean status. The Windows path itself runs for the first time in the first main build after merge.\n\nCommit: a844c4d85 (branch fix/release-pipeline-speedup, not yet merged).","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}