You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: taskings/v2-reviewer-guide.md
+38-29Lines changed: 38 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Overview
4
4
5
-
This is a guide to the 14`v2/` PRs prepared for eXist-db 7.0. Each PR has been individually tested (build, exist-core tests, Codacy), and all 15 merge cleanly together in the `next-v2` integration branch.
5
+
This is a guide to the 13`v2/` PRs (plus one closely related PR, [#6145](https://github.com/eXist-db/exist/pull/6145)) prepared for eXist-db 7.0. Each PR has been individually tested (build, exist-core tests, Codacy), and all branches merge cleanly together in the `next-v2` integration branch.
6
6
7
7
The PRs are organized into 5 waves by dependency and review complexity. **You can review in any order**, but merging should follow the wave order to avoid conflicts.
8
8
@@ -12,6 +12,17 @@ Every branch was tested individually: build (`mvn install -pl exist-core -am`),
12
12
13
13
For full context on the consolidation process, see the [consolidation report](v2-consolidation-report.md).
14
14
15
+
## CI Health Note
16
+
17
+
All 13 `v2/` PRs were rebased on 2026-04-13 after [#6224](https://github.com/eXist-db/exist/pull/6224) (CI/Maven fixes) merged. The CI runs from that rebase are the current baseline.
18
+
19
+
**Known noise in CI results** — do not treat these as blockers:
20
+
21
+
-**Integration failures (ubuntu/windows/macOS)**: All PRs show 1–3 integration job failures. These are pre-existing test hangs (the surefire fork timeout fires; the CI job still reports FAILURE). Not caused by any v2 change.
22
+
-**"Test and Publish Container Images" failure**: Caused by a transient HTTP 502 from `exist-db.org`'s public XAR repo during the build. Not a code issue.
23
+
-**XQTS runner crash on #6212 (Saxon 12)**: The CI XQTS job uses the Saxon 9.9 runner against the Saxon 12 classpath and crashes with `NoSuchMethodError: AnyURIValue.<init>(CharSequence)`. This is expected; [exist-xqts-runner #49](https://github.com/eXist-db/exist-xqts-runner/pull/49) adds Saxon 12 compatibility and should merge alongside #6212.
24
+
-**`replace.empty-match` unit tests (#6212 and #6218)**: These two PRs have complementary unit test failures. #6212 has `replace.empty-match-fails` failing (Saxon 12 permits empty matches; the XQ 3.1 gating is in #6218). #6218 has `replace.empty-match-allowed` failing (XQ4 mode expects empty matches; requires Saxon 12 from #6212). When both are merged together, both tests pass. Reviewers can ignore these failures when reviewing either PR individually.
25
+
15
26
## How to Test
16
27
17
28
Pull the Docker image with all branches pre-merged:
@@ -105,15 +116,18 @@ Eliminates the `exist-saxon-regex` fork module entirely. The main work is migrat
**Reviewer effort**: Medium (~41 files for Jetty migration + WebSocket module)
112
123
**Risk**: Medium — servlet API migration affects all HTTP handling
124
+
**Approvals**: @dizzzz ✓
125
+
126
+
`javax.servlet` → `jakarta.servlet` across all modules. Addresses review feedback from @reinhapa and @dizzzz on the original PR #6144: `printStackTrace` replaced with logging, unhelpful comments removed, `sendError` evaluated but not used for RESTXQ (would commit response prematurely). Also adds a WebSocket module with streaming XQuery evaluation.
113
127
114
-
`javax.servlet` → `jakarta.servlet` across all modules. Addresses review feedback from @reinhapa and @dizzzz on the original PR #6144: `printStackTrace` replaced with logging, unhelpful comments removed, `sendError` evaluated but not used for RESTXQ (would commit response prematurely).
128
+
> Note: The original `v2/jetty-12-upgrade`PR ([#6213](https://github.com/eXist-db/exist/pull/6213)) has been superseded by this broader PR.
115
129
116
-
**What to look for**: The `setStatus` reason parameter decision (dropped, not replaced with `sendError` — see comment in HttpServletResponseAdapter.java). Servlet filter chain changes. WebSocket compatibility.
130
+
**What to look for**: The `setStatus` reason parameter decision (dropped, not replaced with `sendError` — see comment in HttpServletResponseAdapter.java). Servlet filter chain changes. WebSocket API.
This PR enables all the XQTS compliance scores cited in this guide. Without it, only XQ 3.1 tests can be run. It adds:
256
-
- QT4 test suite support (XQuery 4.0)
257
-
- FTTS test suite support (Full Text)
258
-
- XQuery Update feature flag
259
-
- Batch runner with parallel execution and jstack diagnostics
260
-
- Saxon 12 / Jetty 12 compatibility
269
+
This consolidated PR supersedes the previously approved [#45](https://github.com/eXist-db/exist-xqts-runner/pull/45) (now closed). It enables all the XQTS compliance scores cited in this guide and adds Saxon 12 compatibility. Without it, only XQ 3.1 tests can be run.
261
270
262
-
**Should be merged alongside the v2/ PRs.**
271
+
**Should be merged alongside the v2/ PRs.** Needs first review.
263
272
264
273
### W3C XInclude Test Suite
265
274
@@ -271,8 +280,8 @@ These PRs on other repositories are part of the 7.0 work:
271
280
272
281
| Repo | PR | Title | Status |
273
282
|------|----|-------|--------|
274
-
| exist-xqts-runner |[#45](https://github.com/eXist-db/exist-xqts-runner/pull/45)| QT4/FTTS/XQUF test suite support | Approved (@duncdrum)|
275
-
| exist-xqts-runner |[#49](https://github.com/eXist-db/exist-xqts-runner/pull/49)|Saxon 12 compatibility | Merge after v2/saxon-12-upgrade|
|[#6182](https://github.com/eXist-db/exist/pull/6182)| Unify module discovery |1 approval (@duncdrum); @adamretter has raised a concern about benchmark methodology|
327
+
|[#6184](https://github.com/eXist-db/exist/pull/6184)| Add repo:resource-available() |1 approval (@duncdrum); changes requested by @line-o|
328
+
|[~~#6186~~](https://github.com/eXist-db/exist/pull/6186)|~~Add surefire fork timeouts~~|Closed; superseded by [#6224](https://github.com/eXist-db/exist/pull/6224) (merged 2026-04-13)|
0 commit comments