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

Create a new scheduled task to check security review launch bug statuses #4737

Open
DanielRyanSmith opened this issue Jan 27, 2025 · 0 comments

Comments

@DanielRyanSmith
Copy link
Collaborator

DanielRyanSmith commented Jan 27, 2025

This is part of the work for integrating ChromeStatus with IssueTracker API in order to create and reference security review bugs. A new scheduled task should be created to periodically check the status of security review launch bugs that are associated with features and update the security gates associated with those features based on the approval status.

To maintain review approval status in ChromeStatus, existing launch bugs can be monitored using a scheduled task system, in which a periodic request is sent from ChromeStatus to a new OT API endpoint, TrialsIntegration.BatchGetLaunchBugStatus (this request is planned for running on a 2-hour interval (*), but can be adjusted as needed during implementation). For launch bugs that are marked as “Approved” and are associated with features that have not been updated in the past 14 days, the periodic bug update can occur on a less frequent interval (this request is planned for running on a 7-day interval (*), but can be adjusted as needed during implementation). The request contains a list of launch bug IDs that require an update check. The endpoint will obtain relevant bug information (specifically status) using IssueTracker.BatchGetIssues. The status for each given launch bug ID will be returned in the response to ChromeStatus. This status will be used to update the “WP Security” gate states for each stage.

(*) Request intervals can be updated as needed if it positively affects usability and efficiency.

Approval state mapping

Launch bug status ChromeStatus gate status
New No Response
Assigned Review Started
In Progress (Accepted) Review Started
Fixed (all variations) Approved
Won’t Fix (all variations) Denied
Duplicate (Take action to find a valid launch bug)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant