Skip to content
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

Deprecate action details #15794

Merged
merged 8 commits into from Mar 22, 2024
Merged

Conversation

ncounter
Copy link
Contributor

@ncounter ncounter commented Mar 14, 2024

Depends on

webui_actions and action_details are old fashioned functions they return Hash {} objects
The object is a core typified one of the app, which is a BsRequestAction.

This PR forks the code-path differenciating the Beta version from the old one where the first one benefits of the BsRequestAction object with all its methods to retrieve all the properties at the time of the need, the former one still uses the old fashioned functions instead.

For now the old stack is just deprecated by a comment. Once Beta version will be rolled out, those deprecated functions can be dropped.

Review:

Commit-by-commit is suggested

@github-actions github-actions bot added the Frontend Things related to the OBS RoR app label Mar 14, 2024
@ncounter ncounter force-pushed the deprecate-action-details branch 9 times, most recently from 830b46a to 9113b59 Compare March 15, 2024 09:07
@ncounter ncounter force-pushed the deprecate-action-details branch 3 times, most recently from f2f5bf5 to 6c4ed21 Compare March 15, 2024 09:37
@ncounter ncounter marked this pull request as ready for review March 15, 2024 09:41
@ncounter ncounter force-pushed the deprecate-action-details branch 6 times, most recently from a1a3486 to 5bcec07 Compare March 15, 2024 12:07
@ncounter ncounter force-pushed the deprecate-action-details branch 2 times, most recently from 6926e41 to 1694a06 Compare March 15, 2024 14:01
@ncounter ncounter force-pushed the deprecate-action-details branch 10 times, most recently from 2920bb8 to 5bec028 Compare March 19, 2024 21:52
@ncounter ncounter force-pushed the deprecate-action-details branch 2 times, most recently from a4770f4 to dd5f1f1 Compare March 20, 2024 13:57
DEPRECATING webui_action and action_details:
For request_workflow_redesign beta feature stop using hash,
use the BsRequestAction object instead: it implements all the methods
to return the requested information.

This is not aiming to touch the non-beta codepath, after the rollout those
methods will be dropped instead.
@ncounter ncounter force-pushed the deprecate-action-details branch 2 times, most recently from 7073716 to 224146a Compare March 22, 2024 09:12
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 25.00000% with 60 lines in your changes are missing coverage. Please review.

Project coverage is 85.98%. Comparing base (3a1f800) to head (60cb334).
Report is 9 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15794      +/-   ##
==========================================
- Coverage   86.09%   85.98%   -0.11%     
==========================================
  Files         794      794              
  Lines       26032    26078      +46     
==========================================
+ Hits        22411    22424      +13     
- Misses       3621     3654      +33     

@ncounter ncounter merged commit 9218201 into openSUSE:master Mar 22, 2024
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app Test Suite / CI 💉 Things related to our tests/CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants