Fix broken /self/v1 extend with a base URL with path#808
Merged
Conversation
Contributor
There was a problem hiding this comment.
Benchmark Index (community)
Details
| Benchmark suite | Current: ddb0b15 | Previous: 3f2bc04 | Ratio |
|---|---|---|---|
Add one schema (0 existing) |
18 ms |
18 ms |
1 |
Add one schema (100 existing) |
23 ms |
22 ms |
1.05 |
Add one schema (1000 existing) |
74 ms |
73 ms |
1.01 |
Add one schema (10000 existing) |
624 ms |
627 ms |
1.00 |
Update one schema (1 existing) |
16 ms |
16 ms |
1 |
Update one schema (101 existing) |
23 ms |
23 ms |
1 |
Update one schema (1001 existing) |
76 ms |
73 ms |
1.04 |
Update one schema (10001 existing) |
648 ms |
676 ms |
0.96 |
Cached rebuild (1 existing) |
9 ms |
9 ms |
1 |
Cached rebuild (101 existing) |
11 ms |
11 ms |
1 |
Cached rebuild (1001 existing) |
31 ms |
30 ms |
1.03 |
Cached rebuild (10001 existing) |
251 ms |
243 ms |
1.03 |
Index 100 schemas |
147 ms |
131 ms |
1.12 |
Index 1000 schemas |
1102 ms |
1003 ms |
1.10 |
Index 10000 schemas |
14037 ms |
13126 ms |
1.07 |
This comment was automatically generated by workflow using github-action-benchmark.
Contributor
There was a problem hiding this comment.
Benchmark Index (enterprise)
Details
| Benchmark suite | Current: ddb0b15 | Previous: 3f2bc04 | Ratio |
|---|---|---|---|
Add one schema (0 existing) |
23 ms |
20 ms |
1.15 |
Add one schema (100 existing) |
25 ms |
25 ms |
1 |
Add one schema (1000 existing) |
74 ms |
73 ms |
1.01 |
Add one schema (10000 existing) |
727 ms |
606 ms |
1.20 |
Update one schema (1 existing) |
19 ms |
19 ms |
1 |
Update one schema (101 existing) |
25 ms |
25 ms |
1 |
Update one schema (1001 existing) |
76 ms |
75 ms |
1.01 |
Update one schema (10001 existing) |
610 ms |
610 ms |
1 |
Cached rebuild (1 existing) |
10 ms |
11 ms |
0.91 |
Cached rebuild (101 existing) |
12 ms |
12 ms |
1 |
Cached rebuild (1001 existing) |
32 ms |
31 ms |
1.03 |
Cached rebuild (10001 existing) |
248 ms |
252 ms |
0.98 |
Index 100 schemas |
112 ms |
110 ms |
1.02 |
Index 1000 schemas |
1001 ms |
1017 ms |
0.98 |
Index 10000 schemas |
14372 ms |
14123 ms |
1.02 |
This comment was automatically generated by workflow using github-action-benchmark.
cfdae66 to
2243a63
Compare
/self/v1 extend with a base URL with path/self/v1 extend with a base URL with path
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
🤖 Augment PR SummarySummary: This PR fixes reference rebasing when the server base URL includes a non-root path (e.g. Changes:
🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
1 issue found across 3 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="src/resolver/resolver.cc">
<violation number="1" location="src/resolver/resolver.cc:256">
P1: Write to `this->server_url_path` is not guarded by `mutex`, but it is read during resolution in `operator()`. If `add()` and `operator()` can be called concurrently, this is a data race (undefined behavior). Guard this write with the same `mutex` used for `views`.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
51b5abc to
13a6d79
Compare
13a6d79 to
ddb0b15
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Juan Cruz Viotti jv@jviotti.com