Skip to content

fix: mark named child runs as experimental - #1256

Merged
vdusek merged 1 commit into
masterfrom
fix/child-runs-experimental-warning
Nov 13, 2026
Merged

vdusek merged 1 commit into
masterfrom
fix/child-runs-experimental-warning

Conversation

@vdusek

@vdusek vdusek commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Named child runs shipped in v4.2.0 (#1149, #1151, #1153, #1184), but their design is still open and the API may change. This PR marks them as experimental.

  • Actor.start, Actor.call, Actor.start_task and Actor.call_task emit a UserWarning when called with run_name. Calls without run_name do not warn.
  • Accessing Actor.child_runs emits the same warning.
  • The run_name docstrings and the child_runs docstring say the feature is experimental.

The warning works the same way as the experimental features in Crawlee (RedisStorageClient, SqlStorageClient). It points at the caller's line.

✍️ Drafted by Claude Code

@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Nov 13, 2026
@vdusek vdusek self-assigned this Nov 13, 2026
@codecov

codecov Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.95%. Comparing base (0390bac) to head (fcec1cf).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1256      +/-   ##
==========================================
- Coverage   93.96%   93.95%   -0.01%     
==========================================
  Files          54       54              
  Lines        3828     3839      +11     
==========================================
+ Hits         3597     3607      +10     
- Misses        231      232       +1     
Flag Coverage Δ
integration 50.89% <9.09%> (-0.15%) ⬇️
unit 91.16% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek
vdusek marked this pull request as ready for review November 13, 2026 10:42
@vdusek
vdusek requested a review from Pijukatel November 13, 2026 10:42
@vdusek
vdusek merged commit 32eff9f into master Nov 13, 2026
37 of 39 checks passed
@vdusek
vdusek deleted the fix/child-runs-experimental-warning branch November 13, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants