Skip to content

ci: report weekly what changed in the upstream engine - #502

Merged
tae898 merged 1 commit into
mainfrom
ci/engine-change-watch
Nov 27, 2026
Merged

tae898 merged 1 commit into
mainfrom
ci/engine-change-watch

Conversation

@tae898

@tae898 tae898 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Adds a weekly job that says 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 on Monday at 05:23 UTC, on the other days only when upstream published a release in the last 48 hours (a release of another repository cannot start a workflow), and by hand. It uses no LLM API: git, gh api, and one standard-library script, scripts/engine_watch.py.

How it behaves:

  • It reports public methods, constructors, enum constants, and nested types added, removed, changed, or deprecated in the classes the bindings wrap; GlobalConfiguration settings; index types; SQL statements, keywords, functions, and methods. Each line has 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.
  • 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, their supertypes, and the engine types returned by methods under names the bindings call).
  • The last reviewed engine commit is a hidden comment in the issue. Closing the issue marks its newest engine commit as reviewed. While it is open, a run rewrites the text and comments when there is something new. Only issues written by github-actions[bot] are read. Before the first issue it starts at 4a91847a1 (2026-11-06, the newest upstream commit before the engine snapshot that scripts/dev_engine_pin.json names).
  • When nothing relevant changed, nothing is written.
  • Permissions are contents: read and issues: write, there is no pull request trigger, and the actions are pinned to the SHAs this repository already uses.
  • Upstream links go through redirect.github.com, so the issue leaves no "mentioned this" line on upstream pull requests.

What the first run would report

Dry run on my machine over 4a91847a1..c52a6723b (2026-11-06 to 2026-11-27): 879 upstream commits, 113 watched files, 124 findings.

Section Findings
Removed or changed in classes the bindings use 4
New in classes the bindings use (71 of them in implementation classes, collapsed) 109
Settings 10
Index types 0
SQL statements, keywords, functions, and methods 1
Findings checked by hand against the upstream diff
Finding Upstream Diff shows
LocalDocumentType.checkSuperTypeOfNewType takes a new byte PR 12063 the same
IndexBuilder.conflictWithExistingIndexName returns EquivalentIndexException PR 11454 the same
SQL keyword RETURNING PR 11454 the same
Schema.getFunction and getFunctionLibrary no longer declare throws IllegalArgumentException PR 12204 the same
TypeIndex.get(Object[], int, WorkGuard) PR 13381 the same
Exporter.setCompressionLevel and setCompressionThreads PR 11540 the same
New setting arcadedb.vectorIndex.maxDimensions, default 16384 PR 12833 the same
arcadedb.txWalFlush is now limited to 0 to 2 PR 12831 the same
No new index type, SQL function, or SQL method no change of INDEX_TYPE or of a register( line

I also compared the added and removed public lines of the textual diff of the watched files with the findings. The lines without a finding were renamed parameters, methods of anonymous or new nested classes, and an override of an interface method.

Over the longer range 26.10.1..c52a6723b the same script reports the COLUMNAR index type (PR 11340), the FACETS keyword (PR 11342), and the facet.searchValues function (PR 11344), which are changes the bindings did have to follow.

Limits

It does not see a change of behavior inside a method, openCypher, a wire protocol, or a class that the bindings do not reach. "Used" in the issue means only that the sources of the bindings hold that name. A long text is cut to GitHub's limit; the full text is in the job summary and in the run artifact.

Related issues

Closes #501

Docs

The docstring of the script and the header of the workflow describe the job and how to handle the issue. The CI docs page (development/ci.adoc) has no section for it yet.

Checklist

  • A regression test fails on the old code and passes on the new (new job; the tests in tests/test_engine_watch.py are new and run in CI, I did not run them locally)
  • The test suite that the change can affect passes (see the checks)
  • The pre-commit hooks that apply to the changed files pass (whitespace, end of file, YAML, black, isort, ruff, actionlint, old package name)

A weekly job (also after an upstream release, and by hand) compares the last reviewed commit of ArcadeData/arcadedb with the newest one and opens or updates one issue, "Engine changes to review". It reports differences of what the engine offers, not of how it is written: public methods, constructors, enum constants and nested types of the engine classes the bindings wrap (the list is derived from src/arcadedb, src/java and native/src on every run), settings, index types, SQL statements, keywords, functions and methods. Each finding names the upstream pull request or commit and the file.

The mark lives in the issue itself (a hidden comment), so the job needs no write access to the repository: closing the issue marks its newest engine commit as reviewed. Upstream links go through redirect.github.com so that the issue leaves no "mentioned this" line on upstream pull requests.

A release of another repository cannot start a workflow, so a daily run looks for a release of the last 48 hours. No model and no API key: git, gh api and one standard-library script.
@tae898 tae898 added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Nov 27, 2026
@tae898 tae898 self-assigned this Nov 27, 2026
@tae898
tae898 merged commit cfc21cb into main Nov 27, 2026
24 checks passed
@tae898
tae898 deleted the ci/engine-change-watch branch November 27, 2026 08:21
@github-actions github-actions Bot added this to the 26.12.1 milestone Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nothing tells me what changed in the upstream engine that the bindings may need to follow

1 participant