-
Notifications
You must be signed in to change notification settings - Fork 52
ci: add a backward compatibility checks to the end-to-end runner #2816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
990c59c
e0faaf3
d418db9
db0deb0
0fe5efe
44a8c38
a583cf0
5ef75f3
cd0818a
9e325a2
e9b5f16
e741890
0b46ba4
bf3f64b
1d65b16
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,68 @@ | ||||||||||
| # Backward compatibility | ||||||||||
|
|
||||||||||
| The end-to-end tests scenarios are backward compatible with previous nodes versions. | ||||||||||
|
|
||||||||||
| This is achieved by differentiating the scenarios based on the version of the nodes they are testing. | ||||||||||
|
|
||||||||||
| There are multiple ways to do this: | ||||||||||
|
|
||||||||||
| - disabling part of the scenarios | ||||||||||
| - adding or removing arguments to the binaries (i.e. `--backend` flag for the client-cli) | ||||||||||
|
|
||||||||||
| > [!TIP] | ||||||||||
| > Node versions and distribution versions below are the ones that first included the changes, has node versions evolve | ||||||||||
| > faster than distribution versions the actual node version included in the distribution may be higher. | ||||||||||
|
Comment on lines
+13
to
+14
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| > | ||||||||||
| > i.e. `--origin-tag` flag for the client-cli was introduced in version `0.11.13`, the first distribution that included | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| > that change is `2517.0`, which include client-cli `0.12.0`. | ||||||||||
|
|
||||||||||
| --- | ||||||||||
|
|
||||||||||
| ## Supported changes | ||||||||||
|
|
||||||||||
| List of breaking changes that are supported by the end-to-end tests. | ||||||||||
|
|
||||||||||
| format is: `- since 'X.Y.Z' (distribution version) [to 'X.Y.Z' (distribution version) (optional)]: supported change` | ||||||||||
|
|
||||||||||
| ### Mithril client | ||||||||||
|
|
||||||||||
| - since `0.12.34` (2543.0): test of new `--epoch` filter to `cardano-db list` (disabled on lower versions) | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will make the lists a bit more readable:
Suggested change
|
||||||||||
| - since `0.12.11` (2524.0): removal of `cardano-db-v2` replaced with `cardano-db [command] --backend [v1,v2]` | ||||||||||
| - since `0.11.14` (2517.0): addition of `--include-ancillary` flag to `cardano-db download` | ||||||||||
| - since `0.11.13` (2517.0): addition of global `--origin-tag` parameter | ||||||||||
|
|
||||||||||
| ### Mithril aggregator | ||||||||||
|
|
||||||||||
| - since `0.7.94` (next to 2543.1): only the leader aggregator must be restarted when updating protocol parameters | ||||||||||
|
|
||||||||||
| ### Mithril signer | ||||||||||
|
|
||||||||||
| --- | ||||||||||
|
|
||||||||||
| ## Not supported changes | ||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| List of breaking changes that are NOT supported by the end-to-end tests, running a node with those versions against | ||||||||||
| `unstable` will result in an error and an exit code of `3`. | ||||||||||
|
Comment on lines
+44
to
+45
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| format is: | ||||||||||
|
|
||||||||||
| - for an incompatibility of a node below a specific version: | ||||||||||
| `- 'min supported version is 'X.Y.Z' (distribution version): explanatory message` | ||||||||||
| - for an incompatibility between two nodes: | ||||||||||
| `- below 'X.Y.Z' (distribution version) with {other node} `X.Y.Z` (other distribution version) and up: explanatory message` | ||||||||||
|
|
||||||||||
| ### Mithril client | ||||||||||
|
|
||||||||||
| - below `0.11.14` (2517.0) with aggregator `0.7.31` (2517.0) and up: split ancillary files are not correctly supported | ||||||||||
| for older clients, causing the verification to fail because the incomplete immutable files trio is missing. | ||||||||||
|
|
||||||||||
| ### Mithril aggregator | ||||||||||
|
|
||||||||||
| - below `0.7.91` (next to 2543.1) with signer `0.2.277` (next to 2543.1) and up: new `/protocol-configuration/{epoch}`aggregator | ||||||||||
| route to update network parameters (required by signer`0.2.277` and up) | ||||||||||
| - below `0.7.55` (2524.0) with cardano-node version `10.4.1` and up: support of UTxO-HD was added only on aggregator `0.7.55` and up | ||||||||||
|
|
||||||||||
| ### Mithril signer | ||||||||||
|
|
||||||||||
| - min supported version is `0.2.221` (2450.0): addition of the `CardanoDatabase` signed entity type, previous signers | ||||||||||
| are not able to handle unknown signed entities | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.