Skip to content

Lightflow v0.6.1

Choose a tag to compare

@cedricbellet cedricbellet released this 19 Oct 13:48
· 8 commits to main since this release

Lightflow v0.6.1

Closes #22 and #23.

Visualizer Header Run State (#22)

  • #wf-status-badge in the visualizer header now reflects the overall run state (RUNNING > FAILED > REJECTED > PAUSED > WAITING > INCOMPLETE > COMPLETED) computed by state.run_state(...)—the exact same helper lightflow status uses—instead of lastStamp.status. A failed or paused run whose last stamp is an independent stage's completion now reads FAILED / PAUSED, never COMPLETED. Without a passport, the badge stays STATIC.

secret_keys Value Scrubbing (#23)

  • Non-empty string values currently held under any secret_keys key in payload are now scrubbed (single-pass, longest-first) wherever they appear:
    • inside other payload strings in redact_payload (e.g. "session": "sess-for-<redacted>"),
    • in status (stage summaries, paused gate Instructions:, and --verbose STAGE STAMPS LOG:),
    • in dry_run (simulated Dry-Run Output:, gate Instructions:, and CEL evaluation error strings),
    • in the visualizer HTML (PASSPORT_DATA.stamps message and instructions).
  • passport.json keeps the real values for resume. Opaque values derived from a secret (e.g. a hash or server-minted token) should have their own key listed in secret_keys.

All 132 standalone tests pass. The Google3 and standalone editions remain in AST lockstep.