Skip to content

fix(subgen): COPY specific patch file instead of directory#10

Merged
arsac merged 1 commit intomainfrom
fix/subgen-pyav-dts-segfault
Apr 29, 2026
Merged

fix(subgen): COPY specific patch file instead of directory#10
arsac merged 1 commit intomainfrom
fix/subgen-pyav-dts-segfault

Conversation

@arsac
Copy link
Copy Markdown
Owner

@arsac arsac commented Apr 29, 2026

Summary

PR #9 introduced a COPY patches/ /tmp/patches/ step that BuildKit failed to resolve in CI:

```
ERROR: failed to compute cache key: failed to calculate checksum of ref ...: "/patches": not found
```

This switches to a single-file COPY matching the pattern used by comfyui in this repo, which builds cleanly.

Test plan

  • CI build succeeds
  • Resulting image applies the patch (verify by inspecting /subgen/subgen.py for if audio_tracks:)
  • Subgen runs without segfaulting on DTS files

🤖 Generated with Claude Code

BuildKit was failing to find the patches/ directory in the build
context. Switching to a single-file COPY matches the pattern used
by other apps in this repo and sidesteps the issue.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@arsac arsac merged commit 190a19d into main Apr 29, 2026
7 of 10 checks passed
@arsac arsac deleted the fix/subgen-pyav-dts-segfault branch April 29, 2026 18:22
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