By: ValentinHirschi <valentin.hirschi@gmail.com>
vakint sweep: package-first rounds (RustRedPSweepSettings::package_first) Without it a batch does all its table work and only then forms its units and writes its packages: a batch whose table work runs out of memory writes no package, and a round that ends in a campaign throws its table work away. `package_first: bool` (default false: the behaviour before, byte for byte) takes first the keys whose route is known without table work: the Always keys on presentations the sweep supports and the WhenRefused keys of a channel and presentation that sweep_refusal certainly refuses. Their units are handled as any unit (results read, stored results used, packages written above the cost limit, sweeps run below it) BEFORE any table work, and a package among them ends the batch with the campaign: no table work in that round. Otherwise the batch goes on with the table work of its other keys; WhenRefused keys that the tables refuse on the attempt form units of their own, a second package of the presentation with its own digest, never a change of the first one's demand. Values are unchanged; every key keeps its policy and its route. Not in the route identity; the Debug text of the settings gains `, package_first: false`. Also: an assert that a batch with every key's policy Off has no unit. Tests: a package-first round does no table work and writes the same package (with a map, and with the empty map); a round with nothing to package is the round without the setting; the packages are written before the table work (a refusing key under Off beside an Always key); the round trip of a package-first round equals the tables; a WhenRefused key refused on the attempt beside a written package gets a second package and the first demand is unchanged; the Debug text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Total
1s
Created Started Finished
| Time to Start | Worker time | Duration | Time to finish | Idle | |
|---|---|---|---|---|---|
| Config | 0s | 1s | 1s | 2s | 0s |
| Eval | - | - | - | - | - |
| Build | - | - | - | - | - |
| Suite | 0s | 1s | 1s | 2s | 0s |