Skip to content

Fix1#85

Merged
Idleness76 merged 2 commits into
mainfrom
fix1
Sep 9, 2025
Merged

Fix1#85
Idleness76 merged 2 commits into
mainfrom
fix1

Conversation

@Idleness76
Copy link
Copy Markdown
Owner

What I changed

  • Removed pre-filtering in App::invoke so the App passes the full frontier to the Scheduler and relies on the Scheduler’s decision.
  • Made the Scheduler return strongly-typed node IDs (NodeKind) instead of strings to avoid formatting/parsing churn.
  • Updated demos/tests to the new API and behavior.

scheduler.rs; StepRunResult now uses:

  1. ran_nodes: Vec
  2. skipped_nodes: Vec
  3. outputs: Vec<(NodeKind, NodePartial)>
  4. superstep still partitions the frontier and executes nodes with bounded concurrency.
  5. should_run/record_seen behavior unchanged; only usage consolidated inside superstep.

app.rs

  1. Removed the .filter(|n| scheduler.should_run(...)) on the frontier.
  2. Uses step_result.ran_nodes and step_result.outputs to build node_partials and compute the next frontier.

@Idleness76 Idleness76 self-assigned this Sep 9, 2025
@Idleness76 Idleness76 merged commit 44d1a75 into main Sep 9, 2025
@Idleness76 Idleness76 deleted the fix1 branch September 9, 2025 19:14
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