Maven adapter: fewer full-suite fallbacks (tracking issue)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- java, typescript
- Bereich
- build-system
Rechercherichtung
Start in src/repo/adapters/maven.ts, where the adapter decides when to record a blockers entry and fall back to the full suite, and read the Maven table in docs/using-diffci.md that lists each fallback. Pick one unchecked step, such as custom sourceDirectory roots, and confirm the current fallback path before changing it. Done means that case no longer falls back, the blocker is gone, and the docs table is updated in the same change.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
DiffCI works out what a change needs from CI, starting with the tests it affects, so AI coding agents (and people) can run them before pushing. Conventional Maven reactors are supported today (src/repo/adapters/maven.ts), but some real Maven repositories still fall back to the full suite. This issue tracks closing those fallbacks, and it's open for contributors and design partners.
Today a Maven repository runs the full suite when it:
- sets custom source roots (
<sourceDirectory>or<testSourceDirectory>other than the defaults) - inherits dependencies from an external parent POM
- uses a
${property}dependency version DiffCI can't resolve - has a reactor with no Java sources (resources only)
Steps (each is one PR; take any that are unblocked):
- Follow custom
<sourceDirectory>and<testSourceDirectory>roots - Resolve dependencies inherited from an external parent POM (from the local repository, or
mvn help:effective-pomoutput when available) - Resolve
${property}versions from the POM chain and-D/.mvn/maven.config - Replay on one public Maven repository and publish the report
Gradle is separate: #68.
Ground rules
- When the adapter is unsure, it records a
blockersentry and DiffCI runs the full suite. An empty graph must never look like "nothing affected". - Every fallback is listed under "Maven" in docs/using-diffci.md. A PR that removes one updates that table.
- Discuss design questions here, so every step stays consistent.
Have a Maven repository that falls back today? Run npx --yes @diffci.com/diffci@latest check --base origin/main --head HEAD and post the fallback reason below. Real repositories decide the order.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 0
- Forks
- 4
- Ø Merge
- 18 Std. 41 Min.
- Gemergte PRs (30 T.)
- 48
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus DiffCI/core
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Planner: splitParts regex is quadratic on a quote followed by many backticks, so the fuzz test fails at randomEvtl. vergeben @FredApps hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
Maintainer antworten meist innerhalb von 1 Tag
-
Agent tools: changed_files lists only the new path of a renamed fileEvtl. vergeben @FredApps hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
DiffCI/core#243 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
adapter good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
agent-ready area: ui-server priority: p3 type: test
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
schlessera/brain-kit#4249 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation tool triaged
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
can1357/oh-my-pi#19608 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
dependencies tech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
bcgov/nr-waste-plus#1549 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
blixvip/solana-token-meta#17 ·
-
enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
blixvip/solana-tx-parse#18 ·