Page MenuHomePhabricator

[Traffic limit exception] TK API responses include the traffic limit exception when registered and active
Closed, ResolvedPublic2 Estimated Story Points

Description

Description

Once a traffic limit exception has been registered in Test Kitchen UI for some specific experiment, that value will be the one Test Kitchen API will include in their responses for that experiment (for both default and varnish endpoints).

Acceptance criteria

  • If there is a traffic limit exception for a logged-in experiment, Test Kitchen API includes that value as sample_rate for the default endpoint (/api/v1/experiments)
  • If there is a traffic limit exception for an everyone experiment, Test Kitchen API uses that value to calculate the bin range for the varnish endpoint (/api/v1/experiments?format=config&authority=varnish)
  • The traffic limit exception is only applied when active

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Apply active traffic limit exceptionsrepos/data-engineering/test-kitchen!373phuedxwork/phuedx/T432309main
Customize query in GitLab

Event Timeline

KReid-WMF set the point value for this task to 2.

Change #1319178 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[operations/deployment-charts@master] Test Kitchen UI: Deploy v1.5.0 release to staging

https://gerrit.wikimedia.org/r/1319178

Change #1319178 merged by jenkins-bot:

[operations/deployment-charts@master] Test Kitchen UI: Deploy v1.5.0 release to staging

https://gerrit.wikimedia.org/r/1319178

Change #1321827 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[operations/deployment-charts@master] Test Kitchen UI: Deploy v1.5.2 release to production

https://gerrit.wikimedia.org/r/1321827

Change #1321827 merged by jenkins-bot:

[operations/deployment-charts@master] Test Kitchen UI: Deploy v1.5.2 release to production

https://gerrit.wikimedia.org/r/1321827