Repository navigation
Conversation
The one-liner and runner code paths in `Task.run` duplicated process creation, throttling, stderr logging and return-code checking. Both now produce a list of commands (`get_commands`) that is run by `_exec`. Standard input is handled by a `get_stdin` context manager, which also closes the input file after use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each `Lazy` task now stores the `asyncio.Future` that computes it, so concurrent requests await the same future. This replaces the per-task lock, the cached `Result`, and `run_cached`/`run_after_deps`. Inside the DB, failures propagate as exceptions; `LazyDB.run` still returns `Ok` or a `Failure`, so its interface is unchanged. Cycle detection now checks which tasks are waiting on which, instead of following the path of a single request. The old check missed a cycle reached from two branches at once (`all` needing both `a` and `b`, with `a` and `b` needing each other), which deadlocked; there is a test for this case now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`Template` only added a `call` method that substituted its arguments. Templates are now plain `TaskProxy` objects, and `tasks_from_call` calls `substitute` directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`_exec` used `proc.communicate()`, so stderr was only logged after the command finished, and uncaptured stdout went straight to the terminal, bypassing the logger. Now stderr, and stdout when it isn't redirected to a file or variable, are read line by line and logged as they arrive. Output lines are escaped before logging with Rich markup enabled, so command output containing brackets like `[/foo]` no longer raises a `MarkupError`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jhidding
temporarily deployed
to
github-pages
November 16, 2026 11:21 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Stacked on #19; merge that one (and #18) first.
Until now, stderr of a task was only logged after the command finished (
proc.communicate()), and stdout that wasn't redirected went straight to the terminal, bypassing the logger._execnow reads stderr, and stdout when it doesn't go to a file or variable, line by line while the command runs, and logs each line with the task's note. stdin from a variable is written to the process directly.Output lines are now escaped before logging. With Rich markup enabled, command output containing brackets like
[/foo]used to raise aMarkupError.Things to be aware of:
StreamReaderlimit) raises an error. This can be raised withlimit=if needed.🤖 Generated with Claude Code