Skip to content

Release day: preflight, engine bump and native after-tag verification as scripts #208

Closed

Description

@tae898

Release day of arcadedb-jvm and native arcadedb is a list of manual checks and hand edits spread over release.adoc, check_version.py, after_tag_verify.sh and four engine pins in three files. When an upstream ArcadeDB release such as 26.11.1 appears, everything except the owner's tag push should be a script run.

What is missing today:

  • No single check that the upstream release, both channels the builds read from (Maven Central for the native build, the Docker Hub image for the JVM wheels), the version rule, and the latest Test native and Test JVM runs on main are all ready before the tag is pushed. The two channels can lag each other.
  • The dev-build engine is pinned in four places (DEV_ENGINE and DEFAULT_VERSION in test-native.yml, arcadedb.version in native/pom.xml, the default of native/scripts/build-image.sh) and is moved by hand after each release.
  • scripts/after_tag_verify.sh verifies only the arcadedb-jvm release.
  • release.adoc has no ordered "release day" procedure that says which step is a script, which is CI and which is the owner's decision.

Proposed, in one PR:

  1. scripts/release_preflight.py VERSION: read-only, prints PASS, FAIL or SKIP with the evidence for each check, exit code is the number of FAILs, fails closed on network errors.
  2. scripts/bump_engine.py --engine NEW --dev-version NEXT [--check]: exact-anchor edit of the four pins, refuses a NEXT that check_version.py would refuse.
  3. after_tag_verify.sh covers the native release too (PACKAGE=native).
  4. A numbered "Release day" section in release.adoc, including the notices regeneration that the engine bump needs.

Unit tests with mocked HTTP and subprocess for the first two.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions