shikibu 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +82 -0
  3. data/lib/shikibu/activity.rb +84 -48
  4. data/lib/shikibu/actors.rb +129 -0
  5. data/lib/shikibu/app.rb +33 -19
  6. data/lib/shikibu/blobs.rb +42 -0
  7. data/lib/shikibu/channels.rb +240 -64
  8. data/lib/shikibu/constants.rb +8 -0
  9. data/lib/shikibu/context.rb +184 -14
  10. data/lib/shikibu/errors.rb +56 -0
  11. data/lib/shikibu/fs.rb +93 -0
  12. data/lib/shikibu/integrations/sidekiq.rb +9 -13
  13. data/lib/shikibu/middleware/rack_app.rb +17 -1
  14. data/lib/shikibu/replay.rb +242 -107
  15. data/lib/shikibu/storage/actor_ops.rb +331 -0
  16. data/lib/shikibu/storage/channel_ops.rb +421 -0
  17. data/lib/shikibu/storage/cursor_ops.rb +37 -0
  18. data/lib/shikibu/storage/sequel_storage.rb +400 -324
  19. data/lib/shikibu/storage/sqlite_ops.rb +58 -0
  20. data/lib/shikibu/supervisor.rb +279 -0
  21. data/lib/shikibu/tasks.rb +193 -0
  22. data/lib/shikibu/version.rb +1 -1
  23. data/lib/shikibu/worker.rb +155 -73
  24. data/lib/shikibu/workflow.rb +106 -48
  25. data/lib/shikibu.rb +4 -0
  26. data/schema/SEMANTICS.md +351 -0
  27. data/schema/db/migrations/mysql/20261123000000_outbox_claimed_at.sql +5 -0
  28. data/schema/db/migrations/mysql/20261201000000_actor_registry.sql +24 -0
  29. data/schema/db/migrations/mysql/20261202000000_actor_capabilities.sql +15 -0
  30. data/schema/db/migrations/mysql/20261203000000_payload_blobs.sql +11 -0
  31. data/schema/db/migrations/mysql/20261204000000_actor_fs.sql +13 -0
  32. data/schema/db/migrations/mysql/20261205000000_actor_tasks.sql +15 -0
  33. data/schema/db/migrations/mysql/20261206000000_actor_tasks_claimed_at.sql +7 -0
  34. data/schema/db/migrations/mysql/20261207000000_add_sandboxed.sql +5 -0
  35. data/schema/db/migrations/mysql/20261208000000_widen_actor_owner_columns.sql +15 -0
  36. data/schema/db/migrations/postgresql/20261123000000_outbox_claimed_at.sql +5 -0
  37. data/schema/db/migrations/postgresql/20261201000000_actor_registry.sql +23 -0
  38. data/schema/db/migrations/postgresql/20261202000000_actor_capabilities.sql +15 -0
  39. data/schema/db/migrations/postgresql/20261203000000_payload_blobs.sql +11 -0
  40. data/schema/db/migrations/postgresql/20261204000000_actor_fs.sql +13 -0
  41. data/schema/db/migrations/postgresql/20261205000000_actor_tasks.sql +15 -0
  42. data/schema/db/migrations/postgresql/20261206000000_actor_tasks_claimed_at.sql +7 -0
  43. data/schema/db/migrations/postgresql/20261207000000_add_sandboxed.sql +5 -0
  44. data/schema/db/migrations/postgresql/20261208000000_widen_actor_owner_columns.sql +7 -0
  45. data/schema/db/migrations/sqlite/20261123000000_outbox_claimed_at.sql +5 -0
  46. data/schema/db/migrations/sqlite/20261201000000_actor_registry.sql +23 -0
  47. data/schema/db/migrations/sqlite/20261202000000_actor_capabilities.sql +15 -0
  48. data/schema/db/migrations/sqlite/20261203000000_payload_blobs.sql +11 -0
  49. data/schema/db/migrations/sqlite/20261204000000_actor_fs.sql +13 -0
  50. data/schema/db/migrations/sqlite/20261205000000_actor_tasks.sql +15 -0
  51. data/schema/db/migrations/sqlite/20261206000000_actor_tasks_claimed_at.sql +7 -0
  52. data/schema/db/migrations/sqlite/20261207000000_add_sandboxed.sql +5 -0
  53. data/schema/db/migrations/sqlite/20261208000000_widen_actor_owner_columns.sql +7 -0
  54. data/schema/docs/column-values.md +10 -0
  55. data/schema/spec/ActorFS.tla +117 -0
  56. data/schema/spec/ActorFS_lww_monotonic.cfg +7 -0
  57. data/schema/spec/ActorFS_new.cfg +8 -0
  58. data/schema/spec/ActorFS_old.cfg +7 -0
  59. data/schema/spec/CompetingMessageClaim.tla +127 -0
  60. data/schema/spec/CompetingMessageClaimSplit.tla +132 -0
  61. data/schema/spec/CompetingMessageClaimSplit_atomic_lost.cfg +7 -0
  62. data/schema/spec/CompetingMessageClaimSplit_atomic_once.cfg +7 -0
  63. data/schema/spec/CompetingMessageClaimSplit_fixed.cfg +7 -0
  64. data/schema/spec/CompetingMessageClaimSplit_split_lost.cfg +7 -0
  65. data/schema/spec/CompetingMessageClaimSplit_split_once.cfg +7 -0
  66. data/schema/spec/CompetingMessageClaimSplit_waitonly_lost.cfg +7 -0
  67. data/schema/spec/CompetingMessageClaimSplit_waitonly_once.cfg +7 -0
  68. data/schema/spec/CompetingMessageClaim_new.cfg +10 -0
  69. data/schema/spec/CompetingMessageClaim_old.cfg +11 -0
  70. data/schema/spec/EpochFencing.tla +87 -0
  71. data/schema/spec/EpochFencingRuns.tla +107 -0
  72. data/schema/spec/EpochFencingRuns_epoch.cfg +6 -0
  73. data/schema/spec/EpochFencingRuns_none.cfg +6 -0
  74. data/schema/spec/EpochFencingRuns_witness.cfg +6 -0
  75. data/schema/spec/EpochFencingRuns_worker.cfg +6 -0
  76. data/schema/spec/EpochFencingRuns_worker1.cfg +6 -0
  77. data/schema/spec/EpochFencing_new.cfg +8 -0
  78. data/schema/spec/EpochFencing_old.cfg +9 -0
  79. data/schema/spec/InstanceClaim.tla +196 -0
  80. data/schema/spec/InstanceClaimVerdict.tla +116 -0
  81. data/schema/spec/InstanceClaimVerdict_changedrows.cfg +6 -0
  82. data/schema/spec/InstanceClaimVerdict_changedrows_live.cfg +6 -0
  83. data/schema/spec/InstanceClaimVerdict_foundrows.cfg +6 -0
  84. data/schema/spec/InstanceClaimVerdict_foundrows_live.cfg +6 -0
  85. data/schema/spec/InstanceClaim_atomic_unfenced.cfg +9 -0
  86. data/schema/spec/InstanceClaim_live.cfg +9 -0
  87. data/schema/spec/InstanceClaim_new.cfg +9 -0
  88. data/schema/spec/InstanceClaim_old.cfg +11 -0
  89. data/schema/spec/InstanceClaim_racy_fenced.cfg +9 -0
  90. data/schema/spec/README.md +97 -0
  91. data/schema/spec/SupervisorRestart.tla +108 -0
  92. data/schema/spec/SupervisorRestartCAS.tla +84 -0
  93. data/schema/spec/SupervisorRestartCAS_nonsticky.cfg +6 -0
  94. data/schema/spec/SupervisorRestartCAS_snapshot.cfg +6 -0
  95. data/schema/spec/SupervisorRestartCAS_sticky.cfg +6 -0
  96. data/schema/spec/SupervisorRestart_racy.cfg +7 -0
  97. data/schema/spec/SupervisorRestart_strict.cfg +7 -0
  98. data/schema/spec/TaskClaim.tla +92 -0
  99. data/schema/spec/TaskClaimReadBack.tla +84 -0
  100. data/schema/spec/TaskClaimReadBack_byid.cfg +6 -0
  101. data/schema/spec/TaskClaimReadBack_order.cfg +6 -0
  102. data/schema/spec/TaskClaim_new.cfg +8 -0
  103. data/schema/spec/TaskClaim_old.cfg +9 -0
  104. data/schema/spec/TaskReclaim.tla +110 -0
  105. data/schema/spec/TaskReclaimAttempts.tla +73 -0
  106. data/schema/spec/TaskReclaimAttempts_attempt.cfg +6 -0
  107. data/schema/spec/TaskReclaimAttempts_claimant.cfg +6 -0
  108. data/schema/spec/TaskReclaim_new.cfg +8 -0
  109. data/schema/spec/TaskReclaim_old.cfg +8 -0
  110. data/schema/spec/WaitRegistration.tla +170 -0
  111. data/schema/spec/WaitRegistrationSub.tla +133 -0
  112. data/schema/spec/WaitRegistrationSub_fixed.cfg +6 -0
  113. data/schema/spec/WaitRegistrationSub_fixed_guarded.cfg +6 -0
  114. data/schema/spec/WaitRegistrationSub_guardonly_reg.cfg +6 -0
  115. data/schema/spec/WaitRegistrationSub_guardonly_res.cfg +6 -0
  116. data/schema/spec/WaitRegistrationSub_head_reg.cfg +6 -0
  117. data/schema/spec/WaitRegistrationSub_head_res.cfg +6 -0
  118. data/schema/spec/WaitRegistrationSub_noclear_reg.cfg +6 -0
  119. data/schema/spec/WaitRegistrationSub_noclear_res.cfg +6 -0
  120. data/schema/spec/WaitRegistrationSub_unfencedreg_reg.cfg +6 -0
  121. data/schema/spec/WaitRegistrationSub_unfencedreg_res.cfg +6 -0
  122. data/schema/spec/WaitRegistration_new.cfg +10 -0
  123. data/schema/spec/WaitRegistration_old.cfg +11 -0
  124. data/schema/spec/WaitRegistration_residual.cfg +11 -0
  125. data/schema/spec/WaitRegistration_sweep.cfg +11 -0
  126. data/schema/spec/actorfs_check_test.go +165 -0
  127. data/schema/spec/claim_check_test.go +387 -0
  128. data/schema/spec/competing_claim_test.go +194 -0
  129. data/schema/spec/epoch_check_test.go +128 -0
  130. data/schema/spec/go.mod +3 -0
  131. data/schema/spec/supervisorrestart_check_test.go +131 -0
  132. data/schema/spec/taskclaim_check_test.go +135 -0
  133. data/schema/spec/taskreclaim_check_test.go +125 -0
  134. data/schema/spec/tlc-check.sh +45 -0
  135. data/schema/spec/tlc-matrix.txt +68 -0
  136. data/schema/spec/wait_check_test.go +256 -0
  137. metadata +121 -2
