Yicong-Huang opened a new pull request, #7137:
URL: https://github.com/apache/texera/pull/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)
   


-- 
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]

Reply via email to