You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aglinxinyuan (via GitHub)" <gi...@apache.org> on 2026/07/09 23:56:56 UTC

[I] Add unit test coverage for WorkflowWorker [texera]

aglinxinyuan opened a new issue, #6300:
URL: https://github.com/apache/texera/issues/6300

   `org.apache.texera.amber.engine.architecture.worker.WorkflowWorker` (amber engine) is only ~40% line-covered on Codecov, and several actor paths have no unit test:
   
   - `handleBackpressure` — enqueuing an `ActorCommandElement`
   - `handleActorCommand` — the (currently unwired) actor-command path
   - `handleTriggerClosure` — driven by a `MainThreadDelegateMessage`
   - `preRestart` — teardown
   - `loadFromCheckpoint` — the checkpoint-restore path
   
   These are all exercisable as plain-JVM Pekko TestKit tests (no Python worker, Arrow Flight, or live storage), reusing the existing `WorkerSpec` harness.
   
   Part of the amber unit-test coverage push toward 80% ([Codecov](https://app.codecov.io/gh/apache/texera)).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add unit test coverage for WorkflowWorker [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6300:
URL: https://github.com/apache/texera/issues/6300#issuecomment-4930623097

   <!-- texera:template-compliance -->
   👋 Thanks for opening this issue, @aglinxinyuan!
   
   It looks like the issue description doesn't quite follow our template yet:
   
   - This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
   
   Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
   
   You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add unit test coverage for WorkflowWorker [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #6300: Add unit test coverage for WorkflowWorker
URL: https://github.com/apache/texera/issues/6300


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org