Skip to content

fix: import Packet for subgraph EOF handling - #220

Merged
sfeiwong merged 1 commit into
BabitMF:masterfrom
dajiaohuang:fix/subgraph-eof-packet
Aug 26, 2026
Merged

fix: import Packet for subgraph EOF handling#220
sfeiwong merged 1 commit into
BabitMF:masterfrom
dajiaohuang:fix/subgraph-eof-packet

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

Summary

  • import Packet where SubGraph.process() creates downstream EOF packets
  • add a focused regression test for the all-output-streams-closed path

Fixes #219.

Validation

  • hermetic SubGraph.process() EOF-path regression: passed
  • Python AST parse for both changed files: passed
  • ruff check --select E9,F63,F7,F82: passed
  • YAPF 0.40.1 formatting diff: clean
  • git diff --check: passed

The full native BMF test suite was not run locally because this Windows environment does not have the repository's BMF native build artifacts, compiler/CMake toolchain, or supported FFmpeg 4.x/5.x SDK. The added test is colocated with the existing subgraph integration tests for execution in a built development environment.

@sfeiwong
sfeiwong merged commit 5c8d302 into BabitMF:master Aug 26, 2026
8 of 9 checks passed
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.

SubGraph.process raises NameError when all output streams reach EOF

2 participants