The wait-ended of a build held on the revision view carried no how, a rerun of the held step, a cancel, a mover's leaving and a
revision the catalog answers gone said none. Each of the four ends is said now; a held step whose revision the catalog answers gone
ends failed naming "revision <R> gone", the mover staying.
Builds: design 47 H2 H-A-599, H-A-577 (2), H-A-577 (3), H-A-738 (2), H-A-583 (2), H-A-619; AC-P1b, AC-P2
WireCatalogProcess takes held beside changed, set before the first ask; the runner advances its waiting pipelines from it as from changed. The test-runs whole test answers the view's ask of revision 2 late.
Builds: design 47 H2 H-A-747 (DQ-56, H-A-717), A-448
stands takes pipeline and module, orders its waits by since, pipeline, module, step and artifact, and pages by a cursor holding the last wait; a cursor the runner did not give is refused saying a page is read again from the start; the process and the tools program read the setting; one journal line per caller of a capped answer to a call naming no bound and no next.
Builds: design 47 H2 H-A-709 (2), H-A-708 (3) (the runner's description), H-A-717 (DQ-57)
start with module or modules adds to the head's pipeline that waits or runs (mover-added with the caller), starts a head with none, or reopens an ended one for a module whose step failed; startAgain, the .again.<n> and .unfinished starts go. place-unfinished puts a closed group in the head's pipeline or reopens the pipeline it left, one hand act per call.
Builds: design 47 H2 H-A-571, H-A-607 (3), H-A-609 (1), H-A-623, H-A-643, H-A-644, H-A-725
Test 109 (TestTestRunsAreAskedOncePerLevelAndMoveEveryReader) failed on a loaded build node and passed on the same
commit when it ran again. Test-only; no behaviour of the runner changes.
- The first start has a step bound of a minute, longer than the restart; the setting is rewritten to two seconds between
stop() and start(), so the clock the first runner armed at the take cannot end the run before the restarted runner
hears the first progress.
- start() waits for one more "take-ins: heard on the consumer" line than before it (takeInsHeardMore), where it matched
the first start's line still in the shared buffer.
- An ask is read from the stream, and said taken, only once it is on the stream (askPut, waited for with waitFor): the run
names its ask before the runner has written the ask key and put the ask, so the one read of the stream failed with
"message not found", and an ask-taken heard before the ask key is written moves nothing (read at the silent-bound
wait: the ask key was absent when the take was said), so the clock of the ask never began and the wait ran 60 s.
- The progress wait stops at once, naming the run, when the run has ended.
Builds: design 47 H2 H-A-637
Review round 1. The store kept a running pipeline's mover-key values in
memory while its record stayed at the revision read, but the module's
own runner_unlogged_append writes through a store of its own: a read
between that store's record write and its mover-key writes kept old
values at the new revision, and the runner served `running` while the
bus held `passed`. The copy goes; each key is still read by its name,
none listed, with the trunk's check of the revisions read.
A bound passing while step ends wait now arms the bound again only while
their count (not yet delivered plus unacknowledged) shrank since the
bound before, kept as `waited` on the ask's mark beside `unread`: an end
the handler naks forever, which no delivery limit stops, ends the step
saying the count did not shrink. Every such why says only what is true
("its ask X is not known to be answered: ..."), and none raises
call-unanswered. The ask clock the start makes now reads the durable
itself, so the integration row fails when the start wires none; the
nudge's mutex is the hearer's own.
Builds: issue 1984 note 6 (1984/AC1, 1984/AC2), notes 7 (b), (c), 9 (d), 10 (e)
An ask's bound ended its step "not answered: its holder said nothing"
while the holder's end waited, untaken, in the runner's own step-ended
durable: the runner's queue was counted against the holder (issue 1984,
note 6). As a bound passes the runner now reads that durable once, its
consumer's not-yet-delivered and unacknowledged step ends: while any
wait, the step is not ended, its bound is armed again whole and the
journal says how many wait; with none waiting the step ends with the
why it had, the journal naming the count read. A read that fails arms
the bound once more, kept as `unread` on the ask's own mark in test-runs,
cleared by a read that succeeds; a second failed read in a row ends the
step saying the runner could not read its durable, and raises no
call-unanswered, whose words say the holder said nothing.
Builds: issue 1984 note 6 (1984/AC2), note 7 (a), (b), (c)
The runner took the step ends one at a time at about 13 s each, because
each handler aged up to twenty step-log entries and checked the stores'
fill, and every read and write of a pipeline listed its mover keys
through a new consumer (issue 1984, note 6). The ageing and the fill
check now run as work of their own, nudged by the step ends: the ends
heard while a pass runs merge into one pass after it, and never two run
at once. The pipelines store reads each key by its name and keeps a
running pipeline's mover keys from its last read or write while the
record is still at that revision (every write of a mover key writes the
record too), so a step's end reads the record and writes the record and
its own mover key; a store after a restart, or a pipeline not running,
reads the keys its record names, never a listing.
Builds: issue 1984 note 6 (1984/AC1), ADR 0682 §11
The runner's ageing read the step log through a new ordered consumer at
every retention of every step's end and never removed it: 604 consumers
in 11 minutes, each starting tens of thousands of entries back, ran the
bus at 196% CPU (issue 1982, note 16). The log is now read entry by
entry with the stream's own message get (next entry of the log's
subjects at or after the sequence, so deleted ones are passed over),
and each retention reads its oldest unaged entry alone first: while it
is not past the retention nothing after it is, so a step's end reads
one entry per retention, not twenty.
Builds: design 47 G §330
Only a superseded end naming a revision older than the pipeline's is
asked again; one naming the pipeline's own revision (the builder's
kept-revision path) moves the mover out as H-A-508 has it, so no re-ask
can loop. A build that starts waiting on the revision view says
wait-held, on: revision view, and wait-ended when the view's move ends
it, as the operator's wait does.
Builds: design 47 H2 H-A-563
A build ended superseded is judged by the module graph revision its end
names of the entry that superseded it, never by the order entries were
heard in: none (a builder before H-A-561) moves the mover out as before;
one not newer than the pipeline's own is asked again at once; one newer
the runner's view does not hold yet keeps the step waiting on the
revision view, its revision in the pipeline's value, and each move of
the view judges such steps again, moving the mover out once it holds
the revision; one newer and held moves the mover out at once. No re-ask
can loop: the builder names the revision it judged by.
Builds: design 47 H2 H-A-555, H-A-561, H-A-562
main.453 ended every build step superseded and moved its movers out for
the newer revision's pipeline, though the superseding entry was of source
140, older than its own: no pipeline delivered them. The runner now reads
its own view of the branch's catalog half when a build ends superseded:
the mover leaves only when that revision is newer than the pipeline's and
names another fingerprint of it. Otherwise the end is passed over, said in
the journal, and the build is asked again at once under a new ask, as a
declined step is; the builder's revision wait holds it.
Builds: design 47 H2 H-A-555, H-A-557
The pipelines page lists every watched branch's pipelines together, the
branch a column of each row, so the short row carries the pipeline's branch;
list already answered every branch when none was named, and its description
now says so. The seat mesh-pipeline-runner's form rises to 11 for the field.
Builds: design 47 H2 H-A-533 (hq 1b1e1984)
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
A build step whose build waited for a package ended ask-unanswered after ten
minutes, since only mesh-wants' step-progress armed a bound again. The runner
now consumes and hears the seat mesh-builds' step-progress the same way.
Builds: design 47 H2 H-A-514 addendum
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
A takeins bind that failed was tried again every five seconds. Nothing in the
mesh waits on a timer for another part: the runner binds its takeins durable
at its start and again on each registration-changed, as the indexer binds a
branch's consumer, and says each failed bind; until bound, the main durable
works each take-in.
Builds: design 47 H2 H-A-500 fifth 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)
The takeins durable delivers from the moment it is made, so a take-in said
while the runner was down reached only the main durable, which acknowledged
it with no work: that take-in started no pipeline. Until the takeins durable
is bound, the main durable now works each take-in.taken; from the bind, it
acknowledges with no work those the takeins durable delivers, told apart by
the stream sequence the durable delivers after, so a take-in still waiting on
the main durable is worked whatever the moment it is heard.
Builds: design 47 H2 H-A-500 fourth addendum
The runner heard every event on one serial durable, so a take-in waited behind
hundreds of late step events and its pipeline started ten minutes late. The
runner now makes its own durable <node>_<module>_takeins on EVENTS, filtered
to take-in.taken, and acts on a take-in there alone; the main durable
acknowledges a take-in at once with no work. The test-runs integration test
keeps the runner's findings on their own stream, as the manifest declares:
on EVENTS each reached the main durable unhandled and wrote event-unhandled
again, a flood the take-in now overtakes.
Builds: design 47 H2 H-A-500 (b) and its addenda (2), third addendum (Q2)
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