Skip to content

Commit fbe7724

Browse files
authored
CONTRIBUTING: say what to do when a Windows job still fails after a rerun (#533)
* CONTRIBUTING: say what to do when a Windows job still fails after a rerun Windows is a lower priority than Linux and macOS. The page said that a platform failure is fixed or reverted before the next release, and nothing about a Windows job that keeps failing. Refs #532. * docs: the CI page points to the Windows rule of CONTRIBUTING It said fix or revert before the next release, with no word on a Windows job that still fails after a rerun. Refs #532.
1 parent d5c2bc3 commit fbe7724

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ The wait of a pull request is the longer of the `arcadedb-jvm` tests and the nat
154154

155155
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.
156156

157+
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.
158+
157159
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.
158160

159161
### Performance changes

‎docs/modules/ROOT/pages/development/ci.adoc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ A pull request runs the legs of a push to `main` when it carries the label `ci:f
3333

3434
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).
3535

36-
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.
36+
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.
3737

3838
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.
3939

0 commit comments

Comments
 (0)