ci: run native-image integration tests in CI so the shipped binary is what gets tested
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Start in pom.xml, where the -Pnative profile is defined, and in src/main/docker/** to see how the native binary is built, then find where @QuarkusIntegrationTest tests currently run. Work out how to run those tests against the native artifact in a new CI job with a path filter. Done means a PR touching src/main or pom.xml runs the native integration tests and reports results in the job summary; the approach still needs maintainer agreement on triggers and caching.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem Statement
The distributed artifact is a GraalVM native binary, but CI exercises the JVM build only. Native compilation has its own failure class — reflection registration, resources, proxies, build-time initialization — and any of it can break silently in a change that passes every JVM test. The risk grows with the review-pipeline refactor (#669): new AI service interfaces, config mappings, and prompt constants are exactly the kind of change that needs native reflection/resource registration.
Proposed Solution
- Add a CI job that builds the native image (
-Pnative) and runs the integration tests against it (quarkus.test.integration-test-profile/@QuarkusIntegrationTestwhere applicable). - Run it on PRs touching
src/main/**,pom.xml, orsrc/main/docker/**(path filter keeps the expensive job off docs-only PRs), and always on the release branch/tag. - Cache the GraalVM/Mandrel toolchain and Maven repo between runs to keep wall-clock acceptable.
- Publish the result in the job summary so a native-only failure is immediately distinguishable from a JVM test failure.
Alternatives Considered
- Native build only at release time (current) — catches breakage at the worst moment, after the offending change merged.
- Nightly native build — cheaper, but decouples the failure from the PR that caused it.
Priority
Important
- Lingua principale
- Java
- Stelle
- 35
- Fork
- 7
- Merge medio
- 8h 41m
- PR unite (30g)
- 217
Preparare l'ambiente
- Include un Dockerfile o un 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 devops-thiago/ThrillhouseBot
-
documentation enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
devops-thiago/ThrillhouseBot#321 ·
I maintainer di solito rispondono entro 1 giorno
-
refactor(review): identify the bot's own read-back text by marker, not English wordingForse già presa @devops-thiago l’ha presa 2 giorni fa. Apertaenhancement java rework
devops-thiago/ThrillhouseBot#1260 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(webhook): translate command replies, learning replies and on-request generator textForse già presa @devops-thiago l’ha presa 2 giorni fa. Apertaenhancement java
devops-thiago/ThrillhouseBot#1259 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(review): translate the review body, check-run summary and round lead-insForse già presa @devops-thiago l’ha presa 2 giorni fa. Apertaenhancement java
devops-thiago/ThrillhouseBot#1258 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(review): translate the PR summary commentForse già presa @devops-thiago l’ha presa 2 giorni fa. Apertaenhancement java
devops-thiago/ThrillhouseBot#1257 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di devops-thiago/ThrillhouseBot
Issue simili
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
protobuf
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
FasterXML/jackson-dataformats-binary#874 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
HexaHexes/infinite-dungeon-spawn-safety#17 ·
I maintainer di solito rispondono entro 1 giorno