fix(ci): collect worker functions via worker_name on iii 0.17 - #220
Conversation
The engine no longer exposes function ids on engine::workers::list entries; functions are tagged with worker_name instead. Snapshot a workers baseline before interface collection so composite bundles like harness publish every sub-worker's bus surface, and wait until those functions exist before asserting. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThis PR adds baseline-aware worker and function resolution to the publish payload pipeline. It introduces helper functions to extract worker identity, resolve target workers from an optional baseline snapshot, and derive function IDs. The core functions ChangesBaseline-Aware Worker and Function Resolution
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
skill-check — worker0 verified, 14 skipped (no docs/).
Four for four. Nicely done. |
Summary
no worker functions in worker-interface.json (empty)after upgrading the publish pipeline to iii v0.17.engine::workers::listentries; each function inengine::functions::listnow carriesworker_nameinstead. Update normalization to resolve functions from that field.workers-baseline.jsonbefore starting the local worker so composite bundles (harness registers 14 logical workers) publish the full bus surface, not just the worker namedharness.Fixes the failed harness v0.5.3 publish job: https://github.com/iii-hq/workers/actions/runs/26853219158/job/79190173064
Test plan
python3 -m pytest .github/scripts/tests/ -q(89 passed)--assert-non-emptySummary by CodeRabbit
Improvements
Tests