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
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ The wait of a pull request is the longer of the `arcadedb-jvm` tests and the nat

A problem that only another platform, another Python or an example shows is found on `main` after the merge: the badges at the top of the README turn red, and the fix or the revert comes before the next release. A red full run on `main` or in the nightly runs also opens an issue, `Full CI is red on main: <workflow name>` (`report-red-main.yml`): one issue for each test workflow, a later red run adds a comment to it, a green run adds "Green again", and a person closes it. A known flaky failure goes under its own issue, such as #409 for the vector read-your-writes race, and the issue of the run is closed as a duplicate. [Continuous integration](docs/modules/ROOT/pages/development/ci.adoc) lists the legs of each event.

Windows is a lower priority than Linux and macOS. If a Windows job still fails after a rerun, fix it if that is cheap. Otherwise mark the test as expected to fail on Windows, link an issue, and release. Wrong results and data loss block a release on every platform.

A commit message starts with a short subject that says what changes and where, for example `Native find_nearest: send the query vector as one float32 array, not a Python list`. The body says why. Link the issue with `Closes #N` in the pull request.

### Performance changes
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/development/ci.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ A pull request runs the legs of a push to `main` when it carries the label `ci:f

The nightly runs start between 03:00 and 04:00 UTC, when the shared runners are least busy (issue 442 has the measurement of the queue for each hour).

A problem that only another platform, another Python or an example shows is found on `main`, after the merge, or in the nightly run. The badges of `test-jvm.yml`, `test-native.yml` and `test-python-examples.yml` at the top of the README show the last run of each workflow on `main`, GitHub sends a mail to the person who merged, and `report-red-main.yml` opens or updates an issue. Fix or revert before the next release. The release workflows run the full matrix again and publish nothing when a leg is red.
A problem that only another platform, another Python or an example shows is found on `main`, after the merge, or in the nightly run. The badges of `test-jvm.yml`, `test-native.yml` and `test-python-examples.yml` at the top of the README show the last run of each workflow on `main`, GitHub sends a mail to the person who merged, and `report-red-main.yml` opens or updates an issue. Fix or revert before the next release. A Windows job that still fails after a rerun has one more option, an expected failure with an issue, as https://github.com/ArcadeData/arcadedb-python/blob/main/CONTRIBUTING.md#what-ci-runs[CONTRIBUTING] says. The release workflows run the full matrix again and publish nothing when a leg is red.

The summary jobs (`Test Summary`, `Examples Test Summary`, `Examples summary`) check the legs that a run of the full tier started: a leg that failed or was cancelled makes them red. A leg that the tier does not start is not in the run, so nothing waits for it. A pull request of the fast tier shows the three as skipped, and also the job `Report parity crashes`: each would wait for a runner of its own after the last leg, and every leg is a check of the pull request already. `Test Summary` runs in the fast tier too when the first job of its workflow failed.

Expand Down
Loading