Skip to content

signal-flow: the stage timeline's start, attempt, and note; the event log's extensions; v0.5.0 - #13

Merged
JaimeStill merged 5 commits into
mainfrom
signal-flow
Dec 2, 2026
Merged

JaimeStill merged 5 commits into
mainfrom
signal-flow

Conversation

@JaimeStill

Copy link
Copy Markdown
Contributor

capstone.data-intelligence.mikoshi · signal-flow · web-components v0.5.0 checkpoint

The web-components part of task signal-flow, released as v0.5.0 mid-task so Mikoshi can build
its live views on it (the approved task brief's checkpoint).

Summary

  • sl-stage-timeline stages take startedAt (a complete or failed stage's duration; an active
    stage's elapsed time, ticking each second, by the foundation's formatDuration), attempt
    ("Attempt n" above 1), and note (its own row, wrapping without widening). Nothing moves as a
    stage ticks or advances.
  • sl-event-log's LogEvent takes extensions: each a labelled line in name order, a long
    name or value cut with an ellipsis.
  • Upgrade: claude-plugins 0.26.0, chrome-headless-shell 158.0.8127.91, the web-foundation dev pin
    v0.5.1 (peer stays ^0.5.0), jdx/mise-action v5.5.0.
  • Version 0.5.0, its CHANGELOG section, and the README's install lines.

Verify

mise run check: ✓ 523 tests, lints, comments

  1. mise run examples, open the stage-timeline specimen → the running stage at attempt 3 ticks
    its clock with nothing moving; the failed stage shows its duration, note, and reason.
  2. Open the event-log specimen at 390px → each long extension ends in an ellipsis inside the
    frame.

Merge danger: the v0.5.0 tag that follows is one-way · blast radius: web-components'
consumers that move to v0.5.0 (additions only) · merge waits on CI

…7.91, web-foundation v0.5.1, mise-action v5.5.0

- claude-plugins 0.25.0 -> 0.26.0; lint-references' new relative resolution of `../`
  references finds no broken reference, so no doc changes.
- chrome-headless-shell 158.0.8127.88 -> 158.0.8127.91, with the linux-x64 zip's checksum and
  size taken from the downloaded archive.
- web-foundation's devDependency pin v0.5.0 -> v0.5.1; the peer range stays ^0.5.0.
- jdx/mise-action v5.4.0 -> v5.5.0 in ci.yml and release.yml.
- No version bump or CHANGELOG entry: the 0.5.0 section lists this upgrade. The README's install
  lines keep web-foundation#v0.5.0, since they document the released 0.4.0.
A stage takes three optional fields. startedAt gives a complete or failed
stage its duration to its shown time, and an active stage its elapsed time,
ticking each second, by the foundation's formatDuration in its digital style.
attempt, a positive integer, shows as "Attempt n" above 1. note shows on its
own row under the detail line, above a failed stage's reason.

Decisions:
- The duration and attempt each take a fixed slot on the alternatives
  utility, reserved in every stage: the duration's hold is the longest under
  a day (23:59:59), the attempt's "Attempt 99". A duration of a day or more,
  or an attempt past 99, widens its own slot. At narrow widths the reserved
  slots can wrap the detail line to a second row before they fill.
- One setInterval of a second, started from updated and connectedCallback
  while an active stage has a valid start, stopped otherwise and on
  disconnect. Each render reads the clock once.
- An active stage's elapsed time clamps at zero (a start a little ahead of
  the page's clock); a complete or failed stage whose start is after its end
  shows no duration. A pending stage shows none.
- A blank note or reason (whitespace only) shows nothing.
- The specimen's running state starts 2:14 before the page loads, so its
  clock stays under a day.
LogEvent takes an optional extensions, a map of CloudEvents extension
attribute names to string values. Each shows under the id as a labelled
pair, the name and the value each cut with an ellipsis on its line, whole in
its title, without widening the log. The event log specimen gains an event
with many long extensions, at full width and at 390px.

package.json moves to 0.5.0; CHANGELOG.md gains the 0.5.0 section (the stage
timeline's startedAt, attempt, and note; the event log's extensions; the
tooling upgrade) and its link; the README's install lines take
web-components#v0.5.0 and web-foundation#v0.5.1.

Decisions:
- Extensions show in name order, compared by UTF-16 code unit, not locale,
  so every event lists them alike whatever order its producer wrote.
- An extension whose value isn't a non-empty string, or whose name is empty,
  shows nothing, as an empty subject does; extensions that aren't a plain
  object (null, an array, a string, a number) show nothing.
- An extension's name is data, so its label is cut and titled like its value;
  the fixed labels keep text-nowrap. Every label and value in the metadata is
  held to the pair's width, since a label over its value at a narrow width
  otherwise took its max-content width and scrolled the frame sideways.
The duration format typed by the foundation's DurationOptions, as the time format is by
Intl.DateTimeFormatOptions; the lifecycle overrides marked override, and updated protected, as the
other components' are; the event log's entry in docs/components.md wrapped at 100 columns.
@JaimeStill
JaimeStill merged commit 92d7656 into main Dec 2, 2026
1 check passed
@JaimeStill
JaimeStill deleted the signal-flow branch December 2, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant