Repository navigation
Go public as 0.1.0 - #5
Merged
Merged
Conversation
The test made the second fetch fail with a zero math timeout, but the formula was already in Typst's process cache, so its compile could finish (about 150 us) before the engine checked the channel and the export returned Ok. Point the second engine at a missing worker instead, so every compile fails as Unavailable with no race. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Each release archive gets THIRD-PARTY-LICENSES.txt: cargo-about's output for that target plus assets/licenses/EMBEDDED-NOTICES.txt, the notices for data compiled into the binary that no Rust licence tool reports (Typst, krilla, hayro, subsetter, CSL styles, bat syntaxes, hyphenation patterns). A CI job checks all five targets. - release.yml checks the tag against lawh's version, smoke-tests the native binaries (--version and an export through the math worker), prints the glibc floor and creates a draft release. - CI runs Linux, macOS and Windows by default. - Crate descriptions say what each crate does today. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ames App::redraw now draws through compose_frame, which the window and a new ignored test share. The test types demo/area.demo into an App with no window and writes one PNG per frame plus a timeline and demo.json. demo/render.sh frames them like a desktop window, shows the keys typed below it, and writes assets/demo.gif and demo/out/lawh-demo.mp4. Two runs give byte-identical output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- README: CI and release badges, the demo GIF under the pitch, what 0.1.0 does (moving is x then p, as in Vim), install from release archives with first-run steps for unsigned binaries, cargo install --git, the command line and its exit codes. - CONTRIBUTING open to contributions; SECURITY.md short, reports through GitHub's private reporting; its threat model moves to docs/architecture.md. - comparison.md and faq.md carry their sources inline. - Maintainer-only notes (CLAUDE.md, landscape.md, three research notes, handoffs) leave git and stay on disk, git-ignored; the empty contrib/ and assets/branding/ placeholders go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- x86_64 macOS builds natively on macos-15-intel and is smoke-tested;
licence files are made once on Linux for all five targets.
- Linux builds on ubuntu-24.04 and ubuntu-24.04-arm, not a moving
label; the glibc floor skips weak symbols.
- Windows links the C runtime statically and checks the exe imports
no VC++ runtime DLL.
- Tags v{version}-{suffix} pass the version check (pre-releases).
- CI tests aarch64 Linux too; the release actions are pinned by SHA.
- objc2 crates resolve to Apache-2.0; licence files keep LF endings.
- The missing-worker test points into a folder that doesn't exist.
- demo/render.sh checks ffmpeg first and never frames stale output.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Every GitHub action in ci.yml, release.yml and bench.yml is pinned by commit SHA with its version in a comment. - README: C compiler needed for source builds, macOS 14 first run, shasum on macOS, Smart App Control wording, absolute doc links that still work inside a release archive, the exit table's label. - Public docs drop milestone dev-log wording; the threat model names the measurement file behind each figure; faq, comparison, keys and tech-stack wording and sources tightened. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under the window, the demo now shows the left end of lawh's status bar at twice its size, where the command line, the mode and messages are written, and only while something is there. The driver records that text per frame (status_left in demo.json); the key row and keys.tsv are gone. The GIF drops from 305 KB to 225 KB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The export tests' hostile_board helper and its time imports serve only the Linux-only memory-cap tests; gate them on Linux so clippy's -D warnings passes on macOS and Windows (CI run 40214315210). - The worker's hostile-formula test runs its memory formulas on Linux only, where the memory cap applies: without it one compiled in 1.97 s, under the 2 s timeout. - .demo scripts and examples/lawhrc check out with LF, like the boards. Checked with clippy for x86_64-pc-windows-gnu and x86_64-apple-darwin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
macOS refuses RLIMIT_AS with EINVAL (CI run 40216100811 on macOS 26), so every worker start there logged a warning, and the CLI test that expects a silent worker failed. The cap was documented as Linux-only already; the worker now asks for it only on Linux and still turns off core dumps on every Unix. CI runs tests with --no-fail-fast so one platform's failures all show in one run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test needs MAX_WORKERS compiles still running after their 20 ms timeouts. A fixed 1500 x 1500 loop outlasted them on CI's Linux runners but finished first on its macOS arm64 runner (CI run 40217935423), so the trivial formula compiled instead of being refused. Time 1000 x 1000 iterations first and scale the loop to about 3 s, clamped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At a 20 ms timeout, CI's Windows runner timed the trivial formula out for real once a worker freed up (run 40219261659); a real timeout is cached, so it never compiled and the test hit its 120 s deadline. Use a 500 ms timeout, and size the stuck compiles to about 10 s with a square loop, so they still outlast the four timeouts with room to spare. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Readies lawh for going public as 0.1.0.
a_formula_that_fails_when_it_is_drawn_stops_the_exportraced a zero math timeout against Typst's cache; it now points at a missing worker, so it fails the same way every run.THIRD-PARTY-LICENSES.txt(cargo-about for the target plusassets/licenses/EMBEDDED-NOTICES.txtfor data compiled into the binary); a CI job checks all five targets.--versionand an export through the math worker), Linux builds on Ubuntu 24.04, Windows links the C runtime statically, releases start as drafts. All actions are pinned by SHA.demo/render.shtypesdemo/area.demointo the app with no window and frames lawh's own pixels intoassets/demo.gif, with the command line magnified below the window.🤖 Generated with Claude Code