The GitHub Actions job "Required Checks" on texera.git/main has failed.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
68389937f0d761fa36ba167edfb08f21515303d7 / Yicong Huang 
<[email protected]>
chore(config): remove two orphaned GUI config flags with no consumers (#7137)

### What changes were proposed in this PR?

Two GUI config flags were still defined and sent to the frontend but
read by nobody. `autoAttributeCorrectionEnabled` lost its consumer when
the schema auto-correct service was removed in #2578.
`expirationTimeInMinutes` lost its only reader when token refresh was
removed for security in #3765; the frontend now derives session expiry
from the JWT itself. This removes both across every layer they touched:
`gui.conf`, `GuiConfig` and its spec, the `/gui` config endpoint
(dropping the now-unused `AuthConfig` import), and the frontend
`GuiConfig` interface and mock. `AuthConfig.jwtExpirationMinutes` stays
untouched — `JwtAuth` still uses it to sign real tokens.

### Any related issues, documentation, discussions?

Closes #7135

### How was this PR tested?

Dead-code removal, grep-verified no remaining references to either flag.
Existing config specs (GuiConfigSpec, ConfigResourceSpec) continue to
cover the config surface.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 4.8)

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/30594529034

With regards,
GitHub Actions via GitBox

Reply via email to