Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions docs/modules/ROOT/pages/development/ci.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,23 @@ To close a release, close its milestone and open the next one with its due date:
The workflow `engine-watch.yml` reports what changed in the upstream engine (ArcadeData/arcadedb) that may need a change in the bindings, in one issue titled "Engine changes to review". It runs `scripts/engine_watch.py`, a script that needs only the standard library, git and `gh api`, and no LLM API.

* It runs on Monday at 05:23 UTC. On the other days it runs at the same time and does nothing unless upstream published a release in the last 48 hours (a release of another repository cannot start a workflow). It also runs by hand: with `dry_run` it writes nothing to GitHub and puts the full text into the job summary, and only such a run accepts `since` and `until` to choose the range.
* It reports public methods, constructors, enum constants and nested types that were added, removed, changed or deprecated in the classes the bindings wrap, `GlobalConfiguration` settings, index types, and SQL statements, keywords, functions and methods. Each line names the upstream pull request or commit and the file. Other merged pull requests that touched the same files are listed in a collapsed block and never open an issue on their own.
* It reports public methods, constructors, enum constants and nested types that were added, removed, changed or deprecated in the classes the bindings wrap, `GlobalConfiguration` settings, index types, and SQL statements, keywords, functions and methods. Each line names the upstream pull request or commit and the file.
* It also lists two sets of upstream commits of the range, each commit with its pull request (or the commit alone when it has none), newest first. The first holds every commit whose subject starts with `feat`, whatever it touched, so a feature in a new class or in a module the scan does not read still has a line. The second holds every commit whose subject starts with `fix` and that changed a watched file of a class the bindings use, because a fix can change behavior and keep every signature. Only the start of the subject decides: a commit that starts with another word, such as `perf`, `refactor` or `Merge pull request`, is in neither list.
* Other merged pull requests that touched watched files, without a finding and in neither list, are in a collapsed block.
* A new method has a row of its own only when it is abstract and on an interface the bindings implement, or on a class they name. All other new methods are one count.
* One section lists new and removed exception classes below a class that `exceptions.py` names, or below `NeedRetryException`.
* It also reports an engine class that is gone and that the native image configuration (`reachability-metadata.json` and the `.properties` files) names.
* The column "Used" means only that the sources of the bindings hold the name, so check it before you rely on it. For a method, the class (or a type below it) and the method name must both match.
* The list of wrapped classes is derived from the sources on every run: `JClass`, `JImplements` and `JPackage` in `src/arcadedb`, the imports and full names in `src/java` and `native/src/main/java`, their supertypes, and the engine types returned by methods under names the bindings call.
* The mark, the last reviewed engine commit, is a hidden comment in the issue, so nothing is committed to the repository. Only issues written by `github-actions[bot]` are read. Before the first issue the scan starts at `4a91847a1` (2026-11-06).
* When nothing relevant changed, nothing is written.
* It does not see a change of behavior inside a method, openCypher, a wire protocol, or a class that the bindings do not reach.
* When nothing relevant changed, nothing is written. Relevant means a finding or a `feat` commit, so a new feature is never silent: one `feat` commit is enough to open the issue. `fix` commits and the other pull requests alone are not relevant, because upstream merges fixes all the time. They are not lost: the mark stays where it is, and the next report that is written holds them. While the issue is open, new `fix` commits rewrite its text without a comment.
* The comparison of signatures does not see a change of behavior inside a method, openCypher, a wire protocol, or a class that the bindings do not reach. The two lists of commits are the only trace of such a change, as far as the commit subjects tell.
* It holds `contents: read` and `issues: write` only, has no pull request trigger, and reads the engine without building or running it. Upstream links go through `redirect.github.com`, so the issue leaves no "mentioned this" line on upstream pull requests.
* An issue text that is too long for GitHub is cut. The full text is in the job summary and in the run artifact `engine-watch-report`, which is kept for 30 days.
* An issue text that is too long for GitHub is cut: first the other pull requests, then the list of `fix` commits, then the rows of the tables, and the list of `feat` commits last. Each cut says how many lines it left out. The full text is in the job summary and in the run artifact `engine-watch-report`, which is kept for 30 days.

To handle the issue, decide for each line whether the bindings need a change, open an issue for each one that does, then close the issue. Closing it marks its newest engine commit as reviewed, and the next run starts there. While it stays open, a run rewrites its text with everything since the mark and adds a comment when there is something new. Do not edit the hidden comment.
To handle the issue, decide for each line of the tables and of the two lists of commits whether the bindings need a change, open an issue for each one that does, then close the issue. Closing it marks its newest engine commit as reviewed, and the next run starts there. While it stays open, a run rewrites its text with everything since the mark and adds a comment when there is a new finding or `feat` commit. Do not edit the hidden comment.

At each upstream release, a person or a session reads the two lists of commits and the https://github.com/ArcadeData/arcadedb/releases[release notes] of that release, and opens an issue for each feature or change of behavior that the bindings should follow. The lists cover only what came after the mark, so read the ones in the issues of this workflow that were closed since the previous release too. When a list was cut, read the full text in the run that the cut line links to. After 30 days a dry run over the same range (`since` and `until`) makes it again.

== Native build

Expand Down
Loading
Loading