apache / apache/texera

Add a cluster-level boot smoke test for the computing-unit-worker

Open
#6,523 0 comments 0 reactions 1 assignee Claimed by @mengw15 View on GitHub
Dominant language
Scala
Stars
314
Forks
187
Avg merge
1d 21h
Merged PRs (30d)
214

Description

### Task Summary

`amber-integration` boot-smoke-tests `texera-web` (#6319) and `computing-unit-master` (#6377), but the **computing-unit-worker** is not covered — and it can't use the same `smoke-boot.sh` port-probe approach:

- `ComputingUnitWorker.main` only calls `AmberRuntime.startActorWorker`, which binds `pekko.remote.artery.canonical.port = 0` (random) and starts no HTTP server — so there is no fixed port to probe (unlike the master's Dropwizard `:8085`).
- A worker's health is "joined the cluster," which requires a seed/master at `:2552` first. Standalone it just retries and stays up, so a "didn't crash" check proves nothing.

A meaningful worker smoke test needs to bring up a master + worker and assert the worker actually joins the cluster (cluster membership), not merely that the process survives. Track adding that.

Raised from #6377 review.

### Task Type

- [ ] Refactor / Cleanup
- [x] DevOps / Deployment / CI
- [x] Testing / QA
- [ ] Documentation
- [ ] Performance
- [ ] Other

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.