Repository navigation
Expand file tree
/
Copy pathmutations.toml
More file actions
9322 lines (8771 loc) · 350 KB
/
Copy pathmutations.toml
File metadata and controls
9322 lines (8771 loc) · 350 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Safety proofs replayed by the pinned ckdev-mutate runner.
# Names are full libtest paths; the named guard must fail.
# Other tests in the target may also fail: the original proofs ran
# only the named test and did not assert target-wide exclusivity.
# Build and test deadlines are separate: 3600 s for loaded-host builds,
# 600 s for test binaries unless a row extends the bound for many stalled tests.
# Reports belong in target/mutations/.
# Each proof has one CI host: worker-using packages require macOS Seatbelt;
# portable crates and offline command fixtures run only on Linux to avoid
# replaying them twice. Offline signing/debugger probes replace macOS tools
# with fixtures rather than invoking codesign or lldb.
# worker: 32 controls
[[control]]
id = "worker-leaves-inherited-descriptors-open"
hub = "Only stdio remains open at worker startup, asserted by both inherited-descriptor and confinement probes"
hub_targets = ["confinement"]
guards = "worker leaves inherited descriptors open"
test_file = "crates/basal-worker/tests/inherited_descriptors.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test inherited_descriptors"
expect_red = ["worker_closes_extra_inherited_descriptors_at_startup"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/confinement.rs"
old = "for fd in macos::open_descriptors().map_err(ConfinementError::Descriptors)? {"
new = "for fd in Vec::<i32>::new() { // NON-VACUITY BREAK"
[[control]]
id = "lockdown-forbidden-globals-are-not-removed"
guards = "lockdown: forbidden globals are not removed"
test_file = "crates/basal-worker/tests/lockdown.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test lockdown"
expect_red = ["removed_globals_are_absent"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/prelude.js"
old = "for (const key of REMOVED_GLOBALS) {"
new = "for (const key of []) {"
[[control]]
id = "lockdown-forbidden-globals-are-not-removed-inventory"
guards = "lockdown: forbidden globals are not removed (inventory)"
test_file = "crates/basal-worker/tests/lockdown.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test lockdown"
expect_red = ["global_inventory_is_exactly_the_allowlist"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/prelude.js"
old = "for (const key of REMOVED_GLOBALS) {"
new = "for (const key of []) {"
[[control]]
id = "lockdown-function-kind-constructors-are-left-in-place"
guards = "lockdown: function-kind constructors are left in place"
test_file = "crates/basal-worker/tests/lockdown.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test lockdown"
expect_red = ["code_from_strings_is_unreachable"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/prelude.js"
old = "for (const fn of [function () {}, async function () {}, function* () {}, async function* () {}]) {"
new = "for (const fn of []) {"
[[control]]
id = "lockdown-date-prototype-constructor-still-names-the-native-date"
hub = "Date.prototype.constructor must use the journaled clock rather than recover the native clock, asserted by lockdown and clock tests"
hub_targets = ["clock"]
guards = "lockdown: Date.prototype.constructor still names the native Date"
test_file = "crates/basal-worker/tests/lockdown.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test lockdown"
expect_red = ["date_constructor_cannot_be_recovered"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/prelude.js"
old = "ObjectDefineProperty(dateProto, 'constructor', { value: RunDate, writable: true, enumerable: false, configurable: true });"
new = "// constructor left native"
[[control]]
id = "lockdown-local-time-methods-are-kept"
guards = "lockdown: local-time methods are kept"
test_file = "crates/basal-worker/tests/lockdown.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test lockdown"
expect_red = ["local_time_and_locale_are_removed"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/prelude.js"
old = "for (const key of LOCAL_TIME) {"
new = "for (const key of []) {"
[[control]]
id = "values-evaluated-as-source-instead-of-parsed-as-data"
guards = "values evaluated as source instead of parsed as data"
test_file = "crates/basal-worker/tests/lockdown.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test lockdown"
expect_red = ["payloads_arrive_as_plain_data"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/prelude.js"
old = "const JSONParse = JSON.parse;"
new = "const JSONParse = ((evaluate) => (text) => evaluate('(' + text + ')'))(eval);"
[[control]]
id = "intrinsics-are-not-frozen"
guards = "intrinsics are not frozen"
test_file = "crates/basal-worker/tests/lockdown.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test lockdown"
expect_red = ["intrinsics_are_frozen"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "harden(&ctx, roots)?;"
new = "drop(roots);"
[[control]]
id = "recorded-clock-and-random-outcomes-are-not-served-from-the-prefix"
guards = "recorded clock and random outcomes are not served from the prefix"
test_file = "crates/basal-worker/tests/clock.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test clock"
expect_red = ["clock_and_random_are_journaled_and_replayed"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "match recorded.outcome.take() {"
new = "match recorded.outcome.take().filter(|_| false) {"
[[control]]
id = "math-random-is-not-a-host-call"
guards = "Math.random is not a host call"
test_file = "crates/basal-worker/tests/clock.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test clock"
expect_red = ["clock_and_random_are_journaled_and_replayed"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/prelude.js"
old = "value: function random() { return callSync(RANDOM); },"
new = "value: function random() { return 0.5; },"
[[control]]
id = "one-clock-value-reused-for-the-whole-activation"
guards = "one clock value reused for the whole activation"
test_file = "crates/basal-worker/tests/clock.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test clock"
expect_red = ["fresh_clock_read_after_a_gap_returns_the_new_time"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/prelude.js"
old = " function readClock() {\n return callSync(NOW);\n }"
new = " let cachedClock;\n function readClock() {\n if (cachedClock === undefined) { cachedClock = callSync(NOW); }\n return cachedClock;\n }"
[[control]]
id = "recorded-outcomes-released-in-issue-order-not-delivery-order-race-any"
guards = "recorded outcomes released in issue order, not delivery order (race/any)"
test_file = "crates/basal-worker/tests/replay.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test replay"
expect_red = ["race_and_any_keep_their_winner_on_replay"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "release.sort_by_key(|r| r.order);"
new = "release.sort_by_key(|r| r.position);"
[[control]]
id = "recorded-outcomes-released-in-issue-order-not-delivery-order"
guards = "recorded outcomes released in issue order, not delivery order"
test_file = "crates/basal-worker/tests/replay.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test replay"
expect_red = ["recorded_outcomes_are_released_in_delivery_order"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "release.sort_by_key(|r| r.order);"
new = "release.sort_by_key(|r| r.position);"
[[control]]
id = "recorded-rejections-replayed-as-fulfilments-caught-rejection"
guards = "recorded rejections replayed as fulfilments (caught rejection)"
test_file = "crates/basal-worker/tests/replay.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test replay"
expect_red = ["caught_rejection_replays_as_a_rejection"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "self.deliver(position, outcome.settlement, &outcome.value)?;"
new = "self.deliver(position, Settlement::Fulfilled, &outcome.value)?;"
[[control]]
id = "recorded-rejections-replayed-as-fulfilments-all-rejected-any"
guards = "recorded rejections replayed as fulfilments (all-rejected any)"
test_file = "crates/basal-worker/tests/replay.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test replay"
expect_red = ["all_rejected_any_replays_in_order"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "self.deliver(position, outcome.settlement, &outcome.value)?;"
new = "self.deliver(position, Settlement::Fulfilled, &outcome.value)?;"
[[control]]
id = "recorded-rejections-replayed-as-fulfilments-early-all-rejection"
guards = "recorded rejections replayed as fulfilments (early all rejection)"
test_file = "crates/basal-worker/tests/replay.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test replay"
expect_red = ["early_all_rejection_replays_with_calls_in_flight"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "self.deliver(position, outcome.settlement, &outcome.value)?;"
new = "self.deliver(position, Settlement::Fulfilled, &outcome.value)?;"
[[control]]
id = "divergence-check-disabled"
guards = "divergence check disabled"
test_file = "crates/basal-worker/tests/replay.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test replay"
expect_red = ["divergent_call_fails_with_a_typed_error"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "if recorded.kind != kind || recorded.args_digest != digest {"
new = "if false && (recorded.kind != kind || recorded.args_digest != digest) {"
[[control]]
id = "suspension-on-long-running-calls-disabled"
hub = "A worker blocked only on long calls suspends and can resume with a fresh clock reading, asserted by replay and clock tests"
hub_targets = ["clock"]
guards = "suspension on long-running calls disabled"
test_file = "crates/basal-worker/tests/replay.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test replay"
expect_red = ["blocked_only_on_long_calls_suspends_and_resumes"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "if all_long {"
new = "if false && all_long {"
[[control]]
id = "interrupt-handler-never-stops-the-engine-cpu-loop"
hub = "The JS CPU budget interrupts unbounded scripts, including loops and regex payloads, asserted by budgets and fuzz tests"
hub_targets = ["fuzz"]
guards = "interrupt handler never stops the engine (CPU loop)"
test_file = "crates/basal-worker/tests/budgets.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test budgets"
expect_red = ["cpu_bound_loop_is_stopped_by_the_js_time_budget"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "interrupt.halted.get() || interrupt.clock.over_budget()"
new = "false && (interrupt.halted.get() || interrupt.clock.over_budget())"
[[control]]
id = "interrupt-handler-never-stops-the-engine-catastrophic-regex"
hub = "The JS CPU budget interrupts unbounded scripts, including loops and regex payloads, asserted by fuzz and budgets tests"
hub_targets = ["budgets"]
guards = "interrupt handler never stops the engine (catastrophic regex)"
test_file = "crates/basal-worker/tests/fuzz.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test fuzz"
expect_red = ["catastrophic_regex_is_stopped_by_the_js_time_budget"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "interrupt.halted.get() || interrupt.clock.over_budget()"
new = "false && (interrupt.halted.get() || interrupt.clock.over_budget())"
[[control]]
id = "js-time-measured-as-wall-time-from-the-first-engine-entry"
hub = "Time spent outside the JS engine never consumes its CPU budget, asserted by the clock unit test and host-wait integration test"
hub_targets = ["basal_worker"]
guards = "JS time measured as wall time from the first engine entry"
test_file = "crates/basal-worker/tests/budgets.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test budgets"
expect_red = ["long_host_waits_do_not_consume_the_js_time_budget"]
only = false
build_timeout_s = 3600
timeout_s = 600
edits = [
{ file = "crates/basal-worker/src/clock.rs", old = "libc::CLOCK_THREAD_CPUTIME_ID", new = "libc::CLOCK_MONOTONIC" },
{ file = "crates/basal-worker/src/clock.rs", old = " pub fn leave(&self) {\n", new = " pub fn leave(&self) {\n #[allow(unreachable_code)]\n return;\n" },
]
[[control]]
id = "memory-limit-not-applied"
guards = "memory limit not applied"
test_file = "crates/basal-worker/tests/budgets.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test budgets"
expect_red = ["memory_limit_holds"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine/allocator.rs"
old = "if !self.permits(size, 0) {"
new = "if false && !self.permits(size, 0) { // NON-VACUITY BREAK"
[[control]]
id = "stack-limit-not-applied"
guards = "stack limit not applied"
test_file = "crates/basal-worker/tests/budgets.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test budgets"
expect_red = ["stack_limit_holds"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "rt.set_max_stack_size(request.budgets.stack_bytes as usize);"
new = "// stack limit skipped"
[[control]]
id = "stall-detection-disabled"
guards = "stall detection disabled"
test_file = "crates/basal-worker/tests/budgets.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test budgets"
expect_red = ["stalled_promise_is_reported_as_stalled"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "ScriptState::Pending if outstanding.is_empty() => {"
new = "ScriptState::Pending if false && outstanding.is_empty() => {"
[[control]]
id = "sh-installed-in-every-profile"
hub = "The flow profile exposes no shell primitive, asserted by the profile test and lockdown's exact global inventory"
hub_targets = ["lockdown"]
guards = "sh installed in every profile"
test_file = "crates/basal-worker/tests/profile.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test profile"
expect_red = ["sh_is_unreachable_in_the_flow_profile"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/prelude.js"
old = " if (codemode) {\n api.sh"
new = " if (true || codemode) {\n api.sh"
[[control]]
id = "native-bridge-accepts-sh-in-the-flow-profile"
guards = "native bridge accepts sh in the flow profile"
test_file = "crates/basal-worker/src/engine/tests.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--lib"
expect_red = ["engine::tests::raw_bridge_cannot_issue_sh_in_flow_profile"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/engine.rs"
old = "if bridge.profile == Profile::Flow && kind.is_shell() {"
new = "if false && bridge.profile == Profile::Flow && kind.is_shell() {"
[[control]]
id = "frame-size-not-checked-before-reading-the-payload"
guards = "frame size not checked before reading the payload"
test_file = "crates/basal-worker/tests/ipc.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test ipc"
expect_red = ["oversized_frame_is_refused_and_the_worker_exits_cleanly"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-proto/src/frame.rs"
old = "let len = u32::from_be_bytes(header) as usize;\n if len > MAX_FRAME_BYTES {"
new = "let len = u32::from_be_bytes(header) as usize;\n if false && len > MAX_FRAME_BYTES {"
[[control]]
id = "malformed-frames-break-the-channel-instead-of-being-refused"
guards = "malformed frames break the channel instead of being refused"
test_file = "crates/basal-worker/tests/ipc.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test ipc"
expect_red = ["malformed_frames_are_refused_and_the_worker_survives"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/link.rs"
old = "Err(FrameError::Decode(e)) => {"
new = "Err(FrameError::Decode(e)) if false => {"
[[control]]
id = "deliveries-for-positions-not-awaited-are-accepted"
guards = "deliveries for positions not awaited are accepted"
test_file = "crates/basal-worker/tests/ipc.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test ipc"
expect_red = ["out_of_order_frames_are_refused"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/link.rs"
old = "if !awaiting.contains(&outcome.position) {"
new = "if false && !awaiting.contains(&outcome.position) {"
[[control]]
id = "delivery-order-regressions-are-accepted"
guards = "delivery order regressions are accepted"
test_file = "crates/basal-worker/tests/ipc.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test ipc"
expect_red = ["out_of_order_frames_are_refused"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/link.rs"
old = "Some(last) if received <= last =>"
new = "Some(last) if false && received <= last =>"
[[control]]
id = "worker-depends-on-a-subc-crate"
guards = "worker depends on a subc crate"
test_file = "crates/basal-worker/tests/dependency_fence.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test dependency_fence"
expect_red = ["worker_dependency_tree_has_no_store_no_subc_and_no_core"]
only = false
build_timeout_s = 3600
timeout_s = 600
edits = [
{ file = "crates/basal-worker/Cargo.toml", old = "rquickjs.workspace = true\n", new = "rquickjs.workspace = true\nsubc-protocol = \"0.24.1\"\n" },
{ file = "Cargo.lock", old = " \"subc-client-rs\",\n \"subc-protocol\",\n \"subc-transport\",\n \"tokio\",\n \"tracing\",\n \"webpki-roots\",\n", new = " \"subc-client-rs\",\n \"subc-protocol 0.29.0\",\n \"subc-transport\",\n \"tokio\",\n \"tracing\",\n \"webpki-roots\",\n" },
{ file = "Cargo.lock", old = " \"serde\",\n \"serde_json\",\n \"sha2\",\n \"subc-client-rs\",\n \"subc-os\",\n \"subc-protocol\",\n \"subc-transport\",\n \"tokio\",\n \"tracing\",\n", new = " \"serde\",\n \"serde_json\",\n \"sha2\",\n \"subc-client-rs\",\n \"subc-os\",\n \"subc-protocol 0.29.0\",\n \"subc-transport\",\n \"tokio\",\n \"tracing\",\n" },
{ file = "Cargo.lock", old = " \"rcgen\",\n \"rusqlite\",\n \"rustls\",\n \"serde_json\",\n \"subc-protocol\",\n", new = " \"rcgen\",\n \"rusqlite\",\n \"rustls\",\n \"serde_json\",\n \"subc-protocol 0.29.0\",\n" },
{ file = "Cargo.lock", old = " \"rusqlite\",\n \"serde_json\",\n \"sha2\",\n \"subc-client-rs\",\n \"subc-protocol\",\n \"tokio\",\n]\n", new = " \"rusqlite\",\n \"serde_json\",\n \"sha2\",\n \"subc-client-rs\",\n \"subc-protocol 0.29.0\",\n \"tokio\",\n]\n" },
{ file = "Cargo.lock", old = " \"rquickjs\",\n \"seccompiler\",\n \"serde_json\",\n]\n\n[[package]]\n", new = " \"rquickjs\",\n \"seccompiler\",\n \"serde_json\",\n \"subc-protocol 0.24.1\",\n]\n\n[[package]]\n" },
{ file = "Cargo.lock", old = " \"serde_json\",\n \"subc-control\",\n \"subc-os\",\n \"subc-protocol\",\n \"subc-transport\",\n \"tokio\",\n \"tokio-util\",\n", new = " \"serde_json\",\n \"subc-control\",\n \"subc-os\",\n \"subc-protocol 0.29.0\",\n \"subc-transport\",\n \"tokio\",\n \"tokio-util\",\n" },
{ file = "Cargo.lock", old = "dependencies = [\n \"serde\",\n \"serde_json\",\n \"subc-protocol\",\n]\n", new = "dependencies = [\n \"serde\",\n \"serde_json\",\n \"subc-protocol 0.29.0\",\n]\n" },
{ file = "Cargo.lock", old = "dependencies = [\n \"libc\",\n \"rustix\",\n]\n\n[[package]]\n", new = "dependencies = [\n \"libc\",\n \"rustix\",\n]\n\n[[package]]\nname = \"subc-protocol\"\nversion = \"0.24.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"3b0fb1bc9305afe14d1202970b7e361253dba6108525b356a7e10274436bc80d\"\ndependencies = [\n \"serde\",\n \"serde_json\",\n]\n\n[[package]]\n" },
{ file = "Cargo.lock", old = " \"serde\",\n \"serde_json\",\n \"sha2\",\n \"subc-protocol\",\n \"subtle\",\n \"tokio\",\n]\n", new = " \"serde\",\n \"serde_json\",\n \"sha2\",\n \"subc-protocol 0.29.0\",\n \"subtle\",\n \"tokio\",\n]\n" },
]
[[control]]
id = "seatbelt-profile-not-applied"
guards = "Seatbelt profile not applied"
test_file = "crates/basal-worker/tests/confinement.rs"
runner = "cargo"
package = "basal-worker"
platforms = ["macos"]
target = "--test confinement"
expect_red = ["sandbox_denies_files_sockets_and_exec"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-worker/src/confinement.rs"
old = " apply_seatbelt()?;\n"
new = " // sandbox skipped\n"
# journal: 48 controls
[[control]]
id = "late-outcome-shipped-in-the-prefix-with-a-higher-order-replay-barrier-removed"
hub = "An earlier unresolved call cannot join a replay prefix after a later call has already been released; race, token and crash recovery tests assert this barrier"
hub_targets = ["dispatch_tokens", "journal_cut", "journal_kill"]
guards = "late outcome shipped in the prefix with a higher order (replay barrier removed)"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["race_cut_late_outcome_waits_for_the_barrier"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/journal.rs"
old = "let prefix: Vec<RecordedCall> = rows.iter().map(CallRow::recorded).collect();"
# Only unresolved calls before an already released call cross the replay barrier.
new = "let mut prefix: Vec<RecordedCall> = rows.iter().map(CallRow::recorded).collect();\n let mut next = prefix.iter().filter_map(|c| c.outcome.as_ref().map(|o| o.delivery_order + 1)).max().unwrap_or(0);\n let mut stmt = conn.prepare(\"SELECT m.position, m.settlement, m.value FROM mailbox m JOIN journal j ON j.run_id = m.run_id AND j.position = m.position WHERE m.run_id = ?1 AND j.settlement IS NULL AND m.position < (SELECT MAX(position) FROM journal WHERE run_id = ?1 AND delivery_order IS NOT NULL) ORDER BY m.seq\")?;\n let late = stmt.query_map([run_id], |r| Ok((r.get::<_, i64>(0)?, r.get::<_, String>(1)?, r.get::<_, String>(2)?)))?.collect::<rusqlite::Result<Vec<_>>>()?;\n for (p, s, v) in late { // NON-VACUITY BREAK\n if let Some(call) = prefix.get_mut(to_u64(p, \"position\")? as usize) {\n call.outcome = Some(basal_proto::RecordedOutcome { settlement: parse_settlement(&s)?, value: json(v, \"late value\")?, delivery_order: next });\n next += 1;\n }\n }"
[[control]]
id = "suspend-transition-does-not-re-read-arrivals-lost-wakeup"
guards = "suspend transition does not re-read arrivals (lost wakeup)"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["completion_after_suspended_report_is_not_lost"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/runs.rs"
old = "let arrived = settled_awaited\n || in_mailbox > 0\n || crate::model::to_u64(readiness, \"readiness\")? != seen_readiness;"
new = "let arrived = false;"
[[control]]
id = "claim-is-not-a-compare-and-set-from-pending"
guards = "claim is not a compare-and-set from pending"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["concurrent_resumes_start_one_activation"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/runs.rs"
old = "awaited = NULL WHERE run_id = ?1 AND state = 'pending'\","
new = "awaited = NULL WHERE run_id = ?1 AND state IN ('pending', 'running')\","
[[control]]
id = "outcomes-arriving-during-an-activation-are-never-released-by-it"
hub = "Available mailbox outcomes are delivered during the current activation after prefix replay, rather than waiting for another activation; live-call, scoped-flow and crash recovery tests assert that delivery"
hub_targets = ["builtins_dispatch", "dispatch_authorization", "dispatch_kv", "dispatch_limits", "dispatch_tokens", "flow_scope_recovery", "flow_scopes", "global_model_scope", "journal_admin", "journal_cut", "journal_identity", "journal_kill", "journal_ownership", "journal_unknown", "package_instances"]
guards = "outcomes arriving during an activation are never released by it"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["completion_during_replay_is_released_after_the_prefix"]
only = false
build_timeout_s = 3600
# The broad replay withholds replies in many tests, each retaining its healthy
# 20- or 60-second activation budget. Allow their failures to finish under load.
timeout_s = 7200
file = "crates/basal-core/src/journal.rs"
old = "WHERE run_id=?1 AND position IN (SELECT value FROM json_each(?2)) ORDER BY seq LIMIT 1"
new = "WHERE run_id=?1 AND position IN (SELECT value FROM json_each(?2)) AND arrived_generation < (SELECT generation FROM runs WHERE run_id=?1) ORDER BY seq LIMIT 1"
[[control]]
id = "rejections-journaled-as-fulfilments-caught-rejection"
hub = "Journaled rejection settlements stay rejected through delivery and replay, including authorization, KV, token and provider refusals"
hub_targets = ["builtins_dispatch", "dispatch_authorization", "dispatch_kv", "dispatch_tokens", "flow_scopes", "journal_cut"]
guards = "rejections journaled as fulfilments (caught rejection)"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["caught_rejection_through_the_parent"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/journal.rs"
old = " position,\n settlement,\n value,\n hash\n ],"
new = " position,\n { let _ = &settlement; \"fulfilled\" },\n value,\n hash\n ],"
[[control]]
id = "rejections-journaled-as-fulfilments-all-rejected-any"
hub = "Journaled rejection settlements stay rejected through delivery and replay, including authorization, KV, token and provider refusals"
hub_targets = ["builtins_dispatch", "dispatch_authorization", "dispatch_kv", "dispatch_tokens", "flow_scopes", "journal_cut"]
guards = "rejections journaled as fulfilments (all-rejected any)"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["all_rejected_any_through_the_parent"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/journal.rs"
old = " position,\n settlement,\n value,\n hash\n ],"
new = " position,\n { let _ = &settlement; \"fulfilled\" },\n value,\n hash\n ],"
[[control]]
id = "rejections-journaled-as-fulfilments-early-all-rejection"
hub = "Journaled rejection settlements stay rejected through delivery and replay, including authorization, KV, token and provider refusals"
hub_targets = ["builtins_dispatch", "dispatch_authorization", "dispatch_kv", "dispatch_tokens", "flow_scopes", "journal_cut"]
guards = "rejections journaled as fulfilments (early all rejection)"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["early_all_rejection_through_the_parent"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/journal.rs"
old = " position,\n settlement,\n value,\n hash\n ],"
new = " position,\n { let _ = &settlement; \"fulfilled\" },\n value,\n hash\n ],"
[[control]]
id = "calls-of-one-run-dispatched-serially-on-the-activation-s-thread"
hub = "Calls dispatch concurrently off the activation thread, so a blocked host cannot prevent other calls, deadline enforcement or ownership loss from progressing"
hub_targets = ["dispatch_slots", "flow_scopes", "journal_ownership"]
guards = "calls of one run dispatched serially on the activation's thread"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["calls_of_one_run_are_dispatched_concurrently"]
only = false
build_timeout_s = 3600
# Serial dispatch also stalls gated drivers. Their bounded joins leave room for
# healthy scheduling delays, and the broad replay pays those waits under load.
timeout_s = 3600
file = "crates/basal-core/src/runtime.rs"
old = "let handle = thread::spawn(f);"
new = "f(); // NON-VACUITY BREAK\n let handle = thread::spawn(|| {});"
[[control]]
id = "recovery-applies-a-committed-local-effect-again"
hub = "A local effect whose outcome is already waiting in the mailbox is never applied again on recovery, asserted by KV and crash recovery tests"
hub_targets = ["dispatch_kv", "journal_cut", "journal_kill"]
guards = "recovery applies a committed local effect again"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["local_effect_behind_unresolved_call_applies_once"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/driver.rs"
old = "if waiting.contains(&row.position) || self.rt.is_inflight(&run_id, row.position) {"
# Ignore a waiting outcome only for local effects, not for remote completions.
new = "if (waiting.contains(&row.position) && row.class != StoredClass::Local) || self.rt.is_inflight(&run_id, row.position) { // NON-VACUITY BREAK"
[[control]]
id = "a-synchronous-call-journaled-without-its-value-is-not-answered-again"
guards = "a synchronous call journaled without its value is not answered again"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["sync_call_journaled_without_value_is_answered_again"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/driver.rs"
old = "if row.class != StoredClass::Sync || row.outcome.is_some() {"
new = "if true || row.class != StoredClass::Sync || row.outcome.is_some() {"
[[control]]
id = "clock-reads-not-kept-monotonic-within-a-run"
guards = "clock reads not kept monotonic within a run"
test_file = "crates/basal-testkit/tests/journal_races.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_races"
expect_red = ["clock_stays_monotonic_across_activations"]
only = false
build_timeout_s = 3600
timeout_s = 600
edits = [
{ file = "crates/basal-core/src/driver.rs", old = "(Some(c), Some(last)) => Some(c.max(last)),", new = "(Some(c), Some(_)) => Some(c)," },
]
[[control]]
id = "the-activation-s-call-insert-is-not-fenced"
guards = "the activation's call insert is not fenced"
test_file = "crates/basal-testkit/tests/journal_ownership.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_ownership"
expect_red = ["owner_loss_before_call_commit_dispatches_nothing"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/journal.rs"
old = "WHERE {FENCE} AND ?4 = ?15"
new = "WHERE (1 OR {FENCE}) AND ?4 = ?15"
[[control]]
id = "recovery-resends-a-call-this-process-is-still-dispatching"
guards = "recovery resends a call this process is still dispatching"
test_file = "crates/basal-testkit/tests/journal_ownership.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_ownership"
expect_red = ["owner_loss_after_call_commit_dispatches_once"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/driver.rs"
old = "if waiting.contains(&row.position) || self.rt.is_inflight(&run_id, row.position) {"
new = "if waiting.contains(&row.position) {"
[[control]]
id = "delivery-order-allocation-is-not-fenced"
guards = "delivery-order allocation is not fenced"
test_file = "crates/basal-testkit/tests/journal_ownership.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_ownership"
expect_red = ["owner_loss_around_order_commit_delivers_nothing_more"]
only = false
build_timeout_s = 3600
timeout_s = 600
edits = [
{ file = "crates/basal-core/src/journal.rs", old = " if !lease.holds(tx)? {\n return Err(lease.lost());\n }\n let readiness: i64", new = " let readiness: i64" },
{ file = "crates/basal-core/src/journal.rs", old = "payload_hash = ?7, \\\n delivery_order = {NEXT_ORDER} \\\n WHERE run_id = ?1 AND position = ?4 AND settlement IS NULL AND {FENCE}\"", new = "payload_hash = ?7, \\\n delivery_order = {NEXT_ORDER} \\\n WHERE run_id = ?1 AND position = ?4 AND settlement IS NULL AND (1 OR {FENCE})\"" },
]
[[control]]
id = "a-call-is-dispatched-before-its-row-commits"
guards = "a call is dispatched before its row commits"
test_file = "crates/basal-testkit/tests/journal_ownership.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_ownership"
expect_red = ["storage_failure_before_commit_dispatches_nothing"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/driver.rs"
# Dispatch only on a failed commit: successful calls must not be sent twice.
old = " self.on_host_call(call)?"
new = " let flow = self.on_host_call(call.clone());\n if flow.is_err() && self.rt.store().read(|_| Ok(())).is_err()\n && matches!(self.rt.class_of(&call.kind, serde_json::from_str::<serde_json::Value>(call.args.as_str()).ok().as_ref()), StoredClass::Query | StoredClass::KeyedMutation | StoredClass::Mutation)\n && let Ok(prepared) = self.prepare(&call) { // NON-VACUITY BREAK\n let flow_id = self.run.flow_id.clone();\n let run_id = self.lease.run_id.clone();\n let _ = self.rt.shared.host.dispatch(&basal_host::CallRequest { flow_id: flow_id.clone(), run_id: run_id.clone(), position: call.position, kind: call.kind, args: prepared.request.unwrap_or(call.args), idempotency_key: crate::ids::idempotency_key(&flow_id, &run_id, call.position), attempt: 1 });\n }\n flow?"
[[control]]
id = "recovery-resends-a-mutation-that-ignores-idempotency-keys"
hub = "Recovery reconciles an unknown unkeyed mutation instead of resending it, asserted by the journal and built-in dispatch recovery tests"
hub_targets = ["builtins_dispatch"]
guards = "recovery resends a mutation that ignores idempotency keys"
test_file = "crates/basal-testkit/tests/journal_unknown.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_unknown"
expect_red = ["unknown_unkeyed_mutation_needs_reconcile"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/driver.rs"
old = "(class, _) if class.safe_to_resend() => resend.push(row.clone()),"
new = "(_, _) => resend.push(row.clone()),"
[[control]]
id = "a-resend-mints-a-new-idempotency-key"
hub = "Every resend preserves the committed call key across cuts, reconciliation and scope deferral, asserted by each recovery target"
hub_targets = ["flow_scope_recovery", "journal_cut", "journal_kill"]
guards = "a resend mints a new idempotency key"
test_file = "crates/basal-testkit/tests/journal_unknown.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_unknown"
expect_red = ["unknown_keyed_mutation_is_reissued_with_the_same_key"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/runtime.rs"
old = "idempotency_key: row.idempotency_key.clone(),"
new = "idempotency_key: format!(\"{}-resent\", row.idempotency_key),"
[[control]]
id = "unavailable-retried-for-every-mutation"
guards = "Unavailable retried for every mutation"
test_file = "crates/basal-testkit/tests/journal_unknown.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_unknown"
expect_red = ["unavailable_is_retried_only_when_safe"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/runtime.rs"
old = "let may_retry = class.safe_to_resend() || proven_unsent;"
new = "let may_retry = true || class.safe_to_resend() || proven_unsent;"
[[control]]
id = "a-call-reconciled-as-not-applied-is-not-sent-again"
guards = "a call reconciled as not applied is not sent again"
test_file = "crates/basal-testkit/tests/journal_unknown.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_unknown"
expect_red = ["reconcile_not_applied_reissues_with_the_same_key"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/driver.rs"
old = "(_, DispatchState::NotApplied) => resend.push(row.clone()),"
new = "(_, DispatchState::NotApplied) => unknown.push(row.position),"
[[control]]
id = "completions-for-a-cancelled-run-are-accepted"
guards = "completions for a cancelled run are accepted"
test_file = "crates/basal-testkit/tests/journal_unknown.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_unknown"
expect_red = ["reconcile_cancel_ends_the_run_and_refuses_later_completions"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/journal.rs"
old = "if state == \"cancelled\" {"
new = "if false && state == \"cancelled\" {"
[[control]]
id = "a-contradictory-completion-is-taken-for-a-redelivery"
guards = "a contradictory completion is taken for a redelivery"
test_file = "crates/basal-testkit/tests/journal_unknown.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_unknown"
expect_red = ["redelivered_completion_is_a_noop_and_contradictory_one_is_quarantined"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/journal.rs"
old = "if waiting == hash {"
new = "if true || waiting == hash {"
[[control]]
id = "divergence-reported-as-a-script-error"
guards = "divergence reported as a script error"
test_file = "crates/basal-testkit/tests/journal_identity.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_identity"
expect_red = ["divergence_fails_the_run_as_nondeterminism"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/driver.rs"
old = "self.fail(\"nondeterminism\", format!(\"{n:?}\"), true)"
new = "self.fail(\"script\", format!(\"{n:?}\"), true)"
[[control]]
id = "code-hash-not-checked-before-replay"
guards = "code hash not checked before replay"
test_file = "crates/basal-testkit/tests/journal_identity.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_identity"
expect_red = ["code_hash_mismatch_is_engine_mismatch_without_replay"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/driver.rs"
old = "if code_hash(&self.run.script, &self.run.manifest) != self.run.code_hash {"
new = "if false && code_hash(&self.run.script, &self.run.manifest) != self.run.code_hash {"
[[control]]
id = "runtime-fingerprint-not-checked-before-replay"
guards = "runtime fingerprint not checked before replay"
test_file = "crates/basal-testkit/tests/journal_identity.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_identity"
expect_red = ["fingerprint_mismatch_is_engine_mismatch_without_replay"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/driver.rs"
old = "Some(recorded) if *recorded != current => {"
new = "Some(recorded) if false && *recorded != current => {"
[[control]]
id = "admission-does-not-consult-tombstones"
guards = "admission does not consult tombstones"
test_file = "crates/basal-testkit/tests/journal_admin.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_admin"
expect_red = ["admission_deduplicates_and_tombstones_refuse_after_pruning"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/admission.rs"
old = "if let Some(run_id) = tomb {"
new = "if let Some(run_id) = tomb.filter(|_| false) {"
[[control]]
id = "admission-does-not-deduplicate"
hub = "Redelivering an admitted trigger returns its existing run without consuming another rate slot or repeating effects after a parent kill"
hub_targets = ["dispatch_limits", "journal_kill"]
guards = "admission does not deduplicate"
test_file = "crates/basal-testkit/tests/journal_admin.rs"
runner = "cargo"
package = "basal-testkit"
platforms = ["macos"]
target = "--test journal_admin"
expect_red = ["admission_deduplicates_and_tombstones_refuse_after_pruning"]
only = false
build_timeout_s = 3600
timeout_s = 600
file = "crates/basal-core/src/admission.rs"
old = "if let Some(run_id) = existing {"
new = "if let Some(run_id) = existing.filter(|_| false) {"
[[control]]
id = "pruning-ignores-open-obligations"
guards = "pruning ignores open obligations"
test_file = "crates/basal-core/src/runtime_regressions.rs"
runner = "cargo"