A gate that does not depend on its machine, on a runner of its own
Test / gate (push) Canceled after 0s

The gate first ran on the server that deploys the site: a slow container
with no C compiler and no ICU. Ten tests failed there on correct code,
and no Mojo program could be built at all.

- The workflows ask for a runner labeled heavy, not the deploy server:
  the gate builds and runs some 300 Mojo programs and fuzzes. docs/ci.md
  says how to register one. With none registered a run waits.
- The pinned environment has a C compiler on Linux (gcc, with its C
  library pinned to glibc 2.34): mojo build links with the C compiler it
  finds, and conda-forge's default links against a C library too old
  for Mojo's runtime. mojo-local reports a program that could not be
  linked as that, and does not keep the answer.
- The pinned Dafny runs without ICU, and dafny-fetch fails when the
  Dafny it fetched does not start.
- A test's time limit is processor time at the machine's pace
  (tests/helpers/pace.mjs).
- The prover's time on the clock is the caller's: provePseudo and
  Workspace.proofBudgetMs take it, the Prove tab's 3 seconds stay the
  default, and the command line, library-check and the tests use none,
  so their answers are the counted budgets' alone.
- The library pointer moves to its workflow change (e5ae090).
This commit is contained in:
alexm committed 2026-11-13 06:13:28 -05:00
1 parent 401084bab3
commit b10a5c87a3
31 files changed
+427 -104

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ pixi installs these into `.pixi/`, npm into `node_modules/`, and `scripts/dafny.
| Mojo (`mojo`, `mojo-compiler`, `mojo-python`, `mblack`) | 1.2.0 | conda.modular.com, by pixi | LicenseRef-Modular-Proprietary (Modular's license, as `pixi.lock` records it) | Nothing. Tasks run the compiler on our programs. |
| Node.js | 26.10.0 | conda-forge, by pixi | MIT | Nothing. |
| Python | 3.14.7 | conda-forge, by pixi | Python-2.0 | Nothing. The pipelines use its standard library. |
| GCC (`gcc`, on Linux only) | 16.2.0 | conda-forge, by pixi | GPL-3.0-only WITH GCC-exception-3.1 (the compiler, `gcc_impl_linux-64`), with binutils (GPL-3.0-only) and the headers and C library it builds against (LGPL-2.0-or-later) | Nothing. It links the programs `mojo build` makes and builds the C references `library-check` runs and one test's harness; the programs are ours, and no binary is kept. |
| TypeScript | 6.0.3 | npm (`package-lock.json`) | Apache-2.0 | Nothing. `tsc` compiles `src/`; the output is our code. |
| Dafny | 4.11.0 | the GitHub release zip, by `scripts/dafny.py`, checked by SHA-256 | MIT (Dafny and the Z3 it carries, with .NET runtime files; Dafny's own NOTICES.txt lists the rest) | Nothing. Its verdicts are stored in `library/modules/*/*/golden/dafny.json`. |