Kedge

You can't retire an old service until you can prove no accepted work gets lost in the switch.

BLOCKED
306/306 of its own tests pass.17 accepted messages unaccounted for after cutover.10 finished messages came back.
-z 1024, declaredstock programprocess isolation on the Mac, not a containernaive foil: constructed with knowledge of the near-limit edge
RECORDEDSYNTHETICLeah, integration maintainer

All its own tests pass, and the check measured 17 lost and 10 finished messages back. Scenario messages are SYNTHETIC.

RECORDED REPLAYAn earlier run, replayed to explain. This is not happening live.

01 / 08

The rejection

A replacement that passes every one of its own tests was turned away. It grades its own work. The messages it dropped were never in those tests.

The program being retired

name
beanstalkd stock at 25085c5 (25085c5f090031fd7110613a77fd6f816681d801); its own -v prints 'beanstalkd unknown' because the clone had no tags
licence
MIT-style permissive licence, read from LICENSE (Copyright (c) 2007 The authors of beanstalkd.) sha256:bad1fd0e5c
binary hash
sha256:58d45e6bad82a56bb83d
build kind
stock
flags
/Users/sidra/aie-code-lab/reference/frozen/beanstalkd-25085c5 -l 127.0.0.1 -p {port} -b {recovery_dir} -z 1024 -s 1048576
durability
persistence on; log sync every 50 ms

Stock build, unmodified. The hash above is the frozen binary that ran. Nothing to disclose.

Which rules lost it

naive foil: constructed with knowledge of the near-limit edge. The naive and reconciling rule sets are constructed foils, written knowing the edge. They show what a reasonable-looking recovery does, and they are not blind work. Prepared is a reference repair, PREPARED, the labelled fallback: live, Argon writes the repair.

Consequences are counted at message level only.

02 / 08

The flip

No agent investigated this record. A probe ran against the real original with the message you chose, and this is what the original itself said.

Wonder and Spark investigate. They never write code. 0 of 0 agents listed here worked in this run.

NOT VERIFIED No hypothesis was recorded in this run, so no belief changed. The probe's own evidence is below.

The one uncommon part, in the original's own words: killed and restarted

It wrote 3 lines to stderr when it started again

  1. stderr …/recovery/binlog.1:132: job 2 is too big (1025 > 1024)
  2. stderr …/frozen/beanstalkd-25085c5: Errors reading one or more WAL files.
  3. stderr …/frozen/beanstalkd-25085c5: Continuing. You may be missing data.

Its binlog files

filebytes
binlog.11,048,576
lock0
binlog.21,048,576
after the restartbody bytesstill there
The job before yours24yes
Your message1,023gone
The job after yours23gone
-z 1024, declaredprocess isolation on the Mac, not a container

…/frozen/beanstalkd-25085c5 -l 127.0.0.1 -p 62072 -b …/probe-p-judge-z-1/recovery -z 1024 -s 1048576

03 / 08

The repair

NOT VERIFIED Nothing reached the repair. The block stands.

04 / 08

The independent check

NOT VERIFIED The executor never ran, so identity, reproducibility and conformance are all NOT VERIFIED.

05 / 08

The stop

06 / 08

The fence and the count

The stop did not happen in this record. The count below is what the check measured before it.

With the naive rules, measured on the original, of 201 acceptednaive foil: constructed with knowledge of the near-limit edge
17
accepted, then lost
pending messages that vanished
10
finished, then came back
work already done, handed out a second time

The naive and reconciling rule sets are constructed foils, written knowing the edge. They show what a reasonable-looking recovery does, and they are not blind work. Prepared is a reference repair, PREPARED, the labelled fallback: live, Argon writes the repair.

NOT VERIFIED After the stop: lost and came-back are NOT MEASURED. The stop did not complete in this record, so there is no count after it.

Under the naive rules, 10 finished messages would reach the sink a second time. The stop did not happen, so duplicates caught at the sink after it are NOT MEASURED.

17
accepted messages unaccounted for (of 201 accepted)
  1. 17
SinkDurable dedupAttemptsCommitted effectsDupes suppressedStale epoch rejectedAmbiguous-ACK window
synthetic-sinkyes156156001 ms, 10 messages: w-2-0124, w-2-0127, w-2-0129, w-2-0133, w-2-0135, w-2-0136, w-2-0137, w-2-0138, w-2-0139, w-2-0140

07 / 08

The return

NOT VERIFIED The way back was not tested. That reads NOT VERIFIED, never PASS.

08 / 08

The receipt

One receipt. Three separate claims, attempts against effects, the unknowns, the way back, the exact flags.

BLOCK

  • 17 accepted messages unaccounted for
  • 10 finished messages would be delivered again
  • not measured: reproducible build
  • not measured: conformance
  • not measured: return test
-z 1024, declaredstock programprocess isolation on the Mac, not a containernaive foil: constructed with knowledge of the near-limit edge

Candidate 7d9fdf83862381fe. RECORDED

Open the receipt