lepus-saga 0.3.1 → 0.3.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +2 -2
- data/lib/lepus/saga/version.rb +1 -1
- data/web/assets/js/dom.js +1 -1
- data/web/assets/js/views/execution.js +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78b15c3001956fd3fc7b24559d5445a0992398c9e9a648a374071f7017376e55
|
|
4
|
+
data.tar.gz: 868a8b17b8284a4cd09e3bde7ddd5d61be7cfea9e525eac2fe2df4d8c8d36d3b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74b9f0adadfeb24255abeab7fea95d26b4168442291690bd2e7f3a9c118cd243096a3d1a32958083cc8ba36e07f7dfc689477b2a08677f6266d627b032553bd1
|
|
7
|
+
data.tar.gz: 6bcf0f25574c99f05ddf173269c9c16ee638389a59a01e44275c4c4581edaa2128d1290841c6d65dbc569c0ea0a6eb05638b3f6fea700eb89a20f2fe6e8a36e0
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## 0.3.2 - Unreleased
|
|
8
|
+
* Fixed: the console's execution page no longer shows a stray "null" under the summary when the execution has no failure reason
|
|
9
|
+
|
|
7
10
|
## 0.3.1 - Unreleased
|
|
8
11
|
* Fixed: executions list in time order when their ids are not time-ordered (e.g. random UUIDv4): `list_executions` sorts by started_at and pages by `after` (the last row's id) instead of by id, `executions_for_resource` orders by started_at, and the stalled list and failure samples break ties by id only after time
|
|
9
12
|
* Added: `duration_ms` on executions (`ExecutionBehaviour::ATTRIBUTES`), written by the engine when an execution ends (completed, compensated, failed, compensation_failed, abandoned) and cleared when a retry reopens it; `finish_attributes` and `reopen_attributes` on `ExecutionBehaviour`
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lepus-saga (0.3.
|
|
4
|
+
lepus-saga (0.3.2)
|
|
5
5
|
lepus (>= 0.2.1)
|
|
6
6
|
rack (>= 2.2)
|
|
7
7
|
|
|
@@ -189,7 +189,7 @@ CHECKSUMS
|
|
|
189
189
|
json (3.1.0) sha256=3ce7ccf8fde58960177a3a756c31f292a4c1e1dedee884547096a5b0604e3bd8
|
|
190
190
|
language_server-protocol (3.17.0.6) sha256=5ef2c0c138f8267e1bc631d3328347d354f96724b0af22f2c79516120443b7f0
|
|
191
191
|
lepus (0.2.2) sha256=7de6bcfb13e92b03af09d4a018c765aee6381624d8ace650705d5a87bea07fb7
|
|
192
|
-
lepus-saga (0.3.
|
|
192
|
+
lepus-saga (0.3.2)
|
|
193
193
|
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
194
194
|
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
195
195
|
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
data/lib/lepus/saga/version.rb
CHANGED
data/web/assets/js/dom.js
CHANGED
|
@@ -9,7 +9,7 @@ function apply(el, attrs) {
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
function append(el, children) {
|
|
12
|
+
export function append(el, children) {
|
|
13
13
|
for (const child of children.flat(Infinity)) {
|
|
14
14
|
if (child === null || child === undefined || child === false) continue;
|
|
15
15
|
el.append(child instanceof Node ? child : document.createTextNode(String(child)));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { api } from "../api.js";
|
|
2
|
-
import { h, s, clear, toast, copyButton, reducedMotion } from "../dom.js";
|
|
2
|
+
import { h, s, append, clear, toast, copyButton, reducedMotion } from "../dom.js";
|
|
3
3
|
import { every, pollMs } from "../live.js";
|
|
4
4
|
import { LineMap } from "../map.js";
|
|
5
5
|
import { ago, duration, offset, plural, stamp, statusLabel, toTime } from "../format.js";
|
|
@@ -338,7 +338,7 @@ export function execution(root, { id, me }) {
|
|
|
338
338
|
history.append(...rows);
|
|
339
339
|
const ctx = h("div", {});
|
|
340
340
|
|
|
341
|
-
|
|
341
|
+
append(root, [
|
|
342
342
|
h("p", { class: "crumbs" }, h("a", { href: "#/executions" }, "Executions"), " / ",
|
|
343
343
|
h("a", { href: `#/executions?saga=${encodeURIComponent(execution.saga_name)}` }, execution.saga_name)),
|
|
344
344
|
h("div", { class: "x-head" },
|
|
@@ -365,7 +365,7 @@ export function execution(root, { id, me }) {
|
|
|
365
365
|
h("h2", { class: "section-title" }, "Other runs for this resource"),
|
|
366
366
|
h("ul", { class: "related" }, related.map((other) => h("li", {}, h("a", { href: `#/executions/${encodeURIComponent(other.id)}` },
|
|
367
367
|
h("span", { class: `state state-${other.status}` }, statusLabel(other.status)), stamp(other.started_at)))))) : null))
|
|
368
|
-
);
|
|
368
|
+
]);
|
|
369
369
|
|
|
370
370
|
els = { play, range, now, rows, ctx };
|
|
371
371
|
map = new LineMap(mapHost, { mode: "single", label: `${execution.saga_name} line` });
|