[BUG] Master build broken since July: undefined error-code constant and missing import fail linkis-module compilation
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 65/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- scala
- Área
- build-system
Línea de trabajo
Lee ServerConfiguration.scala alrededor de las líneas 80–81 y SecurityFilter.scala alrededor de las líneas 158 y 164; después, consulta LinkisModuleErrorCodeSummary para ver las definiciones de los códigos de error. Confirma la constante y la importación que faltan según el informe, aplica las dos correcciones indicadas y ejecuta la compilación de linkis-commons/linkis-module; la tarea estará terminada cuando el módulo compile sin esos cuatro errores.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
master fails to compile in linkis-commons/linkis-module. Every push CI run on master since 2026-07-16 has been red, and the nightly "Publish Snapshot" workflow can never reach the deploy stage. There are four Scala compilation errors with two independent root causes, both left behind by the July/August security hardening series.
Root causes
1. Undefined error-code constant — commit bb26ad3 (2026-07-16, "[SECURITY][A] remove default wds.linkis.crypt.key, fail-closed on...") references CRYPT_KEY_INSECURE in ServerConfiguration.scala:80-81:
throw new BDPInitServerException(
CRYPT_KEY_INSECURE.getErrorCode,
s"${CRYPT_KEY_INSECURE.getErrorDesc}: ..."
)
but no CRYPT_KEY_INSECURE entry exists in LinkisModuleErrorCodeSummary — a repo-wide code search finds only the references, no definition. The companion commit that should have added the enum entry never landed on master.
2. Missing import — commit 41c025d (2026-08-12, "[SECURITY] Upgrade session ticket cipher from DES to AES-256-GCM") uses CommonVars at SecurityFilter.scala:158,164 without adding an import (the file has no other CommonVars usage, so it never needed one before).
Evidence
Identical compile errors in two independent CI runs (one of them a plain build-backend job not involving any workflow changes):
ServerConfiguration.scala:80: not found: value CRYPT_KEY_INSECURE
ServerConfiguration.scala:81: not found: value CRYPT_KEY_INSECURE
SecurityFilter.scala:158: not found: value CommonVars
SecurityFilter.scala:164: not found: value CommonVars
- Publish Snapshot run 2026-11-26: https://github.com/apache/linkis/actions/runs/45771756417
- build-backend (spark-3) on PR #5499 (same errors)
- master push CI failures on 07-16, 08-12, 08-19 and 11-25, e.g. https://github.com/apache/linkis/actions/runs/45582806806
Impact
- master cannot be built at all, so nightly snapshot publishing (see INFRA-28709) and any full build stay broken
- contributors get a wall of red CI that is unrelated to their changes
A fix PR (add the missing enum entry + add the import) will follow shortly.
- Lenguaje dominante
- Java
- Estrellas
- 3.4k
- Forks
- 1.2k
- Merge medio
- 23 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/linkis
-
bug dependencies
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
[Bug] linkis-application-manager's RMUtils class has a logic bugQuizá libre de nuevo @zhang-arvin la tomó hace 88 días y no hay ningún pull request abierto. Abiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
apache/linkis#4974 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Bug] Broken MyBatis mapper statements in jobhistory, manager-persistence and et-monitorPosiblemente ocupada @andrehqh la tomó hace 16 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
[Bug][CI] GitHub Actions startup failure: third-party actions not in ASF allow-listPosiblemente ocupada @aiceflower la tomó hace 50 días. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Scala Compilation is broken on master branch and recent PRsPosiblemente ocupada @pjfanning la tomó hace 66 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
apache/linkis#5482 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/linkis
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bloxbean/yaci-store#1445 ·
Los mantenedores suelen responder en 1 día
-
图片灯箱过长的话底部carousel滑动没有惯性Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
Spare PermissionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
Etar-Group/Etar-Calendar#2234 ·
Los mantenedores suelen responder en 1 día
-
[BUG] MCP resources-as-tools drops invocation context when listing templatesPosiblemente ocupada @CryoThrust la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
langchain4j/langchain4j#7320 ·
Los mantenedores suelen responder en 1 día