Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ci: run native-image integration tests in CI so the shipped binary is what gets tested

Chiusa
#671 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@matheusandre1 ci sta già lavorando.

Dal 17/10/2026.

  • #1157 di @matheusandre1 — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
docker, github-actions, java
Ambito
ci-cd, testing

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

enhancement github_actions
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 / @QuarkusIntegrationTest where applicable).
  • Run it on PRs touching src/main/**, pom.xml, or src/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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devops-thiago/ThrillhouseBot

Tutte le issue di devops-thiago/ThrillhouseBot

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.