lustro-cli 0.1.0__py3-none-any.whl
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.
- lustro_cli/__init__.py +29 -0
- lustro_cli/cli.py +2460 -0
- lustro_cli/client.py +434 -0
- lustro_cli/discovery.py +1033 -0
- lustro_cli/exitcodes.py +25 -0
- lustro_cli/mcp.py +867 -0
- lustro_cli/wire/__init__.py +62 -0
- lustro_cli/wire/_schema.json +97 -0
- lustro_cli/wire/cursor-envelope.schema.json +28 -0
- lustro_cli/wire/error-envelope.schema.json +46 -0
- lustro_cli/wire/golden/cursor-delta.json +91 -0
- lustro_cli/wire/golden/cursor-reset.json +65 -0
- lustro_cli/wire/golden/cursor-unchanged.json +15 -0
- lustro_cli/wire/golden/error-envelope.json +7 -0
- lustro_cli/wire/golden/export-har-websocket.json +148 -0
- lustro_cli/wire/golden/export-har.json +359 -0
- lustro_cli/wire/golden/logs-delta.json +44 -0
- lustro_cli/wire/golden/logs-reset.json +73 -0
- lustro_cli/wire/golden/logs-unchanged.json +9 -0
- lustro_cli/wire/golden/meta.json +12 -0
- lustro_cli/wire/golden/prefs-delta.json +58 -0
- lustro_cli/wire/golden/prefs-files.json +64 -0
- lustro_cli/wire/golden/prefs-reset.json +58 -0
- lustro_cli/wire/golden/prefs-unchanged.json +4 -0
- lustro_cli/wire/golden/rules-list.json +44 -0
- lustro_cli/wire/golden/screen-tree-views.json +596 -0
- lustro_cli/wire/golden/screen-tree.json +689 -0
- lustro_cli/wire/golden/send-result.json +7 -0
- lustro_cli/wire/golden/senders-list.json +6 -0
- lustro_cli/wire/golden/sqlite-databases.json +37 -0
- lustro_cli/wire/golden/sqlite-exec.json +4 -0
- lustro_cli/wire/golden/sqlite-query.json +109 -0
- lustro_cli/wire/golden/sqlite-rows.json +109 -0
- lustro_cli/wire/golden/sqlite-schema.json +98 -0
- lustro_cli/wire/golden/sqlite-tables.json +57 -0
- lustro_cli/wire/golden/stream-delta.json +48 -0
- lustro_cli/wire/golden/stream-reset.json +66 -0
- lustro_cli/wire/golden/stream-unchanged.json +4 -0
- lustro_cli/wire/golden/transaction-image.json +43 -0
- lustro_cli/wire/golden/transaction.json +41 -0
- lustro_cli/wire/golden/websocket.json +37 -0
- lustro_cli/wire/golden/websockets-reset.json +89 -0
- lustro_cli/wire/golden/work-events.json +152 -0
- lustro_cli/wire/golden/work-item.json +118 -0
- lustro_cli/wire/golden/work-items.json +129 -0
- lustro_cli/wire/golden/work-metrics.json +40 -0
- lustro_cli/wire/logs.openapi.json +622 -0
- lustro_cli/wire/meta.schema.json +47 -0
- lustro_cli/wire/network.openapi.json +2458 -0
- lustro_cli/wire/pagination.schema.json +20 -0
- lustro_cli/wire/prefs.openapi.json +699 -0
- lustro_cli/wire/screen.openapi.json +512 -0
- lustro_cli/wire/sqlite.openapi.json +1233 -0
- lustro_cli/wire/stream-envelope.schema.json +33 -0
- lustro_cli/wire/sync.py +80 -0
- lustro_cli/wire/work.openapi.json +1188 -0
- lustro_cli-0.1.0.dist-info/METADATA +585 -0
- lustro_cli-0.1.0.dist-info/RECORD +60 -0
- lustro_cli-0.1.0.dist-info/WHEEL +4 -0
- lustro_cli-0.1.0.dist-info/entry_points.txt +3 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cursor": "c:17",
|
|
3
|
+
"status": "reset",
|
|
4
|
+
"state": {
|
|
5
|
+
"paused": false,
|
|
6
|
+
"overwriteMode": false,
|
|
7
|
+
"throttleDelayMs": 0,
|
|
8
|
+
"mockRules": { "enabled": 1, "revision": 4 },
|
|
9
|
+
"captureFilter": null
|
|
10
|
+
},
|
|
11
|
+
"items": [
|
|
12
|
+
{
|
|
13
|
+
"id": "ws_3d2a7f10",
|
|
14
|
+
"url": "wss://chat.example.com/socket?token=%5BREDACTED%5D",
|
|
15
|
+
"state": "open",
|
|
16
|
+
"timestamp": "14:22:17.098",
|
|
17
|
+
"startedAt": 1790605337098,
|
|
18
|
+
"openedAt": 1790605337243,
|
|
19
|
+
"closedAt": null,
|
|
20
|
+
"statusCode": 101,
|
|
21
|
+
"closeCode": null,
|
|
22
|
+
"closeReason": null,
|
|
23
|
+
"closedBy": null,
|
|
24
|
+
"canceled": false,
|
|
25
|
+
"error": null,
|
|
26
|
+
"transactionId": "tx_a81c3f09",
|
|
27
|
+
"categories": [
|
|
28
|
+
"chat"
|
|
29
|
+
],
|
|
30
|
+
"sentCount": 2,
|
|
31
|
+
"sentBytes": 40,
|
|
32
|
+
"receivedCount": 2,
|
|
33
|
+
"receivedBytes": 300016,
|
|
34
|
+
"storedEvents": 5,
|
|
35
|
+
"evictedEvents": 0,
|
|
36
|
+
"droppedEvents": 0
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "ws_91b04c2e",
|
|
40
|
+
"url": "wss://chat.example.com/socket?token=%5BREDACTED%5D",
|
|
41
|
+
"state": "closed",
|
|
42
|
+
"timestamp": "14:21:40.310",
|
|
43
|
+
"startedAt": 1790605300310,
|
|
44
|
+
"openedAt": 1790605300452,
|
|
45
|
+
"closedAt": 1790605312907,
|
|
46
|
+
"statusCode": 101,
|
|
47
|
+
"closeCode": 1000,
|
|
48
|
+
"closeReason": "bye",
|
|
49
|
+
"closedBy": "app",
|
|
50
|
+
"canceled": false,
|
|
51
|
+
"error": null,
|
|
52
|
+
"transactionId": "tx_0c7e52d9",
|
|
53
|
+
"categories": [
|
|
54
|
+
"chat"
|
|
55
|
+
],
|
|
56
|
+
"sentCount": 14,
|
|
57
|
+
"sentBytes": 1830,
|
|
58
|
+
"receivedCount": 2210,
|
|
59
|
+
"receivedBytes": 884120,
|
|
60
|
+
"storedEvents": 1000,
|
|
61
|
+
"evictedEvents": 1228,
|
|
62
|
+
"droppedEvents": 0
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "ws_6a5f0e83",
|
|
66
|
+
"url": "wss://feed.example.com/v2/stream",
|
|
67
|
+
"state": "failed",
|
|
68
|
+
"timestamp": "14:21:02.004",
|
|
69
|
+
"startedAt": 1790605262004,
|
|
70
|
+
"openedAt": null,
|
|
71
|
+
"closedAt": 1790605262188,
|
|
72
|
+
"statusCode": 403,
|
|
73
|
+
"closeCode": null,
|
|
74
|
+
"closeReason": null,
|
|
75
|
+
"closedBy": null,
|
|
76
|
+
"canceled": false,
|
|
77
|
+
"error": "java.net.ProtocolException: Expected HTTP 101 response but was '403 Forbidden'",
|
|
78
|
+
"transactionId": null,
|
|
79
|
+
"categories": [],
|
|
80
|
+
"sentCount": 0,
|
|
81
|
+
"sentBytes": 0,
|
|
82
|
+
"receivedCount": 0,
|
|
83
|
+
"receivedBytes": 0,
|
|
84
|
+
"storedEvents": 1,
|
|
85
|
+
"evictedEvents": 0,
|
|
86
|
+
"droppedEvents": 0
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cursor": "LTMwNTE2ODk3Mzg2NDYwMDc5NzM6MTQ=",
|
|
3
|
+
"status": "reset",
|
|
4
|
+
"items": [
|
|
5
|
+
{
|
|
6
|
+
"seq": 2,
|
|
7
|
+
"at": 1792419740000,
|
|
8
|
+
"type": "started",
|
|
9
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
10
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
11
|
+
"state": "RUNNING",
|
|
12
|
+
"runAttempts": 1,
|
|
13
|
+
"generation": 0
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"seq": 3,
|
|
17
|
+
"at": 1792419740000,
|
|
18
|
+
"type": "finished",
|
|
19
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
20
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
21
|
+
"state": "SUCCEEDED",
|
|
22
|
+
"runAttempts": 1,
|
|
23
|
+
"generation": 0,
|
|
24
|
+
"result": "success",
|
|
25
|
+
"output": {
|
|
26
|
+
"big": "9223372036854775807",
|
|
27
|
+
"names": [
|
|
28
|
+
"a",
|
|
29
|
+
"b"
|
|
30
|
+
],
|
|
31
|
+
"ratio": 0.5,
|
|
32
|
+
"step": 3
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"seq": 4,
|
|
37
|
+
"at": 1792419740000,
|
|
38
|
+
"type": "enqueued",
|
|
39
|
+
"id": "8a6b0c1d-2e3f-4a5b-9c7d-1e2f3a4b5c6d",
|
|
40
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
41
|
+
"state": "ENQUEUED",
|
|
42
|
+
"runAttempts": 0,
|
|
43
|
+
"generation": 0
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"seq": 5,
|
|
47
|
+
"at": 1792419740000,
|
|
48
|
+
"type": "unblocked",
|
|
49
|
+
"id": "8a6b0c1d-2e3f-4a5b-9c7d-1e2f3a4b5c6d",
|
|
50
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
51
|
+
"state": "ENQUEUED",
|
|
52
|
+
"runAttempts": 0,
|
|
53
|
+
"generation": 0
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"seq": 6,
|
|
57
|
+
"at": 1792419740000,
|
|
58
|
+
"type": "enqueued",
|
|
59
|
+
"id": "c2d4e6f8-0a1b-4c3d-8e5f-7a9b1c3d5e7f",
|
|
60
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.RetryWorker",
|
|
61
|
+
"state": "ENQUEUED",
|
|
62
|
+
"runAttempts": 0,
|
|
63
|
+
"generation": 0
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"seq": 7,
|
|
67
|
+
"at": 1792419740000,
|
|
68
|
+
"type": "unblocked",
|
|
69
|
+
"id": "c2d4e6f8-0a1b-4c3d-8e5f-7a9b1c3d5e7f",
|
|
70
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.RetryWorker",
|
|
71
|
+
"state": "ENQUEUED",
|
|
72
|
+
"runAttempts": 0,
|
|
73
|
+
"generation": 0
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"seq": 8,
|
|
77
|
+
"at": 1792419740000,
|
|
78
|
+
"type": "started",
|
|
79
|
+
"id": "c2d4e6f8-0a1b-4c3d-8e5f-7a9b1c3d5e7f",
|
|
80
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.RetryWorker",
|
|
81
|
+
"state": "RUNNING",
|
|
82
|
+
"runAttempts": 1,
|
|
83
|
+
"generation": 0
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"seq": 9,
|
|
87
|
+
"at": 1792419740000,
|
|
88
|
+
"type": "finished",
|
|
89
|
+
"id": "c2d4e6f8-0a1b-4c3d-8e5f-7a9b1c3d5e7f",
|
|
90
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.RetryWorker",
|
|
91
|
+
"state": "ENQUEUED",
|
|
92
|
+
"runAttempts": 1,
|
|
93
|
+
"generation": 0,
|
|
94
|
+
"result": "retry",
|
|
95
|
+
"output": {}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"seq": 10,
|
|
99
|
+
"at": 1792419740000,
|
|
100
|
+
"type": "enqueued",
|
|
101
|
+
"id": "5e7f9a1b-3c5d-4e7f-a1b3-c5d7e9f1a3b5",
|
|
102
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.ThrowingWorker",
|
|
103
|
+
"state": "ENQUEUED",
|
|
104
|
+
"runAttempts": 0,
|
|
105
|
+
"generation": 0
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"seq": 11,
|
|
109
|
+
"at": 1792419740000,
|
|
110
|
+
"type": "unblocked",
|
|
111
|
+
"id": "5e7f9a1b-3c5d-4e7f-a1b3-c5d7e9f1a3b5",
|
|
112
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.ThrowingWorker",
|
|
113
|
+
"state": "ENQUEUED",
|
|
114
|
+
"runAttempts": 0,
|
|
115
|
+
"generation": 0
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"seq": 12,
|
|
119
|
+
"at": 1792419740000,
|
|
120
|
+
"type": "started",
|
|
121
|
+
"id": "5e7f9a1b-3c5d-4e7f-a1b3-c5d7e9f1a3b5",
|
|
122
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.ThrowingWorker",
|
|
123
|
+
"state": "RUNNING",
|
|
124
|
+
"runAttempts": 1,
|
|
125
|
+
"generation": 0
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"seq": 13,
|
|
129
|
+
"at": 1792419740000,
|
|
130
|
+
"type": "exception",
|
|
131
|
+
"id": "5e7f9a1b-3c5d-4e7f-a1b3-c5d7e9f1a3b5",
|
|
132
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.ThrowingWorker",
|
|
133
|
+
"state": "FAILED",
|
|
134
|
+
"runAttempts": 1,
|
|
135
|
+
"generation": 0,
|
|
136
|
+
"exception": {
|
|
137
|
+
"type": "java.lang.IllegalStateException",
|
|
138
|
+
"message": "the journal store is corrupt",
|
|
139
|
+
"stackTrace": "java.lang.IllegalStateException: the journal store is corrupt\n\tat io.github.twinsen81.lustro.work.internal.ThrowingWorker.doWork(WorkFixtures.kt:138)\n\tat androidx.work.Worker.startWork$lambda$0(Worker.kt:64)\n\tat androidx.work.WorkerKt.future$lambda$0$1(Worker.kt:100)\n\tat androidx.work.testing.SynchronousExecutor.execute(SynchronousExecutor.java:30)\n\tat androidx.work.WorkerKt.future$lambda$0(Worker.kt:97)\n"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"state": {
|
|
144
|
+
"listeners": "installed",
|
|
145
|
+
"initialized": true,
|
|
146
|
+
"metrics": true,
|
|
147
|
+
"uniqueNames": [
|
|
148
|
+
"sync"
|
|
149
|
+
],
|
|
150
|
+
"bufferBytes": 1048576
|
|
151
|
+
}
|
|
152
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"item": {
|
|
3
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
4
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
5
|
+
"state": "SUCCEEDED",
|
|
6
|
+
"tags": [
|
|
7
|
+
"demo",
|
|
8
|
+
"io.github.twinsen81.lustro.work.internal.StepWorker"
|
|
9
|
+
],
|
|
10
|
+
"uniqueName": "sync",
|
|
11
|
+
"runAttempts": 1,
|
|
12
|
+
"generation": 0,
|
|
13
|
+
"stopReason": {
|
|
14
|
+
"code": -256,
|
|
15
|
+
"name": "NOT_STOPPED"
|
|
16
|
+
},
|
|
17
|
+
"output": {
|
|
18
|
+
"big": "9223372036854775807",
|
|
19
|
+
"names": [
|
|
20
|
+
"a",
|
|
21
|
+
"b"
|
|
22
|
+
],
|
|
23
|
+
"ratio": 0.5,
|
|
24
|
+
"step": 3
|
|
25
|
+
},
|
|
26
|
+
"progress": {},
|
|
27
|
+
"constraints": {
|
|
28
|
+
"network": "NOT_REQUIRED",
|
|
29
|
+
"requiresCharging": false,
|
|
30
|
+
"requiresDeviceIdle": false,
|
|
31
|
+
"requiresBatteryNotLow": false,
|
|
32
|
+
"requiresStorageNotLow": false
|
|
33
|
+
},
|
|
34
|
+
"initialDelayMillis": 0
|
|
35
|
+
},
|
|
36
|
+
"events": [
|
|
37
|
+
{
|
|
38
|
+
"seq": 0,
|
|
39
|
+
"at": 1792419740000,
|
|
40
|
+
"type": "enqueued",
|
|
41
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
42
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
43
|
+
"state": "ENQUEUED",
|
|
44
|
+
"runAttempts": 0,
|
|
45
|
+
"generation": 0
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"seq": 1,
|
|
49
|
+
"at": 1792419740000,
|
|
50
|
+
"type": "unblocked",
|
|
51
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
52
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
53
|
+
"state": "ENQUEUED",
|
|
54
|
+
"runAttempts": 0,
|
|
55
|
+
"generation": 0
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"seq": 2,
|
|
59
|
+
"at": 1792419740000,
|
|
60
|
+
"type": "started",
|
|
61
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
62
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
63
|
+
"state": "RUNNING",
|
|
64
|
+
"runAttempts": 1,
|
|
65
|
+
"generation": 0
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"seq": 3,
|
|
69
|
+
"at": 1792419740000,
|
|
70
|
+
"type": "finished",
|
|
71
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
72
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
73
|
+
"state": "SUCCEEDED",
|
|
74
|
+
"runAttempts": 1,
|
|
75
|
+
"generation": 0,
|
|
76
|
+
"result": "success",
|
|
77
|
+
"output": {
|
|
78
|
+
"big": "9223372036854775807",
|
|
79
|
+
"names": [
|
|
80
|
+
"a",
|
|
81
|
+
"b"
|
|
82
|
+
],
|
|
83
|
+
"ratio": 0.5,
|
|
84
|
+
"step": 3
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"metrics": [
|
|
89
|
+
{
|
|
90
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
91
|
+
"generation": 0,
|
|
92
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
93
|
+
"tags": [
|
|
94
|
+
"demo",
|
|
95
|
+
"io.github.twinsen81.lustro.work.internal.StepWorker"
|
|
96
|
+
],
|
|
97
|
+
"state": "SUCCEEDED",
|
|
98
|
+
"enqueueTimeMillis": 1793198238738,
|
|
99
|
+
"unblockTimeMillis": 1793198238747,
|
|
100
|
+
"firstStartTimeMillis": 1793198238761,
|
|
101
|
+
"finishTimeMillis": 1793198238763,
|
|
102
|
+
"workerDurationMillis": 2,
|
|
103
|
+
"totalRuntimeMillis": 2,
|
|
104
|
+
"runAttempts": 1,
|
|
105
|
+
"explicitRetries": 0,
|
|
106
|
+
"stopReasons": []
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"state": {
|
|
110
|
+
"listeners": "installed",
|
|
111
|
+
"initialized": true,
|
|
112
|
+
"metrics": true,
|
|
113
|
+
"uniqueNames": [
|
|
114
|
+
"sync"
|
|
115
|
+
],
|
|
116
|
+
"bufferBytes": 1048576
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cursor": "NTI1NzQ2NjY4MTAzMjMyMDM3ODo3MDk0NTQ1NjI1Mjg1MjY3NzU1",
|
|
3
|
+
"status": "reset",
|
|
4
|
+
"items": [
|
|
5
|
+
{
|
|
6
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
7
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
8
|
+
"state": "SUCCEEDED",
|
|
9
|
+
"tags": [
|
|
10
|
+
"demo",
|
|
11
|
+
"io.github.twinsen81.lustro.work.internal.StepWorker"
|
|
12
|
+
],
|
|
13
|
+
"uniqueName": "sync",
|
|
14
|
+
"runAttempts": 1,
|
|
15
|
+
"generation": 0,
|
|
16
|
+
"stopReason": {
|
|
17
|
+
"code": -256,
|
|
18
|
+
"name": "NOT_STOPPED"
|
|
19
|
+
},
|
|
20
|
+
"output": {
|
|
21
|
+
"big": "9223372036854775807",
|
|
22
|
+
"names": [
|
|
23
|
+
"a",
|
|
24
|
+
"b"
|
|
25
|
+
],
|
|
26
|
+
"ratio": 0.5,
|
|
27
|
+
"step": 3
|
|
28
|
+
},
|
|
29
|
+
"progress": {},
|
|
30
|
+
"constraints": {
|
|
31
|
+
"network": "NOT_REQUIRED",
|
|
32
|
+
"requiresCharging": false,
|
|
33
|
+
"requiresDeviceIdle": false,
|
|
34
|
+
"requiresBatteryNotLow": false,
|
|
35
|
+
"requiresStorageNotLow": false
|
|
36
|
+
},
|
|
37
|
+
"initialDelayMillis": 0
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"id": "8a6b0c1d-2e3f-4a5b-9c7d-1e2f3a4b5c6d",
|
|
41
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
42
|
+
"state": "ENQUEUED",
|
|
43
|
+
"tags": [
|
|
44
|
+
"demo",
|
|
45
|
+
"io.github.twinsen81.lustro.work.internal.StepWorker"
|
|
46
|
+
],
|
|
47
|
+
"uniqueName": "cleanup",
|
|
48
|
+
"runAttempts": 0,
|
|
49
|
+
"generation": 0,
|
|
50
|
+
"stopReason": {
|
|
51
|
+
"code": -256,
|
|
52
|
+
"name": "NOT_STOPPED"
|
|
53
|
+
},
|
|
54
|
+
"output": {},
|
|
55
|
+
"progress": {},
|
|
56
|
+
"constraints": {
|
|
57
|
+
"network": "UNMETERED",
|
|
58
|
+
"requiresCharging": false,
|
|
59
|
+
"requiresDeviceIdle": false,
|
|
60
|
+
"requiresBatteryNotLow": true,
|
|
61
|
+
"requiresStorageNotLow": false
|
|
62
|
+
},
|
|
63
|
+
"initialDelayMillis": 0,
|
|
64
|
+
"periodicity": {
|
|
65
|
+
"repeatIntervalMillis": 900000,
|
|
66
|
+
"flexIntervalMillis": 900000
|
|
67
|
+
},
|
|
68
|
+
"nextScheduleTimeMillis": 1792419740000
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "c2d4e6f8-0a1b-4c3d-8e5f-7a9b1c3d5e7f",
|
|
72
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.RetryWorker",
|
|
73
|
+
"state": "ENQUEUED",
|
|
74
|
+
"tags": [
|
|
75
|
+
"io.github.twinsen81.lustro.work.internal.RetryWorker"
|
|
76
|
+
],
|
|
77
|
+
"runAttempts": 1,
|
|
78
|
+
"generation": 0,
|
|
79
|
+
"stopReason": {
|
|
80
|
+
"code": -256,
|
|
81
|
+
"name": "NOT_STOPPED"
|
|
82
|
+
},
|
|
83
|
+
"output": {},
|
|
84
|
+
"progress": {},
|
|
85
|
+
"constraints": {
|
|
86
|
+
"network": "NOT_REQUIRED",
|
|
87
|
+
"requiresCharging": false,
|
|
88
|
+
"requiresDeviceIdle": false,
|
|
89
|
+
"requiresBatteryNotLow": false,
|
|
90
|
+
"requiresStorageNotLow": false
|
|
91
|
+
},
|
|
92
|
+
"initialDelayMillis": 0,
|
|
93
|
+
"nextScheduleTimeMillis": 1792419770000
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "5e7f9a1b-3c5d-4e7f-a1b3-c5d7e9f1a3b5",
|
|
97
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.ThrowingWorker",
|
|
98
|
+
"state": "FAILED",
|
|
99
|
+
"tags": [
|
|
100
|
+
"io.github.twinsen81.lustro.work.internal.ThrowingWorker"
|
|
101
|
+
],
|
|
102
|
+
"runAttempts": 1,
|
|
103
|
+
"generation": 0,
|
|
104
|
+
"stopReason": {
|
|
105
|
+
"code": -256,
|
|
106
|
+
"name": "NOT_STOPPED"
|
|
107
|
+
},
|
|
108
|
+
"output": {},
|
|
109
|
+
"progress": {},
|
|
110
|
+
"constraints": {
|
|
111
|
+
"network": "NOT_REQUIRED",
|
|
112
|
+
"requiresCharging": false,
|
|
113
|
+
"requiresDeviceIdle": false,
|
|
114
|
+
"requiresBatteryNotLow": false,
|
|
115
|
+
"requiresStorageNotLow": false
|
|
116
|
+
},
|
|
117
|
+
"initialDelayMillis": 0
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"state": {
|
|
121
|
+
"listeners": "installed",
|
|
122
|
+
"initialized": true,
|
|
123
|
+
"metrics": true,
|
|
124
|
+
"uniqueNames": [
|
|
125
|
+
"sync"
|
|
126
|
+
],
|
|
127
|
+
"bufferBytes": 1048576
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"items": [
|
|
3
|
+
{
|
|
4
|
+
"id": "3f1c2a4e-8b9d-4e2f-a6c1-0d7e5b3a9f12",
|
|
5
|
+
"generation": 0,
|
|
6
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
7
|
+
"tags": [
|
|
8
|
+
"demo",
|
|
9
|
+
"io.github.twinsen81.lustro.work.internal.StepWorker"
|
|
10
|
+
],
|
|
11
|
+
"state": "SUCCEEDED",
|
|
12
|
+
"enqueueTimeMillis": 1793198238738,
|
|
13
|
+
"unblockTimeMillis": 1793198238747,
|
|
14
|
+
"firstStartTimeMillis": 1793198238761,
|
|
15
|
+
"finishTimeMillis": 1793198238763,
|
|
16
|
+
"workerDurationMillis": 2,
|
|
17
|
+
"totalRuntimeMillis": 2,
|
|
18
|
+
"runAttempts": 1,
|
|
19
|
+
"explicitRetries": 0,
|
|
20
|
+
"stopReasons": []
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "8a6b0c1d-2e3f-4a5b-9c7d-1e2f3a4b5c6d",
|
|
24
|
+
"generation": 0,
|
|
25
|
+
"workerClass": "io.github.twinsen81.lustro.work.internal.StepWorker",
|
|
26
|
+
"tags": [
|
|
27
|
+
"demo",
|
|
28
|
+
"io.github.twinsen81.lustro.work.internal.StepWorker"
|
|
29
|
+
],
|
|
30
|
+
"state": "ENQUEUED_PENDING",
|
|
31
|
+
"enqueueTimeMillis": 1793198238771,
|
|
32
|
+
"unblockTimeMillis": 1793198238772,
|
|
33
|
+
"workerDurationMillis": 0,
|
|
34
|
+
"totalRuntimeMillis": 0,
|
|
35
|
+
"runAttempts": 0,
|
|
36
|
+
"explicitRetries": 0,
|
|
37
|
+
"stopReasons": []
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|