Skip to content

Bump jedis from 3.6.1 to 3.6.3 - #5

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/redis.clients-jedis-3.6.3
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/redis.clients-jedis-3.6.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 16, 2021

Copy link
Copy Markdown
Contributor

Bumps jedis from 3.6.1 to 3.6.3.

Release notes

Sourced from jedis's releases.

3.6.3

Improvements

  • Support WAIT in Pipeline (#2600)

Contributors

We'd like to thank all the contributors who worked on this release!

@​sazzad16

3.6.2

Bug Fixes

Maintenance

  • Minimal constructors with Config (#2577)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jedis](https://github.com/redis/jedis) from 3.6.1 to 3.6.3.
- [Release notes](https://github.com/redis/jedis/releases)
- [Commits](redis/jedis@jedis-3.6.1...v3.6.3)

---
updated-dependencies:
- dependency-name: redis.clients:jedis
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java labels Aug 16, 2021
@dependabot @github

dependabot Bot commented on behalf of github Sep 6, 2021

Copy link
Copy Markdown
Contributor Author

Superseded by #35.

@dependabot dependabot Bot closed this Sep 6, 2021
@dependabot
dependabot Bot deleted the dependabot/maven/redis.clients-jedis-3.6.3 branch September 6, 2021 04:17
mergify Bot added a commit that referenced this pull request Mar 13, 2026
Bumps `swagger.version` from 2.2.43 to 2.2.45.
Updates `io.swagger.core.v3:swagger-core` from 2.2.43 to 2.2.45
Release notes

*Sourced from [io.swagger.core.v3:swagger-core's releases](https://github.com/swagger-api/swagger-core/releases).*

> Swagger-core 2.2.45 released!
> -----------------------------
>
> * fix: ensure sentinel values are handled correctly in defaultValue mer… ([#5078](https://redirect.github.com/swagger-api/swagger-core/issues/5078))
> * chore: update jackson dependencies ([#5075](https://redirect.github.com/swagger-api/swagger-core/issues/5075))
> * chore(deps-dev): bump ch.qos.logback:logback-core from 1.5.22 to 1.5.25 ([#5072](https://redirect.github.com/swagger-api/swagger-core/issues/5072))
> * nit: Renamed `GericModelConverter` into `GenericModelConverter` ([#5066](https://redirect.github.com/swagger-api/swagger-core/issues/5066))
> * fix: treat streams with arraySchema annotation as array type ([#5013](https://redirect.github.com/swagger-api/swagger-core/issues/5013)) ([#5064](https://redirect.github.com/swagger-api/swagger-core/issues/5064))
>
> Swagger-core 2.2.44 released!
> -----------------------------
>
> * fix: add empty default value ([#4838](https://redirect.github.com/swagger-api/swagger-core/issues/4838)) ([#5063](https://redirect.github.com/swagger-api/swagger-core/issues/5063))
> * fix: null values in examples, example and default ([#4339](https://redirect.github.com/swagger-api/swagger-core/issues/4339), [#4229](https://redirect.github.com/swagger-api/swagger-core/issues/4229)) ([#5060](https://redirect.github.com/swagger-api/swagger-core/issues/5060))
> * fix: do not set schema.nullable for OAS 3.1 ([#5059](https://redirect.github.com/swagger-api/swagger-core/issues/5059))
> * fix: calculate sibling properties based upon whether the schema is the array or the item in the array ([#5055](https://redirect.github.com/swagger-api/swagger-core/issues/5055))
> * fix: OAS 3.1 schema generation for raw Object properties ([#5034](https://redirect.github.com/swagger-api/swagger-core/issues/5034))
> * feat: Multiple SecurityRequirement annotations with AND condition [#3556](https://redirect.github.com/swagger-api/swagger-core/issues/3556) ([#5025](https://redirect.github.com/swagger-api/swagger-core/issues/5025))
> * bug fix propertyNames schema is not removed as unreferenced by SpecFilter [#5017](https://redirect.github.com/swagger-api/swagger-core/issues/5017) ([#5020](https://redirect.github.com/swagger-api/swagger-core/issues/5020))
> * 5001: Add support for [`@​Nullable`](https://github.com/Nullable) annotations in OpenAPI 3.1 schemas ([#5018](https://redirect.github.com/swagger-api/swagger-core/issues/5018))


Commits

* [`d474f37`](swagger-api/swagger-core@d474f37) prepare release 2.2.45 ([#5081](https://redirect.github.com/swagger-api/swagger-core/issues/5081))
* [`f93aee0`](swagger-api/swagger-core@f93aee0) fix: treat streams with arraySchema annotation as array type ([#5013](https://redirect.github.com/swagger-api/swagger-core/issues/5013)) ([#5064](https://redirect.github.com/swagger-api/swagger-core/issues/5064))
* [`0daf49b`](swagger-api/swagger-core@0daf49b) nit: renamed GericModelConverter to GenericModelConverter ([#5066](https://redirect.github.com/swagger-api/swagger-core/issues/5066))
* [`49e95d4`](swagger-api/swagger-core@49e95d4) chore(deps-dev): bump ch.qos.logback:logback-core from 1.5.22 to 1.5.25 ([#5072](https://redirect.github.com/swagger-api/swagger-core/issues/5072))
* [`df6595e`](swagger-api/swagger-core@df6595e) fix: ensure sentinel values are handled correctly in defaultValue merging ([#5](https://redirect.github.com/swagger-api/swagger-core/issues/5)...
* [`c392d43`](swagger-api/swagger-core@c392d43) bump snapshot 2.2.45-SNAPSHOT ([#5069](https://redirect.github.com/swagger-api/swagger-core/issues/5069))
* [`abd2cff`](swagger-api/swagger-core@abd2cff) chore: update jackson dependencies ([#5075](https://redirect.github.com/swagger-api/swagger-core/issues/5075))
* [`3bca869`](swagger-api/swagger-core@3bca869) prepare release 2.2.44 ([#5068](https://redirect.github.com/swagger-api/swagger-core/issues/5068))
* [`6143bee`](swagger-api/swagger-core@6143bee) fix: calculate sibling properties based upon whether the schema is the array ...
* [`6043dd5`](swagger-api/swagger-core@6043dd5) fix: handle empty default value ([#4838](https://redirect.github.com/swagger-api/swagger-core/issues/4838)) ([#5063](https://redirect.github.com/swagger-api/swagger-core/issues/5063))
* Additional commits viewable in [compare view](swagger-api/swagger-core@v2.2.43...v2.2.45)
  
Updates `io.swagger.core.v3:swagger-annotations` from 2.2.43 to 2.2.45
Updates `io.swagger.core.v3:swagger-models` from 2.2.43 to 2.2.45
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
tae898 referenced this pull request in humemai/arcadedb-embedded-python Jun 28, 2026
Bumps `swagger.version` from 2.2.43 to 2.2.45.
Updates `io.swagger.core.v3:swagger-core` from 2.2.43 to 2.2.45
Release notes

*Sourced from [io.swagger.core.v3:swagger-core's releases](https://github.com/swagger-api/swagger-core/releases).*

> Swagger-core 2.2.45 released!
> -----------------------------
>
> * fix: ensure sentinel values are handled correctly in defaultValue mer… ([ArcadeData#5078](https://redirect.github.com/swagger-api/swagger-core/issues/5078))
> * chore: update jackson dependencies ([ArcadeData#5075](https://redirect.github.com/swagger-api/swagger-core/issues/5075))
> * chore(deps-dev): bump ch.qos.logback:logback-core from 1.5.22 to 1.5.25 ([ArcadeData#5072](https://redirect.github.com/swagger-api/swagger-core/issues/5072))
> * nit: Renamed `GericModelConverter` into `GenericModelConverter` ([ArcadeData#5066](https://redirect.github.com/swagger-api/swagger-core/issues/5066))
> * fix: treat streams with arraySchema annotation as array type ([ArcadeData#5013](https://redirect.github.com/swagger-api/swagger-core/issues/5013)) ([ArcadeData#5064](https://redirect.github.com/swagger-api/swagger-core/issues/5064))
>
> Swagger-core 2.2.44 released!
> -----------------------------
>
> * fix: add empty default value ([ArcadeData#4838](https://redirect.github.com/swagger-api/swagger-core/issues/4838)) ([ArcadeData#5063](https://redirect.github.com/swagger-api/swagger-core/issues/5063))
> * fix: null values in examples, example and default ([ArcadeData#4339](https://redirect.github.com/swagger-api/swagger-core/issues/4339), [ArcadeData#4229](https://redirect.github.com/swagger-api/swagger-core/issues/4229)) ([ArcadeData#5060](https://redirect.github.com/swagger-api/swagger-core/issues/5060))
> * fix: do not set schema.nullable for OAS 3.1 ([ArcadeData#5059](https://redirect.github.com/swagger-api/swagger-core/issues/5059))
> * fix: calculate sibling properties based upon whether the schema is the array or the item in the array ([ArcadeData#5055](https://redirect.github.com/swagger-api/swagger-core/issues/5055))
> * fix: OAS 3.1 schema generation for raw Object properties ([ArcadeData#5034](https://redirect.github.com/swagger-api/swagger-core/issues/5034))
> * feat: Multiple SecurityRequirement annotations with AND condition [ArcadeData#3556](https://redirect.github.com/swagger-api/swagger-core/issues/3556) ([ArcadeData#5025](https://redirect.github.com/swagger-api/swagger-core/issues/5025))
> * bug fix propertyNames schema is not removed as unreferenced by SpecFilter [ArcadeData#5017](https://redirect.github.com/swagger-api/swagger-core/issues/5017) ([ArcadeData#5020](https://redirect.github.com/swagger-api/swagger-core/issues/5020))
> * 5001: Add support for [`@​Nullable`](https://github.com/Nullable) annotations in OpenAPI 3.1 schemas ([ArcadeData#5018](https://redirect.github.com/swagger-api/swagger-core/issues/5018))


Commits

* [`d474f37`](swagger-api/swagger-core@d474f37) prepare release 2.2.45 ([ArcadeData#5081](https://redirect.github.com/swagger-api/swagger-core/issues/5081))
* [`f93aee0`](swagger-api/swagger-core@f93aee0) fix: treat streams with arraySchema annotation as array type ([ArcadeData#5013](https://redirect.github.com/swagger-api/swagger-core/issues/5013)) ([ArcadeData#5064](https://redirect.github.com/swagger-api/swagger-core/issues/5064))
* [`0daf49b`](swagger-api/swagger-core@0daf49b) nit: renamed GericModelConverter to GenericModelConverter ([ArcadeData#5066](https://redirect.github.com/swagger-api/swagger-core/issues/5066))
* [`49e95d4`](swagger-api/swagger-core@49e95d4) chore(deps-dev): bump ch.qos.logback:logback-core from 1.5.22 to 1.5.25 ([ArcadeData#5072](https://redirect.github.com/swagger-api/swagger-core/issues/5072))
* [`df6595e`](swagger-api/swagger-core@df6595e) fix: ensure sentinel values are handled correctly in defaultValue merging ([#5](https://redirect.github.com/swagger-api/swagger-core/issues/5)...
* [`c392d43`](swagger-api/swagger-core@c392d43) bump snapshot 2.2.45-SNAPSHOT ([ArcadeData#5069](https://redirect.github.com/swagger-api/swagger-core/issues/5069))
* [`abd2cff`](swagger-api/swagger-core@abd2cff) chore: update jackson dependencies ([ArcadeData#5075](https://redirect.github.com/swagger-api/swagger-core/issues/5075))
* [`3bca869`](swagger-api/swagger-core@3bca869) prepare release 2.2.44 ([ArcadeData#5068](https://redirect.github.com/swagger-api/swagger-core/issues/5068))
* [`6143bee`](swagger-api/swagger-core@6143bee) fix: calculate sibling properties based upon whether the schema is the array ...
* [`6043dd5`](swagger-api/swagger-core@6043dd5) fix: handle empty default value ([ArcadeData#4838](https://redirect.github.com/swagger-api/swagger-core/issues/4838)) ([ArcadeData#5063](https://redirect.github.com/swagger-api/swagger-core/issues/5063))
* Additional commits viewable in [compare view](swagger-api/swagger-core@v2.2.43...v2.2.45)
  
Updates `io.swagger.core.v3:swagger-annotations` from 2.2.43 to 2.2.45
Updates `io.swagger.core.v3:swagger-models` from 2.2.43 to 2.2.45
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
robfrank added a commit that referenced this pull request Jun 30, 2026
…leak

- #1 (medium): abortTransaction() now reports whether it rolled back an active tx; the
  mid-stream onNext catch reclassifies still-uncommitted inserted/updated as failed when
  it did (PER_STREAM/PER_REQUEST, or PER_BATCH with batch > chunk), so the summary no
  longer over-reports rows that were rolled back. Counts stand when nothing rolled back
  (PER_BATCH/PER_ROW already-committed batches). Contract-change test now asserts
  inserted==0, received==2, failed==2.
- #5 (edge): InsertContext ctor rolls back its own just-begun transaction if construction
  fails after db.begin(), closing a leak the mid-stream path could not reach (ctxRef unset).
- #4/#3 (docs): correct the stale 'COMMIT_FAILED' note (test asserts CONTRACT_VIOLATION) and
  document the full InsertError.code set.
lvca added a commit that referenced this pull request Nov 23, 2026
…ndexes over the whole joining subtree (#12062)

## Root cause

`ALTER TYPE A SUPERTYPE +W` propagates W's indexes (and those of W's
super types) through `LocalDocumentType.propagateSuperTypeIndexes` /
`createSubIndexesFor`, which walked `buckets`, the joining type's OWN
buckets. The sub types of `A` join `W` with it (their records are `W`
records from then on, `SELECT FROM W` returns them), but their buckets
got no sub-index. So a UNIQUE index of `W` was not enforced for them,
`SEARCH_INDEX` on a FULL_TEXT index and `vectorNeighbors` on an
LSM_VECTOR index never returned them, and `SELECT FROM index:...` listed
nothing for them. A sub type created later and `ALTER TYPE A BUCKET +b`
were fine because both go through `addBucketInternal`, which propagates
`getAllIndexes(true)` per bucket.

## Fix

`createSubIndexesFor` walks `cachedPolymorphicBuckets` (the joining
type's buckets and those of every type below it, at any depth) instead
of `buckets`, and asks the type that owns each bucket
(`schema.getBucketOwner`) whether the bucket already carries the index,
since a sub type's sub-indexes are bound to that sub type (#10412;
`createBucketIndex` already binds a sub type's bucket to its owner under
the propagated wrapper). The question of whether the caller's
transaction wrote into the scanned buckets (#10450) is asked about the
same polymorphic bucket list.

Everything else is the existing path: the components are created in
their own transaction, the builds join the caller's transaction, and any
failure (a UNIQUE clash between a record of the subtree and one of `W`,
or between two types of the subtree) drops every component created and
unlinks the super type (#11302), so the change is refused with nothing
changed. This is the same for every index family the propagation handles
(LSM_TREE UNIQUE/NOTUNIQUE, BY ITEM, FULL_TEXT, LSM_VECTOR).

Possible textual overlap: a parallel change for
#12028/#12029/#12030/#12033/#12034/#12037/#12040 edits
`LocalDocumentType` (schema DDL validation). This change touches only
`propagateSuperTypeIndexes` (one line) and the head of
`createSubIndexesFor`.

## Tests

New `SuperTypeSubtreeIndexPropagationTest` (engine, `TestHelper`), with
a subtree `A`, `X EXTENDS A`, `Y EXTENDS X`, 7 tests:

- UNIQUE index of `W`: covers `A`, `X`, `Y` (sub-indexes on all three
buckets, lookups find `X`'s and `Y`'s keys), duplicates into `X`, `Y`,
`A` refused, also after reopen;
- NOTUNIQUE index of a super type above `W` (`W EXTENDS V0`) covers `X`
and `Y`;
- UNIQUE clash between `Y` and `W`, and between `A` and `X`:
`DuplicatedKeyException`, `A` not a sub type of `W`, no sub-index of
`W[s]` left on any bucket of the subtree, also after reopen;
- BY ITEM, FULL_TEXT (including a record inserted into `X` after the
change) and LSM_VECTOR indexes return the records of every type of the
subtree.

- Failing first: with `engine/src/main` from `origin/main`, 7 of 7 fail.
With the fix: 7/7 pass.
-
`-Dtest='com/arcadedb/schema/**,*SuperType*,*Polymorphic*,*FullText*,*Vector*,*AlterType*,*Inherit*,*Unique*,*TypeIndex*'
-DexcludedGroups=slow,benchmark`: 3993 tests, 0 failures, 0 errors.

## End to end

`arcadedata/arcadedb:26.12.1-SNAPSHOT` container with this branch's
engine jar, the issue's steps over HTTP.

UNIQUE (`ALTER TYPE A SUPERTYPE +W`, `X EXTENDS A`):

| statement | main | this branch |
|---|---|---|
| `schema:indexes` | `A_0_...`, `W[s]`, `W_0_...` (nothing on `X_0`) |
`A_0_...`, `W[s]`, `W_0_...`, `X_0_...` (bucket 8) |
| ``SELECT key, rid FROM index:`W[s]` `` | `a1 #5:0`, `w1 #1:0` | `a1
#5:0`, `w1 #1:0`, `x1 #8:0` |
| `INSERT INTO X SET s = 'w1'` | 200 accepted | 409
`DuplicatedKeyException` |
| `INSERT INTO X SET s = 'x1'` | 200 accepted | 409
`DuplicatedKeyException` |
| `INSERT INTO A SET s = 'x1'` | 200 accepted | 409
`DuplicatedKeyException` |
| `SELECT s, count(*) FROM W GROUP BY s` | `a1 1`, `w1 2`, `x1 3` | `a1
1`, `w1 1`, `x1 1` |
| after a restart: `INSERT INTO X SET s = 'w1'` / ``REBUILD INDEX `W[s]`
`` | 200 accepted / 500 (as measured in the issue) | 409 / 200
(`totalIndexed: 3`) |

With `X` holding `w1` before the change, `ALTER TYPE A SUPERTYPE +W`
answers 409 `DuplicatedKeyException`, `A` has no super type afterwards
and `schema:indexes` lists only `W[s]` and `W_0_...`.

Records of `A` returned / expected (`ALTER TYPE W SUPERTYPE +A`, `X
EXTENDS W`, 10 records each):

| index on `A` | main | this branch |
|---|---|---|
| FULL_TEXT, `SEARCH_INDEX('A[t]', 'alpha')` | 4 / 6 (X 0/2) | 6 / 6 |
| LSM_VECTOR, `vectorNeighbors('A[v]', [0.5, 0.5], 100)` | 20 / 30 (X
0/10) | 30 / 30 |
| LSM_TREE NOTUNIQUE, `t = 'alpha'` | 6 / 6 | 6 / 6 |
| LSM_TREE BY ITEM, `tags CONTAINS 'alpha'` | 6 / 6 | 6 / 6 |

Fixes #12036

---------

Co-authored-by: lvca <l.garulli@arcadedata.com>
lvca added a commit that referenced this pull request Nov 23, 2026
… BY @Rid on MATCH rows answer 400 with their message, not 500 (#12447)

Fixes #12425.

## Cause

Four refusals of a caller's mistake reached the HTTP handler as
exceptions its classifier answers with 500:

| statement | thrown as | answered |
|---|---|---|
| `CREATE EDGE E FROM #5:0 TO #1:0` with a document RID as an endpoint |
`java.lang.ClassCastException` from the record cast
(`BaseRecord.asVertex`) | 500, raw Java class in the body |
| `CREATE EDGE E FROM (SELECT FROM Doc) TO (SELECT FROM V)` and the
reverse | `CommandExecutionException("Invalid vertex for edge creation:
...")` | 500 |
| `MATCH {rid: 'garbage', as: p} RETURN p` |
`CommandExecutionException("Cannot convert to RID: garbage")` | 500 |
| `MATCH {...} RETURN ... ORDER BY @rid` |
`CommandExecutionException("ORDER BY @Rid has no meaning ...")` | 500 |

The HTTP API reference lists 400 for a statement the server refuses to
run and reserves 500 for a failure of the server.
`CommandExecutionException` itself maps to 500 in
`AbstractServerHttpHandler`; its subclass `TypeMismatchException` and
`CommandParsingException` map to 400.

## Change

- `CreateEdgesStep.asVertex`: the three "not a vertex" exits throw
`TypeMismatchException` (a `CommandExecutionException` subclass, so
embedded callers that catch the parent still catch it). The
`ClassCastException` of the record cast is caught at that one conversion
and rethrown as `TypeMismatchException("Invalid vertex for edge
creation: Cannot cast the document #5:0 to a vertex")`, so no Java class
name reaches the client.
- `Rid.toRecordId`: the three "Cannot convert to RID" exits throw
`TypeMismatchException`.
- `MatchExecutionPlanner.checkOrderByRecordAttributes`: the refusal is a
`CommandSQLParsingException`, like the other planner-time refusals of a
statement's text. The message is unchanged.

Nothing is written by any of the four statements before or after.

## Behaviour change

The four statements answer HTTP 400 instead of 500, with the same
messages (the cast failure now carries the `Invalid vertex for edge
creation: ` prefix). The `ORDER BY @rid` refusal is now a
`CommandSQLParsingException` in embedded use;
`MatchPatternRegressionTest` asserted the old class and is updated to
the new one.

Not changed, and still 500 in the same statement family: `Invalid TO
vertex for edge` (a null endpoint), `Type 'X' is not an edge type`, and
the unidirectional-on-bidirectional refusal. Existing tests pin their
classes, and the issue does not list them.

## Tests

`Issue12425CallerMistakesInGraphStatementsAre400Test` (server module,
over HTTP):

| case | on origin/main engine sources | with the fix |
|---|---|---|
| document RID as an endpoint: 400, message, no Java class name, nothing
written | fails | passes |
| a query returning a document as either endpoint: 400, message, nothing
written | fails | passes |
| `MATCH {rid: 'garbage'}`: 400 with the message | fails | passes |
| `ORDER BY @rid` on MATCH rows: 400 with the message | fails | passes |
| a valid `CREATE EDGE` between two vertices still works | passes |
passes |

5 run, 0 skipped: 4 failures on origin/main engine sources, 0 with the
fix. Related engine classes (`MatchPatternRegressionTest`, the CREATE
EDGE, RID and `BasicGraphTest` classes): 215 run, 0 failed, 0 skipped.
`com/arcadedb/query/sql/**` and `com/arcadedb/graph/**` with
`-DexcludedGroups=slow,benchmark`: 6,641 run, 0 failures, 0 errors, 8
skipped.

## Bug prevention

- **Class:** a refusal of the caller's input raised as a type the HTTP
classifier answers with 500, or as a raw Java exception from an
unchecked cast.
- **How it happened:** the refusals were written as
`CommandExecutionException`, which is also what internal command
failures use; only a few subclasses are classified as client errors.
- **Why testing missed it:** the engine tests assert the exception type
and message, never the HTTP status.
- **Prevention check:** the test above asserts the status over HTTP.
- **Sibling sweep:** the other 500-for-caller-mistake sites in the same
statement family are listed above under "Not changed"; #12436 covers the
DDL statements.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved error reporting for invalid edge endpoints, malformed record
IDs, and unsupported `ORDER BY` attributes in `MATCH` queries.
* Invalid graph statements now return HTTP 400 responses, while valid
edge creation continues to succeed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: lvca <l.garulli@arcadedata.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants