Fix action-related deprecation warnings during tests.
Review Request #14712 — Created Nov. 28, 2025 and updated
Previous changes for the actions rework introduced new deprecations.
This change modernizes some of our remaining actions in unit tests in
order to avoid some of them, and catches the rest where appropriate.It also fixes a bug in
ActionPlacement.depththat hits a deprecated
code path by checking the action's legacydepthproperty and not the
ActionPlacement.depth.
All unit tests pass.
Verified that there are no longer any deprecations from action code.
| Summary | ID |
|---|---|
| 38f0626f9443541102e58bec5d67d292d6d8bd9f |
| Description | From | Last Updated |
|---|---|---|
|
line too long (96 > 79 characters) Column: 80 Error code: E501 |
|
|
|
'reviewboard.deprecation.RemovedInReviewBoard90Warning' imported but unused Column: 1 Error code: F401 |
|
|
|
'reviewboard.deprecation.RemovedInReviewBoard90Warning' imported but unused Column: 1 Error code: F401 |
|
- Change Summary:
-
Removed an unused import.
- Commits:
-
Summary ID 1ae7eff2743f190b4ea48347685660fcae692a28 96b65aedfa0d7848d76d2f7d57438cb59846ed57 - Diff:
-
Revision 2 (+356 -114)
- Change Summary:
-
Removed another unused import.
- Commits:
-
Summary ID 96b65aedfa0d7848d76d2f7d57438cb59846ed57 f312791104a4c3f85a7ed64c01508d4a0860ed18 - Diff:
-
Revision 3 (+354 -114)
Checks run (2 succeeded)
- Summary:
-
Update remaining actions and fix warnings during tests.Fix action-related deprecation warnings during tests.
- Description:
-
Previous changes for the actions rework introduced new deprecations.
~ This change modernizes some of our remaining actions, both in production ~ code and unit tests, in order to avoid some of them, and catches the ~ This change modernizes some of our remaining actions in unit tests in ~ order to avoid some of them, and catches the rest where appropriate. - rest where appropriate It also fixes a bug in
ActionPlacement.depththat hits a deprecatedcode path by checking the action's legacy depthproperty and not theActionPlacement.depth. - Commits:
-
Summary ID f312791104a4c3f85a7ed64c01508d4a0860ed18 38f0626f9443541102e58bec5d67d292d6d8bd9f