In main.416 a contracts module's TypeScript package waited about 290 s for a
build node, per step, to answer nothing to run in 1 to 3 s. At placement the
runner now calls each artifact's build seat's verb steps (kept by the
artifact's fingerprint, answered in seconds) with the fetch its steps are
asked with, and ends every lint, unit or integration step of a kind it
answers none for as nothing to run at once: logged, said, asked of no
build node. The other steps are asked as before, beside the build step. A
steps call that fails asks the artifact's steps as before, said in one
journal line. A step placed again after a restart is placed from what its
first placing knew, so a test run keeps its asker.
The build step's record now carries asked-at, as the test steps' do, so
the pipelines page shows how long it waited.
Builds: design 47 H2 H-A-515, H-A-515 addendum, H-A-516
The runner refused every test run once test-runs held 16 MiB, its
setting's default, while its bucket is 64 MiB: seven days of runs never
fit, so every pipeline stopped. The cap is now the bucket's max bytes,
read from the bus (the KV stream's Config.MaxBytes, which runsFill
already read): the bucket is the one truth of the manifest's max-mib,
so the runner keeps no second number and does not read its manifest.
The manifest changes: the setting test-runs-cap-mib, its file resource
test-runs-cap and its environment line go, and test-runs-kept's
default is 48h (code and manifest). At nine tenths of the cap the Ager
deletes the oldest ended runs with their output objects, in the step
log's order from the test runs' retention, until the fill is under
eight tenths, said in one journal line of how many and how old; a run
not ended is never aged by fill.
Builds: design 47 H2 H-A-510, H-A-510 addendum (lead answer)
Review round 1: a node-build-go end naming superseded is refused as an
outcome the runner does not know, moving nothing; a dependent whose steps
ended not asked on a mover whose build ended superseded is taken out and
placed again.
Builds: design 47 H2 H-A-508 (and its addendum)
A build step the builder ends superseded is taken as the mover moved to the
newer revision's pipeline, by the path a newer pipeline taking a mover
already has: its other open steps end superseded, the mover is kept in the
pipeline's superseded, and the pipeline is judged by its other movers. Any
other seat's end naming superseded stays refused as an outcome the runner
does not know.
Builds: design 47 H2 H-A-508 (and its addendum)
The kept-key rule also kept a mesh-wants composition step's own ask key,
whose shared runs are mesh-wants' and no test run whose end deletes it, so
every ended pipeline left that key for good. A key is kept past the end only
for a test run's ask, the rule DropOpen uses.
Builds: design 47 H2 H-A-506 addendum, H-A-506 corrected
At a pipeline's end every ask key of its steps went, a shared test run's
among them, while another pipeline still read the run: that reader's
progress found no key and its steps ended could not run. A shared run's key
now goes only with the run's end (EndRun, leaveRun, unmarkAsks), and a late
ask-taken clears a finding only while its pipeline runs (second addendum).
A declined step asked again deletes its earlier ask's key whatever its run.
The last reader's drop of a run's ask is asked beside the leave, its one
journal line saying dropped, or refused or not answered. A re-pin's
holderless end is tested to drop the open asks of the movers it keeps.
Builds: design 47 H2 H-A-500 addendum (1), H-A-506 corrected, H-A-506 addendum, H-A-506 second addendum
A cancel or an end leaves each shared test run its steps read, and the run's
ask is dropped only when the leaving pipeline was its last reader, never
while another open pipeline still reads it; its own asks of no shared run
and its mesh-wants asks are dropped at once. A step asked again (a rerun, a
declined step of no test run) deletes its earlier ask's key: one key per
ask, gone once the ask is no longer open.
Builds: design 47 H2 H-A-506 corrected, H-A-506 addendum
An ask-taken or step-progress of an ask with no test-run key listed and read
every pipeline (about 3,850), 1 to 2 s per event on the runner's one consumer.
Now every ask the runner puts gets its ask key at the put, naming its
pipeline, mover, step and run: the test run's ask key of H-A-500 and the key
of every other ask are merged into this one form, `ask.<ask>` in test-runs
(a key written before holds its run alone and still reads). Taken, RunTaken
and RunProgress read that key and the one pipeline it names; an event whose
ask has no key is acknowledged at once, counted in H-A-500's one journal line
per hundred. The key goes with the pipeline's end or its run's end, so a late
ask-taken after the end clears no finding (H-A-506 second addendum).
The drops of an ended pipeline's asks are asked beside the end (the Hearer's
Aside): a seat with no holder answers a kept call only at its bound, which
held the cancel verb's answer past its caller's wait in the queue
integration test.
Builds: design 47 H2 H-A-506, H-A-506 addendum, H-A-506 second addendum
A cancelled pipeline's asks stayed on the build seats' work queues and the
holders ran them in full: only the last reader's leave of a shared test run
dropped an ask. Now the cancel, and an end at a placing (holderless, a kept
revision gone), drop every ask still open through its seat's drop, a shared
test run's and a mesh-wants step's alike, and leave every test run read; one
journal line per drop or refusal, and a drop not answered fails nothing.
Builds: design 47 H2 H-A-506
The runner took queue.next only for a pipeline that waited, so most
pipelines kept seq 0 and the assigner had no order across pipelines for a
want's run. queueStart now takes the next sequence for every pipeline it
writes, queued or placed at once, and pipeline-ended carries the record's
seq.
Builds: design 47 H2 §813 (1), H-A-504 corrected, H-A-504 addendum
The ask key ask.<ask> is created with the run and deleted with it, but the
Ager deleted an aged run and left its ask keys in test-runs for good; only a
run whose last reader left lost them. The Ager now holds the run clock and
unmarks the aged run's ask keys as the Hearer does.
Builds: design 47 H2 H-A-500 addenda (1)
Every ask-taken and step-progress listed and read every pipeline to find its
test run, so after a cancel hundreds of late events of ended runs cost one to
two seconds each and held the runner's one event consumer for minutes. The
state test-runs now keeps an ask key ask.<ask> holding the run's key, written
with each ask a run is given and deleted with the run; an event of an ended
run's ask is judged from that key and the run alone and acknowledged at once,
one journal line per hundred.
Builds: design 47 H2 H-A-500 (a) and its addenda (1)
main.291 held the one pipelines-at-once turn 50 minutes waiting for kept
revision 292, which the catalog had removed: nothing pinned it and the wait
had no end. pipeline-started now carries every revision the pipeline's movers
are kept at, and a re-pin says it again with the full list, so the indexer
pins them. A catalog read answered "no such object" is the revision gone;
the placing then ends the pipeline failed "kept revision <r> gone", its
movers are left unfinished and rejoin the next pipeline, and its turn is
freed.
Builds: design 47 H2 H-A-496, H-A-496 addendum
The assigner took a tier progress for `pipeline.<branch>.<revision>` only (two dots), so
the progress of a pipeline started again at the head, `<branch>.<revision>.again.<n>`,
was never moved and read as an empty end: its later tiers were never wanted. One parse
of the runner's seat's key forms (mesh-delivery-sdk pipelinekey, over the contract's key
parsers) now reads a pipeline's key for the assigner's tier progress and the runner's
mover keys; a pipeline-ended whose key is of no form is refused loudly and nothing of
it is kept.
Builds: design 47 H2 H-A-485
A rerun that would reopen an ended pipeline while another open delivering
pipeline carries one of its movers at the same revision is refused with
"its pipeline <key> is running", nothing asked, so one entry is never built
side by side. Tests now cover the two paths review round 2 found untested:
the indexer keeps a revision's gathering while another pipeline's
reservation is left and removes it with the last, and a test step's rerun
reopening an ended pipeline says pipeline-started before its run is started
again.
Builds: design 47 H2 H-A-479 third addendum, H-A-479 second addendum, H-A-479 addendum (2); review round 2
A pipeline ending not passed withdrew every reservation of its revision, so
an again pipeline's failure could withdraw the head's take-in pipeline's
reservations and the other way round. The indexer now withdraws only the
reservations of the ended pipeline's own movers, read from the movers its
pipeline-ended carries, and withdraws the revision's gathering only when
none is left. A start with modules is refused for a module whose head entry
a pipeline still runs ("its pipeline <key> is running"), and takes the next
n without a bound. A rerun reopening an ended pipeline says its
pipeline-started before the step is asked again, so the revision is pinned
before anything reads it. Tests now cover the again form through the
branch's key forms and a release written into a passed again pipeline.
Builds: design 47 H2 H-A-479 second addendum, H-A-479 addendum (2); review round 1
The indexer pins a pipeline's revision from pipeline-started to
pipeline-ended, so a rerun of a step in an ended pipeline (main.258's
composition at 14:41, after its end at 14:15) asked a step against a
revision the catalog had already removed. A rerun of an ended delivering
pipeline now reads its revision fresh through the catalog seat's verb
revision first and is refused by name, nothing asked, when it is gone
("its revision <r> is gone; start the mover again at the head"); once
reopened it says its pipeline-started again, so the indexer pins the
revision until its next end.
Builds: design 47 H2 H-A-479, H-A-479 addendum (2)
A module whose pipeline failed at an unchanged entry was never carried again
until its fingerprint moved, since start refused the head whose pipeline
existed. The start verb now takes modules: the named modules whose newest
entry has no passed pipeline are started at the head's revision, at the
take-in's tiers, keyed <branch>.<revision>.again.<n> (n from 1, written on
absence); a module whose newest entry passed, or that the head holds no
entry of, is refused by name, nothing started. Exactly one of module or
modules is given. The new key form is read by every key-form list (the
sweep's, a release's, the mover keys'). The runner seat's form is 8; the
contract is regenerated.
Builds: design 47 H2 H-A-479, H-A-479 addendum (1)
The delivery view's pipelines page reads the newest pipelines of a branch in
one read of list's short form, so each row now carries the pipeline's source
revision, its catalog graph revision and its steps counted per outcome. The
runner seat's form is 7; the contract is regenerated; the full form stays.
Issue 1983.
Builds: design 47 H2 H-A-467 (addendum), H-A-376
The publish queue's whole test reserves m4 and waits on the seat
mesh-builds' version-reserved by its subject, said as the process says it
(sayReservedOn, now one function main and the test share); without the
event the step fails. Also gofmt of the pipeline's order_test.go.
Builds: design 47 H2 §821, §805; review round 2 finding 2
A kept mover's re-pin was declared in the runner's seat but never said, so a
wait on mesh-pipeline-runner.re-pinned was never answered. The runner's whole
test now waits on pipeline-started, step-ended, pipeline-ended and re-pinned by
seat and name, a same-source re-pin revision being one of its steps.
Builds: design 47 H2 §821 (round-1 finding: EventRePinned unused outside the contracts)
Eight unit tests and two integration tests become rows of the test they
sit beside (t.Run of the same body), so the runner ends below its start
of 105 unit and 4 integration tests counted by top-level function.
Builds: design 47 H2 §819
list answers by default the newest 20 short rows (key, call, start, end,
outcome, movers' count and the first failed or could-not-run step with its
module and why), and the whole pipelines only with full and a limit. show
answers one mover's steps when it names one, the steps its filters hold,
or else each mover's row, never every step of every mover. The tools
program describes each seat verb's tool from its contract, which seatgen
now generates a VerbDescription for; runner_cancel reads the whole
pipelines with full. The runner seat's form is 6.
Builds: design 47 H2 H-A-376, H-A-449, §789
A holder whose node lacks what a step's packages need (the artifact's
check-needs, now named on the integration step's ask) says the step's end
declined with needs and lacks, in place of could not run. The runner puts
it again under a new ask id naming in not-on the nodes that declined it;
a holder on a listed node hands it back at once. The nodes that can take it
are the holders of the step's seat and of the need's seat less those that
declined; when none is left the step ends could not run naming the need
and the nodes asked. The build-step part's form is 3, the runner seat's 5.
Builds: design 47 H2 H-A-375, H-A-445 (ADR 0552 §2, §4)
A mover's build that passes, a rerun's among them, takes out of its
pipeline the steps that ended not asked because it did not build, by the
same take-out a hand-off uses, and the pipeline's placing places those
movers again: their dependents need no hand rerun. The journal says it.
Builds: design 47 H2 H-A-406 (H-A-361's kind)
A run whose one member is a source-only registration's key
source.<owner>.<name> runs that registration's check: one step of its
kind on the build seat it names, at the repository's root, asked on the
seat's check stream as every step, its status the registration's policy's.
Its mover is the registration's key, its repository the origin and its
fingerprint the commit's root tree hash, read through the seat git's trees
as a kept call; so its step-ended names the key, escaped into one subject
part, and the tree. A candidate's revision places nothing of it; at its
turn in the queue its step is placed from its registration. A source member
beside another, or a key with no source-only registration, is refused. The
registrations follower keys a source-only registration by its key.
Builds: design 47 H2 §815, §775; H-A-408, H-A-438
runner_step_output (pipeline, mover, step) reads the step from the state
pipelines and asks the verb output of the build seat's holder on the node
its step key names, by the step's ask, once per artifact the step ran for;
a step that reads a shared run is answered by that run's ask. The runner
keeps no output of its own: the objects step-outputs go, with the step's
and the log entry's output and show's outputs; the runner seat's form
rises to 4. The manifest invokes the three build seats' output.
Builds: design 47 H2 §791; H-A-412 (1)
The runner seat's Mover gains unplaced (kept-revision-unread) and revision, the seat's form 3.
Builds: design 47 H2 §787, §780 (fate: the drop of kept-revisions before the decode goes)
A pipeline ending failed or cancelled keeps each mover whose own required
steps passed or never ran in the runner's state unfinished and names it in
pipeline-ended's unfinished; the branch's next kept catalog revision carries
it, or starts a pipeline for it alone. runner_unfinished reads the state,
runner_unfinished_drop drops one key, runner_unfinished_place asks the new
seat verb place-unfinished (contracts regenerated), both hand acts.
Builds: design 47 H2 §786, §820 (unfinished), H-A-398
Every step-ended goes through sayStepEnded, which writes "step ended <pipeline>
<mover> <step> <outcome> in <duration>"; the cancel verb now says each step it
ends. Resume at a start puts again only an open step's ask no holder took.
Builds: design 47 H2 §784, §777 (H-A-397)
The bound key ask.<seat>.<ask> is armed at the put, again at the holder's
ask-taken (heard now for mesh-builds and mesh-wants too) with what is left
since taken-at, again from now at each step-progress, and at a start for every
open ask whose key is gone; it is deleted at the step's end. Past it the step
ends could-not-run, naming an untaken ask's seat holder as taking none, and its
ask is dropped through the seat's drop. The silent seats' bound, the second put
under AgainID, the ask2. keys and the put again at a holder's running go; a put
refused by a full work queue is said and put again at the kept-call pace.
Builds: design 47 H2 §777, §778 (H-A-349 DQ-4, H-A-395)
taken (the record's start at its take-in), placed (the earliest step start),
ended, and per step kind the earliest start and latest end across movers, so
the gate reads where a pipeline's time went.
Builds: design 47 H2 §785
On 21 Nov the order was the reverse of the first commit's: mesh-contracts'
old build was withdrawn first (21:50:16), so the stayers that awaited it
were placed not asked, and only then did the hand-offs take it away. A
mover that left is still a dependency of those stayers: their not-asked
steps held the pipeline's end as failures. At the hand-off the steps of
each stayer that ended not asked on a dependency that left, directly or
through a mover itself taken out, are taken out, so the placing that
follows places them again against the newest published package; a
dependency that truly did not build is named again at that placing. The
journal says which movers are placed again.
Builds: design 47 H H-A-361, H-A-53, H-A-223
main.158 and main.163 ended failed seconds after newer pipelines took
movers away: the movers that stay still awaited the movers that left,
whose builds had ended superseded, so the next placing ended them "not
asked: its dependency did not build" and the end judgement counted
them as failures. A mover that left is no longer awaited (the stayer
builds against the newest published package, H-A-53), is never placed
in the older pipeline, and the hand-off places what stays at once and
says in the journal which movers stay.
Builds: design 47 H H-A-361, H-A-53, H-A-223
The seat generator gives every value, event and answer the wire field form
(left out while 1) and a tolerant decoder answering the form it read; each
contract carries its forms and a digest of its fields, and the compare fails
a definition whose fields changed while its form did not. Every delivery seat
is regenerated, and the readers take the form.
Builds: design 47 H2 §780; H-A-352
The runner's ended line was written only for a heard step-ended and its run's
readers; the unanswered-bound end, the end at placing, a supersede, a re-pin,
the approval's end, the start pass and the verbs said their ends silently. It
is now written in Hearer.say, the one place that says step-ended, and at the
starter's two sayers that call stepEvent directly (repin, sayNotAsked). The
builder's answered line sat on four of buildEntry's returns; the ask's answer
is now one line in BuildStep's finish, naming the pipeline, the movers, the
step and the outcome, the per-entry existing/built-now line kept beside it.
Builds: design 47 H H-A-320 (1), H-A-333
A working 36-mover pipeline was read as stalled twice: the runner wrote no
line when a step ended or was asked, and the builder none when it answered a
step ask. The runner now writes "<pipeline> <mover> <step> ended <outcome>
(<node>, <duration>)" at each step end it writes (the asking step, every
reader of its test run, and each reader EndRun ends), and "<pipeline> <mover>
<step> asked on <seat>" for each ask put (the re-ask paths keep their own
line). The builder writes "<module>@<fingerprint> build step answered
<outcome> for <pipeline> (existing build / built now)".
Builds: design 47 H H-A-320 (1)
The verb published answered no time, and after a release no digest,
while the seat form says both come when published. The builder now
keeps when it heard or confirmed each publish on the mark, and each
published digest on a kept release; marks and releases written before
answer without them. A number a take-over withdrew is not published.
The runner drops a pipeline's kept answers at its end.
Builds: design 47 H H-A-331, H-A-328
main.137 stood twenty minutes with nats and mesh-vault waiting on
mesh-grants packages published at 20:00, before the wait was written,
so no publish event came. The runner now asks the build seat's
published when it writes the wait and places the mover when the
package is published, saying so in the journal apart from an event.
Builds: design 47 H H-A-326 (1), H-A-326 (3), H-A-328
A step held on a package's publish counted as open, so a pipeline whose
only movers waited on publishes that had come before their wait was
never named by runner_health (main.137, twenty minutes).
Builds: design 47 H H-A-326 (2), H-A-311 (3)
runner_health, show, list and stands refused every pipeline record
carrying the runner's own kept-revisions ("unknown field
kept-revisions" on main.131 and main.137): the field is now dropped
before the seat's strict decode. A required step waiting (an approval,
a pin-held step) now counts as open, as the end's judgement holds it.
Builds: design 47 H H-A-311 (3), H-A-313, H-A-285, H-A-309, H-A-322
main.137 stood seventeen minutes with nothing open while runner_health
said healthy. The tools program says each such pipeline in its journal
once per key (H-A-313).
Builds: design 47 H H-A-311 (3), H-A-313
A late progress or end moved nothing, so movers waiting on what the
step's end gave stayed unplaced: main.137 placed nothing after its
lint's late progress at 20:17:55.
Builds: design 47 H H-A-311 (2), H-A-286, H-A-288