You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/07/04 06:43:11 UTC
[GH] (texera/gh-readonly-queue/main/pr-6083-a3f22bbe57096a7e6598cead668ed3bc560a993e): Workflow run "Required Checks" failed!
The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-6083-a3f22bbe57096a7e6598cead668ed3bc560a993e has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run:
0f556f78a01413571ffb2a0aef146487152a7fc4 / Xinyuan Lin <xi...@uci.edu>
test(config): add unit test coverage for ApplicationConfig, GuiConfig, and EnvironmentalVariable (#6083)
### What changes were proposed in this PR?
Add unit test coverage for three `common/config` objects, selected from
the Codecov report (all 0%). No production-code changes.
| File | Codecov before | What the tests pin |
| --- | --- | --- |
| `EnvironmentalVariable.scala` | 0% | every env-var-name constant
resolves, is non-empty, and is unique; `get` returns `None`/`Some` for
unset/set vars |
| `ApplicationConfig.scala` | 0% | every value resolves from
application.conf with its default (constants, flow-control,
network-buffering, reconfiguration, fault-tolerance, scheduling,
cleanup, web-server, ai-assistant) |
| `GuiConfig.scala` | 0% | every gui.conf boolean/string/int setting
resolves to its default |
Reading each value forces resolution from the backing `.conf`, so a
renamed or mistyped key surfaces here as a `ConfigException` instead of
at service start-up. Every key carries a `${?ENV}` override, so
exact-value assertions are guarded on the env var being unset —
mirroring the existing `StorageConfigSpec`.
### Any related issues, documentation, discussions?
Follow-up to the review feedback on #6043: prioritize tests that fill
uncovered code paths.
### How was this PR tested?
- `sbt "Config/testOnly *EnvironmentalVariableSpec
*ApplicationConfigSpec *GuiConfigSpec"` — 16 tests, all green
- `sbt "Config/Test/scalafmtCheck"` and `sbt "Config/scalafixAll
--check"` — clean
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.8 [1M context])
Report URL: https://github.com/apache/texera/actions/runs/28697835923
With regards,
GitHub Actions via GitBox