Skip to content

Public tactics#791

Merged
frankmcsherry merged 1 commit into
TimelyDataflow:master-nextfrom
frankmcsherry:public_tactics
Jul 8, 2026
Merged

Public tactics#791
frankmcsherry merged 1 commit into
TimelyDataflow:master-nextfrom
frankmcsherry:public_tactics

Conversation

@frankmcsherry

Copy link
Copy Markdown
Member

Flips the pub(crate) on tactics to pub, which should open them up for use.

@frankmcsherry frankmcsherry changed the base branch from master to master-next July 8, 2026 23:13
@frankmcsherry frankmcsherry merged commit 798450a into TimelyDataflow:master-next Jul 8, 2026
6 checks passed
@frankmcsherry frankmcsherry deleted the public_tactics branch July 8, 2026 23:36
frankmcsherry added a commit to frankmcsherry/differential-dataflow that referenced this pull request Jul 9, 2026
…low#791 pub); port ProxyJoinTactic to `prep`

master-next reshaped `JoinTactic` from `defer`+fuel-metered `work` to a single
`prep(input0, input1, fresh, meet) -> Box<dyn Iterator<Item = C>>` (TimelyDataflow#790), with
the driver now owning the queues, capabilities, and fuel; and flipped the tactics
to `pub` (TimelyDataflow#791). `operators/join.rs` resolves to master-next's version (our only
change there was the same pub flip); `operators/reduce.rs` auto-merged.

Port `ProxyJoinTactic` to the new trait:
- The tactic is now pure data-to-data: `prep` maps two batch lists to output
  container(s), holding no queues/capabilities/fuel. Dropped `JoinUnit`, the two
  queues, and `defer`/`work`; `join_unit` becomes `join_prep` returning
  `Option<Bk::Output>`. `meet` (the driver-supplied capability time) feeds
  `JoinInstance.lower` directly.
- This is the eager port: `prep` returns the whole unit's output as one container
  (`iter::once`). Correct and behaviour-preserving; the F8 fuel footgun is gone
  structurally (the driver meters fuel now). Making `prep` lazy/windowed is F9's
  join half — see the updated F8/F9.
- Tests: `join_with_tactic` turbofish now takes the container `C`, not the builder.

Full workspace green (incl. SCC/BFS and the int_proxy suite, 14 tests).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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