Skip to content

CLI record and the Action: attach the event log, app logs, perf track, and a bug_report #355

Closed

Description

@TMHSDigital

Summary

record passes only target, fps, output, overwrite, maxDurationSec to start_recording. Its flags and the Action inputs do not cover events, elements, logs (#334) or perf (#335). On failure the CLI produces a GIF, a contact sheet and OCR'd errors, while the richer bug_report package (steps, log excerpt, perf summary, report.md) is reachable only through MCP.

Where

  • src/cli.ts:85-103 (flags), :490-496 (start call)
  • action.yml:12-66 (inputs)

Impact

CI evidence (#179) cannot line a failing test's app log or a CPU spike up with the video, which is what those sidecars were built for.

Proposal

Add --events, --elements, --perf and --log <path>[=label] (repeatable) to record, with matching Action inputs (events, perf, logs as a newline list). Add --bug-report (Action bug-report: true), which on failure calls bug_report { sessionId } into <out>/bug-report/ and links report.md from evidence.json and the sticky PR comment.

Getting started

  • Relevant files: src/cli.ts, action.yml, docs/ci.html
  • How to run tests: npm test

Filed by repo-audit/full-audit at b9b94fa. Severity: medium. Effort: S. audit-key: enhancement|src/cli.ts|record.options

Activity

  1. added
    enhancement
    effort: small
    on Nov 17, 2026
  2. TMHSDigital commented on Nov 17, 2026

    @TMHSDigital
    OwnerAuthor

    ea48b0d adds --events, --perf and a repeatable --log <path> to record, with Action inputs events, perf and logs. Still open: --bug-report (Action bug-report: true), which on failure would run bug_report into <out>/bug-report/ and link report.md from evidence.json and the PR comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: smallenhancementpriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions