You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by "pjfanning (via GitHub)" <gi...@apache.org> on 2026/09/21 20:30:56 UTC

[PR] Fix Scala compilation of linkis-module [linkis]

pjfanning opened a new pull request, #5483:
URL: https://github.com/apache/linkis/pull/5483

   Fixes #5482
   
   `linkis-module` has failed `scala-compile-first` since bb26ad363 (#5456) and 047ebde76 (#5457):
   
   - `ServerConfiguration.scala` references `LinkisModuleErrorCodeSummary.CRYPT_KEY_INSECURE`, which was never added to the enum → `not found: value CRYPT_KEY_INSECURE`
   - `SecurityFilter.scala` uses `CommonVars` without importing it → `not found: value CommonVars`
   
   This PR adds the missing enum constant (`11036`) and the missing import. Nothing else is changed.
   
   Note for follow-up (not addressed here): with compilation fixed, `ServerConfigurationTest` and `SecurityFilterTest.ignoreTimeoutSignalDefaultsTest` fail with `ExceptionInInitializerError` because #5456 makes `ServerConfiguration` fail closed when `wds.linkis.crypt.key` is unset, and the test `linkis.properties` does not set one.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org