dmwm / WMCore

Core workflow management components for CMS.
Apache License 2.0
46 stars 107 forks source link

Exclude RequestStatus from the returned values of get_modifiable_properties #12108

Closed todor-ivanov closed 1 month ago

todor-ivanov commented 1 month ago

Fixes #12037

Status

Ready

Description

with the current change we remove the RequestStatus key from the returned values of get_modifiable_properties. this should avoid the conflict created between the set of values checked during the validation and the set of values supported in the WEB interface (the number of visualized keys in the web interface).

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

A Fix of a bug eventually introduced with: #12077

External dependencies / deployment changes

No

todor-ivanov commented 1 month ago

@amaltaro I think this may solve the probelm, but I still experience some issues with my dev cluster (communicated in the cmsweb channel), so I am not able to test it yet.

cmsdmwmbot commented 1 month ago

Jenkins results:

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/15227/artifact/artifacts/PullRequestReport.html

todor-ivanov commented 1 month ago

Hi @amaltaro I just tested the fix - it's doing the job properly. we can safely merge this one

amaltaro commented 1 month ago

@todor-ivanov it looks like we missed the the failing unit test:

    WMCore_t.ReqMgr_t.Utils_t.Validation_t.ValidationTests:testValidateRequestAllowedArgs changed from success to failure

Please provide a new PR with the relevant fix (fixing the original issue 12107).

todor-ivanov commented 1 month ago

This whole comment here was wrongly posted to the current PR. Now deleted and moved to: https://github.com/dmwm/WMCore/pull/12111#issuecomment-2375128323

todor-ivanov commented 1 month ago

This whole comment here was wrongly posted to the current PR. Now deleted and moved to: https://github.com/dmwm/WMCore/pull/12111#issuecomment-2375130867