Repository navigation
Review fixes: a link-safe atomic write, one job per key, a client that pickles, a pause that holds a go - #94
Merged
Merged
Conversation
The temp file gets an unpredictable name and is created exclusively. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The look for the key's job, the submit, the id file and the record are one step under a per-key lock, run in a thread to its end, so an attempt that was cancelled while csub answered still records the job it started. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A DataLoader worker that was forked no longer shares its parent's sockets, and one that is spawned can be sent the dataset. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The poller starts nothing while the operator has paused, so the label stays and the first poll after `mia resume` starts the run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
sampling.output_axes, missing_axes, resample, emit and dtype, and cache, are accepted by the grammar and have no effect; a spec that changes one now says so. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <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.
Fixes for what was still open from two earlier reviews of the repository (an external review of 2026-10-29 and the clean-up list of 2026-11-14). No new feature, no stage or action change, no wire-format change, no workflow code touched.
What changes
Jobs and files
write_atomiccreates its temp file exclusively under a name nobody can predict. It used.<name>.tmpand followed links, so a link a sandboxed job left in a workspace was written through with the worker's permissions.Consumers
BufferClientopens its connections on first use, per process. ABufferDatasetcan be pickled, so a DataLoader with the spawn start method can send it to its workers, and a forked worker no longer shares its parent's sockets.autodev
goadded during a pause keeps its label and starts with the first poll aftermia resume; it used to prepare a workspace, fail at the submit and leave the issue atneeds-human.Buffer definitions
sampling.output_axes,missing_axes,resample,emitordtype, or setscache, gets one line in the plan's warnings: the grammar accepts them and nothing reads them. A definition made from the example spec shows it, since that setsemitandcache.Page
Docs
docs/development.mddoes: a module imports only modules above it in the table.Checks
pixi run lintandpixi run typecheckare clean.pixi run test: 1939 passed. The run was before the last commit, which only restructures three lines ofautodev/jobs.pyfor mypy; that file's tests were run again after it.Rollout
Worker code (jobs, the poller) and the page, so a merge needs
mia restart. Nothing to migrate.Left out on purpose
crops.size,per_plane,per_file): the config ignores unknown keys and the example no longer documents them.BindingInfo.errorsin the buffer's "not prepared" reason: it would lengthen the common message for the sake of a rare mismatch between disk and registry.nudge_dataset, the adopt route, the per-app config files), refactors and renames.@StephanPreibisch @jakobtroidl