Files
opentf/internal
Martin Atkins eb1d686806 lang/eval: PlanningOracle methods have their own workgraph workers
As was already noted in a comment in the PlanningOracle declaration, the
PlanningOracle API is an exported entrypoint usable from outside lang/eval
and so each exported method should establish its own workgraph worker to
make sure it's handling those concerns correctly regardless of how the
caller chooses to use them.

For example, a caller might choose to make concurrent calls into the oracle
from multiple goroutines, which would violate the assumption that each
concurrently-running codepath is associated with a separate workgraph
worker.

Even if a caller is managing their own workgraph workers in the expected
way, this is functionally harmless and relatively cheap.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-27 10:15:41 -07:00
..
2025-10-20 10:49:08 +03:00
2025-06-17 20:18:53 +04:00
2025-06-11 07:15:07 -04:00
2025-09-10 07:45:23 -04:00
2025-06-17 20:18:53 +04:00
2025-09-10 07:45:23 -04:00
2024-08-29 13:20:33 -04:00