Skip to content

runtime: harden dummy-playback runtime #7940

Closed

Description

@ggallen

What happens

The dummy-playback runtime changes in PR #7873 combine runtime behavior, tracking-comment handling, filesystem access, forge interaction, cancellation, and unit-test changes.

The review identified several runtime concerns, including:

  • validation of playback tracking references
  • symlink handling for playlist entries, result files, and companion files
  • cancellation and timeout behavior around forge operations
  • keeping forge operations behind the forge abstraction
  • distinguishing invalid tracking positions from normal playlist exhaustion
  • preserving runtime regression coverage

What should happen

The dummy-playback runtime should safely process repository-provided playback data, stop promptly when cancelled, use the forge abstraction for forge operations, and retain regression tests for security and error-handling behavior.

Context

This is the runtime portion of the work currently combined in PR #7873. The original runtime feature was tracked by and delivered through #6788 and #6789; this issue tracks the current integration and hardening scope.

Tracking

Parent tracking issue: #7939

Activity

  1. fullsend-ai-triage commented on Oct 1, 2026

    @fullsend-ai-triage

    🤖 Triage · ⚠️ Cancelled · Ended 8:45 PM UTC

    Commit: 4f2746c · View workflow run →

  2. fullsend-ai-triage commented on Oct 1, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 8:47 PM UTC · Completed 8:52 PM UTC

    Commit: 4f2746c · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $0.54

  3. added
    triaged
    security
    type/bug
    priority/high
    component/runner
    component/e2e
    on Oct 1, 2026
  4. fullsend-ai-triage commented on Oct 1, 2026

    @fullsend-ai-triage

    Cross-checked this against the review history on PR #7873 (the combined PR this issue decomposes, per parent tracking issue #7939) and confirmed each concern listed maps to a specific, independently-verifiable review finding: deleted symlink-rejection guards (path-traversal), removed validation on the playback tracking-reference parser (argument-injection into gh/glab), removal of context/timeout plumbing and the forge-abstraction seam around the tracking-comment helpers (forge calls bypassing the forge package and not respecting cancellation), and collapse of the ADR-0116-required distinct "invalid tracking position" error into generic playlist exhaustion.

    The current main branch still has the symlink guards (verified at runtime), confirming these are regressions introduced only in the still-open PR #7873 branch — this issue is about not reintroducing them when the runtime slice is extracted and landed, not about a currently-live defect.

    No open PR targets this issue specifically (PR #7873 doesn't reference #7940; it's already tracked against sibling issue #7942 for the CI-integration slice). The six concerns all touch the same functions in the same file and are part of one cohesive hardening task, so this has not been split further.

    Severity is set to high given the injection and path-traversal findings, consistent with how a similar runtime-security issue (#7828) was labeled in this repo. A proposed regression test outline covering each guard is included above.


    Labels: Matches this repo's convention for runtime security hardening issues (e.g. #7828: security + type/bug + priority/high + component/runner) and the e2e/playback component used by sibling tracking issues.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  5. ggallen commented on Oct 2, 2026

    @ggallen
    MemberAuthor

    /fs-code

  6. fullsend-ai-coder commented on Oct 2, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 12:41 AM UTC · Completed 12:46 AM UTC

    Commit: 31c8763 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $0.78

  7. fullsend-ai-coder commented on Oct 2, 2026

    @fullsend-ai-coder
    Contributor

    ℹ️ No PR created — agent determined no changes needed

    The code agent ran and evaluated issue #7940, but did not produce changes to submit as a pull request.

    Reason: Agent did not create a feature branch (current: 'main')

    Workflow run: https://github.com/fullsend-ai/fullsend/actions/runs/36947062793

    Retry with /fs-code if appropriate.

  8. ggallen commented on Oct 2, 2026

    @ggallen
    MemberAuthor

    /fs-code

  9. fullsend-ai-coder commented on Oct 2, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 1:04 AM UTC · Completed 1:38 AM UTC

    Commit: 31c8763 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $11.98

  10. added 3 commits that reference this issue on Oct 2, 2026
  11. added a commit that references this issue on Oct 2, 2026
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

    component/e2ecomponent/runnerpriority/highsecuritytriagedtype/bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions