diff options
| author | Alexander Potapenko <glider@google.com> | 2026-03-05 16:14:45 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2026-03-06 09:01:28 +0000 |
| commit | 41d8037d336239d16aac70cd8cd917b77068d00b (patch) | |
| tree | 31303b2368d085d2571159e8bf64f2f0831e629c /pkg/instance/execprog.go | |
| parent | 62866b74f53bbb274f51208289931db87b2af241 (diff) | |
dashboard/app: add admin action to force commit info update
Add the 'force_commit_info_update' action to the /admin handler to
retroactively extract AuthorName for historical bugs. Since AuthorName is a
recently introduced field, existing bugs in the Datastore only have the
legacy Author string.
Iterating over all bugs with fixing commits and setting NeedCommitInfo=true
ensures that they are surfaced in the CommitPoll endpoint. This forces
syz-ci to re-fetch their commit metadata and push the fully populated
CommitInfo struct (including the correct AuthorName) back to the dashboard
via UploadCommits.
The action includes an optional ?limit=X parameter to allow safely
batching the Datastore updates and syz-ci polling without causing massive
request spikes or transaction timeouts.
Diffstat (limited to 'pkg/instance/execprog.go')
0 files changed, 0 insertions, 0 deletions
