Skip to content

[pull] main from DeusData:main - #159

Merged
pull[bot] merged 15 commits into
MrDolphin:mainfrom
DeusData:main
Sep 27, 2026
Merged

pull[bot] merged 15 commits into
MrDolphin:mainfrom
DeusData:main

Conversation

@pull

@pull pull Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

astandrik and others added 15 commits September 21, 2026 10:05
Signed-off-by: astandrik <astandrik@yandex-team.ru>
Signed-off-by: astandrik <astandrik@yandex-team.ru>
Signed-off-by: astandrik <astandrik@yandex-team.ru>
Signed-off-by: astandrik <astandrik@yandex-team.ru>
JAX-RS allows @path values without a leading slash, both on the class
and on the method. The route extractor rejected such literals, so
resources such as `@Path("widgets")` + `@Path("{id}")` produced no Route
nodes and no HANDLES edges at all. Accept relative templates and
normalize the class/method composition so the resulting path is always
rooted.

Existing JAX-RS Java probe tests are updated to use relative templates
so they guard the regression.

Signed-off-by: Hubert Tarnacki <hubert.tarnacki@gmail.com>
Scala JAX-RS resources declare @path on the class exactly like Java and
Kotlin, but the class-level prefix was only joined with the method path
for those two languages. Include Scala so a method route is emitted as
`<class path>/<method path>` instead of the bare method template.

Adds a Scala probe test covering both an empty and a non-empty method
template.

Signed-off-by: Hubert Tarnacki <hubert.tarnacki@gmail.com>
No content change. The previous run of this head failed one test in the
macos-14 TSan lane, daemon_runtime_connection_cap_covers_slow_hello_and_
stopping_is_terminal (tests/test_daemon_runtime.c:2846), which this PR
does not touch: the same tree passed that lane on 2026-09-13, and a
sibling PR on the same base passed it today. The build-config gate this
PR adds ran clean in that job.

Signed-off-by: Anton Standrik <astandrik@yandex-team.ru>
…path

Accepting relative JAX-RS templates made route_path_from_string_node return
"" for @path(""), which is non-NULL and so replaced the "/" fallback with an
empty method path. @path("") is legal JAX-RS and means "the class path
itself"; on main the empty value was rejected and the method fell back to
"/" like a method without @path. Return NULL for the empty case so that
behaviour is unchanged.

The regression covers both shapes: with a class-level @path the method
composes to the class path, and without one the route stays "/" (with the
empty string it was dropped entirely, because join_route_paths returns the
NULL prefix for an empty path).

Signed-off-by: Hubert Tarnacki <hubert.tarnacki@gmail.com>
fix(routes): accept relative JAX-RS @path templates and compose Scala class-level @path (#2147)
…d-config

test: verify sanitizer build configuration
@pull pull Bot locked and limited conversation to collaborators Sep 27, 2026
@pull pull Bot added the ⤵️ pull label Sep 27, 2026
@pull
pull Bot merged commit 11b662f into MrDolphin:main Sep 27, 2026
7 of 8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants