Skip to content

Error codes: ReadOnlyScope$WriteRefusedException gets query_not_idempotent - #572

Merged
tae898 merged 1 commit into
mainfrom
fix/507-writerefused
Dec 3, 2026
Merged

tae898 merged 1 commit into
mainfrom
fix/507-writerefused

Conversation

@tae898

@tae898 tae898 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

The engine snapshot in the CI wheel has a new class, com.arcadedb.database.ReadOnlyScope$WriteRefusedException, a subclass of QueryNotIdempotentException. The test that asks for a decision on every subclass of a listed class (added in #544) was red on it. The class now gets the code query_not_idempotent and the same hint, with a row in how-to/errors.adoc and one row in the table test.

Related issues

Refs #507 (closed by #544).

Performance changes

None.

Docs

how-to/errors.adoc: the class is named in the query_not_idempotent row.

Checklist

  • A regression test fails on the old code and passes on the new (test_every_subclass_of_a_listed_class_has_a_decision failed on the CI-built wheel of main; 175 passed in the three error-code files after the change)
  • The test suite that the change can affect passes (see the checks)
  • uvx pre-commit run --files <changed files> passes

…NotIdempotentException in the engine snapshot) gets query_not_idempotent; the decision test of #544 was red on the CI wheel without it
@tae898
tae898 merged commit caa12bd into main Dec 3, 2026
26 checks passed
@tae898
tae898 deleted the fix/507-writerefused branch December 3, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant