[BUG] Master build broken since July: undefined error-code constant and missing import fail linkis-module compilation
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 65/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- scala
- Ambito
- build-system
Direzione di ricerca
Leggi ServerConfiguration.scala intorno alle righe 80–81 e SecurityFilter.scala intorno alle righe 158 e 164, quindi controlla in LinkisModuleErrorCodeSummary le definizioni dei codici di errore. Conferma la costante e l’importazione mancanti segnalate, applica le due correzioni indicate ed esegui la compilazione di linkis-commons/linkis-module; il lavoro è concluso quando il modulo viene compilato senza questi quattro errori.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 3.4k
- Fork
- 1.2k
- Merge medio
- 23m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/linkis
-
bug dependencies
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] linkis-application-manager's RMUtils class has a logic bugForse di nuovo libera @zhang-arvin l’ha presa 88 giorni fa e non c’è nessuna pull request aperta. Apertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
apache/linkis#4974 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Broken MyBatis mapper statements in jobhistory, manager-persistence and et-monitorForse già presa @andrehqh l’ha presa 16 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug][CI] GitHub Actions startup failure: third-party actions not in ASF allow-listForse già presa @aiceflower l’ha presa 50 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Scala Compilation is broken on master branch and recent PRsForse già presa @pjfanning l’ha presa 66 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
apache/linkis#5482 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/linkis
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
bloxbean/yaci-store#1445 ·
I maintainer di solito rispondono entro 1 giorno
-
图片灯箱过长的话底部carousel滑动没有惯性Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
-
Spare PermissionAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
Etar-Group/Etar-Calendar#2234 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] MCP resources-as-tools drops invocation context when listing templatesForse già presa @CryoThrust l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
langchain4j/langchain4j#7320 ·
I maintainer di solito rispondono entro 1 giorno