@@ -0,0 +1,256 @@
1
+ // wait_check_test.go model-checks the channel-receive suspend protocol
2
+ // described in WaitRegistration.tla by exhaustive state-space exploration in
3
+ // Go. The transition relation mirrors the spec action for action:
4
+ //
5
+ // - the pre-fix design (pending check and wait registration as separate
6
+ // steps) reaches a terminal missed-wakeup state;
7
+ // - atomic registration with a reliable publisher scan does not;
8
+ // - atomic registration alone still admits the residual (a waiter scan can
9
+ // run before the registration commits);
10
+ // - adding the requeue sweep heals every stranded state into delivery.
11
+ //
12
+ // Run TLC on the spec proper when a Java toolchain is available:
13
+ //
14
+ // java -jar tla2tools.jar -deadlock -config WaitRegistration_sweep.cfg WaitRegistration.tla
15
+ package spec
16
+
17
+ import (
18
+ "fmt"
19
+ "testing"
20
+ )
21
+
22
+ // waitState mirrors the spec variables of WaitRegistration.tla.
23
+ type waitState struct {
24
+ pending bool
25
+ waiting bool
26
+ received bool
27
+ rpc string // checking, suspending, done
28
+ ppc string // publishing, scanned, done
29
+ }
30
+
31
+ type waitProtocol struct {
32
+ atomicReg bool // pending recheck inside the registration
33
+ scanCanMiss bool // waiter scan may miss a committed/uncommitted wait
34
+ sweep bool // periodic requeue of waiting+pending
35
+ }
36
+
37
+ func waitSuccessors(s waitState, p waitProtocol) []waitState {
38
+ var out []waitState
39
+ add := func(n waitState) { out = append(out, n) }
40
+
41
+ // ---- receiver ----
42
+ if p.atomicReg {
43
+ // R_RegisterAtomic
44
+ if s.rpc == "checking" {
45
+ n := s
46
+ n.rpc = "done"
47
+ if s.pending {
48
+ n.pending = false
49
+ n.received = true
50
+ } else {
51
+ n.waiting = true
52
+ }
53
+ add(n)
54
+ }
55
+ } else {
56
+ // R_CheckPending
57
+ if s.rpc == "checking" {
58
+ n := s
59
+ if s.pending {
60
+ n.pending = false
61
+ n.received = true
62
+ n.rpc = "done"
63
+ } else {
64
+ n.rpc = "suspending"
65
+ }
66
+ add(n)
67
+ }
68
+ // R_RegisterWait
69
+ if s.rpc == "suspending" {
70
+ n := s
71
+ n.waiting = true
72
+ n.rpc = "done"
73
+ add(n)
74
+ }
75
+ }
76
+
77
+ // ---- publisher ----
78
+ // P_Insert
79
+ if s.ppc == "publishing" {
80
+ n := s
81
+ n.pending = true
82
+ n.ppc = "scanned"
83
+ add(n)
84
+ }
85
+ // P_Deliver
86
+ if s.ppc == "scanned" && s.waiting {
87
+ n := s
88
+ n.pending = false
89
+ n.waiting = false
90
+ n.received = true
91
+ n.ppc = "done"
92
+ add(n)
93
+ }
94
+ // P_ScanMiss
95
+ if s.ppc == "scanned" && (!s.waiting || p.scanCanMiss) {
96
+ n := s
97
+ n.ppc = "done"
98
+ add(n)
99
+ }
100
+
101
+ // ---- environment ----
102
+ // S_Requeue
103
+ if p.sweep && s.waiting && s.pending {
104
+ n := s
105
+ n.waiting = false
106
+ n.pending = false
107
+ n.received = true
108
+ add(n)
109
+ }
110
+
111
+ return out
112
+ }
113
+
114
+ func (s waitState) key() string {
115
+ return fmt.Sprintf("%v|%v|%v|%s|%s", s.pending, s.waiting, s.received, s.rpc, s.ppc)
116
+ }
117
+
118
+ func waitInit() waitState {
119
+ return waitState{rpc: "checking", ppc: "publishing"}
120
+ }
121
+
122
+ // stranded reports a terminal missed wakeup: R is registered-waiting on a
123
+ // committed message, P is done, and no sweep exists to heal it. Mirrors
124
+ // NoMissedWakeup in the spec.
125
+ func stranded(s waitState, p waitProtocol) bool {
126
+ return s.waiting && s.pending && s.rpc == "done" && s.ppc == "done" && !p.sweep
127
+ }
128
+
129
+ func exploreWait(p waitProtocol) (states int, violation *waitState, trace []string) {
130
+ start := waitInit()
131
+ seen := map[string]bool{start.key(): true}
132
+ parent := map[string]waitState{}
133
+ queue := []waitState{start}
134
+ var all []waitState
135
+
136
+ for len(queue) > 0 {
137
+ s := queue[0]
138
+ queue = queue[1:]
139
+ states++
140
+ all = append(all, s)
141
+ if stranded(s, p) && violation == nil {
142
+ v := s
143
+ violation = &v
144
+ // keep exploring to also count reachable states
145
+ }
146
+ for _, n := range waitSuccessors(s, p) {
147
+ k := n.key()
148
+ if seen[k] {
149
+ continue
150
+ }
151
+ seen[k] = true
152
+ parent[k] = s
153
+ queue = append(queue, n)
154
+ }
155
+ }
156
+
157
+ if violation != nil {
158
+ for cur := *violation; ; {
159
+ k := cur.key()
160
+ prev, has := parent[k]
161
+ if !has {
162
+ break
163
+ }
164
+ trace = append([]string{fmt.Sprintf("%+v", cur)}, trace...)
165
+ cur = prev
166
+ }
167
+ }
168
+ _ = all
169
+ return
170
+ }
171
+
172
+ // canReachReceived checks whether s can still reach a received=true state.
173
+ func canReachReceived(s waitState, p waitProtocol) bool {
174
+ seen := map[string]bool{s.key(): true}
175
+ queue := []waitState{s}
176
+ for len(queue) > 0 {
177
+ cur := queue[0]
178
+ queue = queue[1:]
179
+ if cur.received {
180
+ return true
181
+ }
182
+ for _, n := range waitSuccessors(cur, p) {
183
+ if seen[n.key()] {
184
+ continue
185
+ }
186
+ seen[n.key()] = true
187
+ queue = append(queue, n)
188
+ }
189
+ }
190
+ return false
191
+ }
192
+
193
+ // TestWait_OldDesignMissedWakeup expects a violation of NoMissedWakeup in the
194
+ // pre-fix design: the publish lands between the pending check and the wait
195
+ // registration, the scan sees no waiter, and R waits forever on a committed
196
+ // message.
197
+ func TestWait_OldDesignMissedWakeup(t *testing.T) {
198
+ p := waitProtocol{atomicReg: false, scanCanMiss: false, sweep: false}
199
+ states, violation, trace := exploreWait(p)
200
+ t.Logf("explored %d states", states)
201
+ if violation == nil {
202
+ t.Fatal("expected a missed-wakeup violation in the old design")
203
+ }
204
+ for _, step := range trace {
205
+ t.Logf(" %s", step)
206
+ }
207
+ }
208
+
209
+ // TestWait_AtomicRegistration verifies the current design closes the
210
+ // check/register gap when eager delivery is reliable.
211
+ func TestWait_AtomicRegistration(t *testing.T) {
212
+ p := waitProtocol{atomicReg: true, scanCanMiss: false, sweep: false}
213
+ states, violation, _ := exploreWait(p)
214
+ t.Logf("explored %d states", states)
215
+ if violation != nil {
216
+ t.Fatalf("unexpected violation: %+v", *violation)
217
+ }
218
+ }
219
+
220
+ // TestWait_ResidualGap verifies honestly that atomic registration alone does
221
+ // not fully close the gap under read-committed isolation: a publisher's
222
+ // waiter scan may still run before the registration commits.
223
+ func TestWait_ResidualGap(t *testing.T) {
224
+ p := waitProtocol{atomicReg: true, scanCanMiss: true, sweep: false}
225
+ states, violation, _ := exploreWait(p)
226
+ t.Logf("explored %d states", states)
227
+ if violation == nil {
228
+ t.Fatal("expected the residual missed-wakeup to be reachable")
229
+ }
230
+ }
231
+
232
+ // TestWait_SweepHeals verifies the backstop: with the periodic requeue
233
+ // sweep every reachable state can still reach delivery.
234
+ func TestWait_SweepHeals(t *testing.T) {
235
+ p := waitProtocol{atomicReg: true, scanCanMiss: true, sweep: true}
236
+ start := waitInit()
237
+ seen := map[string]bool{start.key(): true}
238
+ queue := []waitState{start}
239
+ states := 0
240
+ for len(queue) > 0 {
241
+ s := queue[0]
242
+ queue = queue[1:]
243
+ states++
244
+ if !canReachReceived(s, p) {
245
+ t.Fatalf("state cannot reach delivery: %+v", s)
246
+ }
247
+ for _, n := range waitSuccessors(s, p) {
248
+ if seen[n.key()] {
249
+ continue
250
+ }
251
+ seen[n.key()] = true
252
+ queue = append(queue, n)
253
+ }
254
+ }
255
+ t.Logf("explored %d states, all can reach delivery", states)
256
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shikibu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yasushi Itoh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-22 00:00:00.000000000 Z
11
+ date: 2026-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -189,11 +189,14 @@ files:
189
189
  - README.md
190
190
  - lib/shikibu.rb
191
191
  - lib/shikibu/activity.rb
192
+ - lib/shikibu/actors.rb
192
193
  - lib/shikibu/app.rb
194
+ - lib/shikibu/blobs.rb
193
195
  - lib/shikibu/channels.rb
194
196
  - lib/shikibu/constants.rb
195
197
  - lib/shikibu/context.rb
196
198
  - lib/shikibu/errors.rb
199
+ - lib/shikibu/fs.rb
197
200
  - lib/shikibu/integrations/active_job.rb
198
201
  - lib/shikibu/integrations/sidekiq.rb
199
202
  - lib/shikibu/locking.rb
@@ -204,18 +207,134 @@ files:
204
207
  - lib/shikibu/outbox/relayer.rb
205
208
  - lib/shikibu/replay.rb
206
209
  - lib/shikibu/retry_policy.rb
210
+ - lib/shikibu/storage/actor_ops.rb
211
+ - lib/shikibu/storage/channel_ops.rb
212
+ - lib/shikibu/storage/cursor_ops.rb
207
213
  - lib/shikibu/storage/migrations.rb
208
214
  - lib/shikibu/storage/sequel_storage.rb
215
+ - lib/shikibu/storage/sqlite_ops.rb
216
+ - lib/shikibu/supervisor.rb
217
+ - lib/shikibu/tasks.rb
209
218
  - lib/shikibu/typed_payload.rb
210
219
  - lib/shikibu/version.rb
211
220
  - lib/shikibu/worker.rb
212
221
  - lib/shikibu/workflow.rb
213
222
  - schema/LICENSE
214
223
  - schema/README.md
224
+ - schema/SEMANTICS.md
215
225
  - schema/db/migrations/mysql/20251217000000_initial_schema.sql
226
+ - schema/db/migrations/mysql/20261123000000_outbox_claimed_at.sql
227
+ - schema/db/migrations/mysql/20261201000000_actor_registry.sql
228
+ - schema/db/migrations/mysql/20261202000000_actor_capabilities.sql
229
+ - schema/db/migrations/mysql/20261203000000_payload_blobs.sql
230
+ - schema/db/migrations/mysql/20261204000000_actor_fs.sql
231
+ - schema/db/migrations/mysql/20261205000000_actor_tasks.sql
232
+ - schema/db/migrations/mysql/20261206000000_actor_tasks_claimed_at.sql
233
+ - schema/db/migrations/mysql/20261207000000_add_sandboxed.sql
234
+ - schema/db/migrations/mysql/20261208000000_widen_actor_owner_columns.sql
216
235
  - schema/db/migrations/postgresql/20251217000000_initial_schema.sql
236
+ - schema/db/migrations/postgresql/20261123000000_outbox_claimed_at.sql
237
+ - schema/db/migrations/postgresql/20261201000000_actor_registry.sql
238
+ - schema/db/migrations/postgresql/20261202000000_actor_capabilities.sql
239
+ - schema/db/migrations/postgresql/20261203000000_payload_blobs.sql
240
+ - schema/db/migrations/postgresql/20261204000000_actor_fs.sql
241
+ - schema/db/migrations/postgresql/20261205000000_actor_tasks.sql
242
+ - schema/db/migrations/postgresql/20261206000000_actor_tasks_claimed_at.sql
243
+ - schema/db/migrations/postgresql/20261207000000_add_sandboxed.sql
244
+ - schema/db/migrations/postgresql/20261208000000_widen_actor_owner_columns.sql
217
245
  - schema/db/migrations/sqlite/20251217000000_initial_schema.sql
246
+ - schema/db/migrations/sqlite/20261123000000_outbox_claimed_at.sql
247
+ - schema/db/migrations/sqlite/20261201000000_actor_registry.sql
248
+ - schema/db/migrations/sqlite/20261202000000_actor_capabilities.sql
249
+ - schema/db/migrations/sqlite/20261203000000_payload_blobs.sql
250
+ - schema/db/migrations/sqlite/20261204000000_actor_fs.sql
251
+ - schema/db/migrations/sqlite/20261205000000_actor_tasks.sql
252
+ - schema/db/migrations/sqlite/20261206000000_actor_tasks_claimed_at.sql
253
+ - schema/db/migrations/sqlite/20261207000000_add_sandboxed.sql
254
+ - schema/db/migrations/sqlite/20261208000000_widen_actor_owner_columns.sql
218
255
  - schema/docs/column-values.md
256
+ - schema/spec/ActorFS.tla
257
+ - schema/spec/ActorFS_lww_monotonic.cfg
258
+ - schema/spec/ActorFS_new.cfg
259
+ - schema/spec/ActorFS_old.cfg
260
+ - schema/spec/CompetingMessageClaim.tla
261
+ - schema/spec/CompetingMessageClaimSplit.tla
262
+ - schema/spec/CompetingMessageClaimSplit_atomic_lost.cfg
263
+ - schema/spec/CompetingMessageClaimSplit_atomic_once.cfg
264
+ - schema/spec/CompetingMessageClaimSplit_fixed.cfg
265
+ - schema/spec/CompetingMessageClaimSplit_split_lost.cfg
266
+ - schema/spec/CompetingMessageClaimSplit_split_once.cfg
267
+ - schema/spec/CompetingMessageClaimSplit_waitonly_lost.cfg
268
+ - schema/spec/CompetingMessageClaimSplit_waitonly_once.cfg
269
+ - schema/spec/CompetingMessageClaim_new.cfg
270
+ - schema/spec/CompetingMessageClaim_old.cfg
271
+ - schema/spec/EpochFencing.tla
272
+ - schema/spec/EpochFencingRuns.tla
273
+ - schema/spec/EpochFencingRuns_epoch.cfg
274
+ - schema/spec/EpochFencingRuns_none.cfg
275
+ - schema/spec/EpochFencingRuns_witness.cfg
276
+ - schema/spec/EpochFencingRuns_worker.cfg
277
+ - schema/spec/EpochFencingRuns_worker1.cfg
278
+ - schema/spec/EpochFencing_new.cfg
279
+ - schema/spec/EpochFencing_old.cfg
280
+ - schema/spec/InstanceClaim.tla
281
+ - schema/spec/InstanceClaimVerdict.tla
282
+ - schema/spec/InstanceClaimVerdict_changedrows.cfg
283
+ - schema/spec/InstanceClaimVerdict_changedrows_live.cfg
284
+ - schema/spec/InstanceClaimVerdict_foundrows.cfg
285
+ - schema/spec/InstanceClaimVerdict_foundrows_live.cfg
286
+ - schema/spec/InstanceClaim_atomic_unfenced.cfg
287
+ - schema/spec/InstanceClaim_live.cfg
288
+ - schema/spec/InstanceClaim_new.cfg
289
+ - schema/spec/InstanceClaim_old.cfg
290
+ - schema/spec/InstanceClaim_racy_fenced.cfg
291
+ - schema/spec/README.md
292
+ - schema/spec/SupervisorRestart.tla
293
+ - schema/spec/SupervisorRestartCAS.tla
294
+ - schema/spec/SupervisorRestartCAS_nonsticky.cfg
295
+ - schema/spec/SupervisorRestartCAS_snapshot.cfg
296
+ - schema/spec/SupervisorRestartCAS_sticky.cfg
297
+ - schema/spec/SupervisorRestart_racy.cfg
298
+ - schema/spec/SupervisorRestart_strict.cfg
299
+ - schema/spec/TaskClaim.tla
300
+ - schema/spec/TaskClaimReadBack.tla
301
+ - schema/spec/TaskClaimReadBack_byid.cfg
302
+ - schema/spec/TaskClaimReadBack_order.cfg
303
+ - schema/spec/TaskClaim_new.cfg
304
+ - schema/spec/TaskClaim_old.cfg
305
+ - schema/spec/TaskReclaim.tla
306
+ - schema/spec/TaskReclaimAttempts.tla
307
+ - schema/spec/TaskReclaimAttempts_attempt.cfg
308
+ - schema/spec/TaskReclaimAttempts_claimant.cfg
309
+ - schema/spec/TaskReclaim_new.cfg
310
+ - schema/spec/TaskReclaim_old.cfg
311
+ - schema/spec/WaitRegistration.tla
312
+ - schema/spec/WaitRegistrationSub.tla
313
+ - schema/spec/WaitRegistrationSub_fixed.cfg
314
+ - schema/spec/WaitRegistrationSub_fixed_guarded.cfg
315
+ - schema/spec/WaitRegistrationSub_guardonly_reg.cfg
316
+ - schema/spec/WaitRegistrationSub_guardonly_res.cfg
317
+ - schema/spec/WaitRegistrationSub_head_reg.cfg
318
+ - schema/spec/WaitRegistrationSub_head_res.cfg
319
+ - schema/spec/WaitRegistrationSub_noclear_reg.cfg
320
+ - schema/spec/WaitRegistrationSub_noclear_res.cfg
321
+ - schema/spec/WaitRegistrationSub_unfencedreg_reg.cfg
322
+ - schema/spec/WaitRegistrationSub_unfencedreg_res.cfg
323
+ - schema/spec/WaitRegistration_new.cfg
324
+ - schema/spec/WaitRegistration_old.cfg
325
+ - schema/spec/WaitRegistration_residual.cfg
326
+ - schema/spec/WaitRegistration_sweep.cfg
327
+ - schema/spec/actorfs_check_test.go
328
+ - schema/spec/claim_check_test.go
329
+ - schema/spec/competing_claim_test.go
330
+ - schema/spec/epoch_check_test.go
331
+ - schema/spec/go.mod
332
+ - schema/spec/supervisorrestart_check_test.go
333
+ - schema/spec/taskclaim_check_test.go
334
+ - schema/spec/taskreclaim_check_test.go
335
+ - schema/spec/tlc-check.sh
336
+ - schema/spec/tlc-matrix.txt
337
+ - schema/spec/wait_check_test.go
219
338
  homepage: https://github.com/durax-io/shikibu
220
339
  licenses:
221
340
  - MIT