aglinxinyuan opened a new pull request, #9297:
URL: https://github.com/apache/texera/pull/9297
### What changes were proposed in this PR?
Drop the 38 `ENV_*` constants in `EnvironmentalVariable` that nothing
references. They are the `application.conf` names for constants, flow control,
network buffering, reconfiguration, most of the user system, result cleanup,
most of the web server, fault tolerance, most of the schedule generator, and
the AI assistant. `application.conf` reads these environment variables by name
through `${?NAME}`, so the Scala constants have no callers. The constants that
code still uses stay.
### Any related issues, documentation, discussions?
Closes #9296.
### How was this PR tested?
```bash
sbt "project Config" scalafmtCheck Test/compile "testOnly
org.apache.texera.common.config.EnvironmentalVariableSpec"
```
5 tests pass. `EnvironmentalVariableSpec` enumerates the object's constants
reflectively and checks each against the `.conf` files, so it needs no change.
A repo-wide search finds no reference to any removed name outside the file.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Antigravity (Claude Opus)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]