aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github.cxx
AgeCommit message (Collapse)AuthorFilesLines
4 daysReview 2check-suite-node-idBoris Kolpackov1-19/+46
4 daysci-github: Re-request check suite on internal CI cancellationFrancois Kritzinger1-2/+78
4 daysci-github: Get check suite id when creating check run and save in service dataFrancois Kritzinger1-13/+17
5 daysSketchBoris Kolpackov1-0/+4
6 daysci-github: Fail if no accurate list of check runs in build_built()Boris Kolpackov1-0/+15
7 daysSleep for some short period of time before retrying after odb::recoverable ↵Karen Arutyunov1-11/+12
exception Also increase the default maximum number of retries for configuration to 20 from 10.
7 daysAutomatically increase build queued timeout for big number of builds in ↵Karen Arutyunov1-2/+4
'queued' notifications Note that this commit changes the semantics of the tenant::queued_timestamp member. Previously it was set to the time when the build objects are turned into the queued state. Now it is set to the time when the queued notification for them is assumed to be delivered to the third party service.
10 daysci-github: Don't warn on expected check run rebuildsFrancois Kritzinger1-1/+5
11 daysci-github: Create check runs in batchesBoris Kolpackov1-2/+2
Doing too many at a time increases the odds of getting a HTTP 502 (bad gateway) response from GitHub and it also decreases the odds of all check runs getting created if we do end up getting a 502 response.
11 daysci-github: Reorder app_id argumentsFrancois Kritzinger1-5/+5
11 daysci-github: Handle HTTP 502 (bad gateway) when creating check runsBoris Kolpackov1-5/+16
Do so by fetching latest check runs from GitHub and failing if they're not all there.
11 daysci-github: Store App id as uint64_tFrancois Kritzinger1-5/+14
2025-02-07ci-github: ignore interrupts in build_building() notificationBoris Kolpackov1-2/+9
2025-01-27ci-github: Handle (ignore) Marketplace and installation eventsFrancois Kritzinger1-0/+25
2025-01-27ci-github: Update queued and building check run descriptionsFrancois Kritzinger1-44/+63
2025-01-22ci-github: Handle check suite completion in build_completed()Francois Kritzinger1-181/+204
2025-01-22Add support for tenant_service_build_built::build_completed() notificationBoris Kolpackov1-5/+8
2025-01-20Fix warningsBoris Kolpackov1-1/+8
2025-01-20ci-github: Use error colored circle with warning if warning=failureFrancois Kritzinger1-1/+7
2025-01-20ci-github: Add success/warn/fail counts to conclusion check runFrancois Kritzinger1-2/+69
2025-01-20ci-github: url-encode package version in details URLFrancois Kritzinger1-2/+2
2025-01-20ci-github: Remove details_url argument from gq_update_check_run()Francois Kritzinger1-9/+0
We now always set details_url upon creation and it never needs to be updated again.
2025-01-20ci-github: Set check run details_url sooner, when enqueuedFrancois Kritzinger1-2/+2
2025-01-20ci-github: Add output, details_url to building conclusion check runFrancois Kritzinger1-6/+18
2025-01-20ci-github: Check run details_url related updates/fixesFrancois Kritzinger1-7/+26
- Add details_url() overload which returns URL for tenant - Add brep-root path to details_url - Parse brep-root path in check_run details_url
2025-01-15ci-github: Trim leading/trailing whitespaces in webhook secretBoris Kolpackov1-1/+4
2025-01-15ci-github: Store webhook secret in a fileFrancois Kritzinger1-6/+36
Keep secrets out of the configuration file for the sake of security.
2025-01-06Make buildable with GCC 8.3Karen Arutyunov1-5/+8
2025-01-06ci-github: Address issues found during testingFrancois Kritzinger1-376/+385
- Update CRs if rebuilding CR of archived tenant Was re-creating them before despite both node ids being available. - handle_check_run_rerequest(): get IAT earlier - Rearrange order of functions
2024-12-17ci-github: Handle forced pushes and branch deletionsFrancois Kritzinger1-30/+174
Cancel CI of the previous head commit in the case of overwritten or deleted history. In the process, move branch push handling from handle_check_suite_request() to handle_branch_push() because GitHub sends a push event instead of a check_suite when a new branch is created so tenant reference counting would not work otherwise.
2024-12-12ci-github: Fix commentsFrancois Kritzinger1-5/+6
2024-12-10Support multiple GitHub app instancesBoris Kolpackov1-29/+84
2024-12-10Handle completed check_suite webhook eventsFrancois Kritzinger1-2/+103
2024-12-10Handle replaced tenants and clean up code/commentsFrancois Kritzinger1-66/+77
2024-12-10Add tenant id to tenant service notifications and callbacksBoris Kolpackov1-22/+35
2024-12-10Ensure all exceptions are handled in build_*() notificationsBoris Kolpackov1-367/+230
2024-12-10Review exceptions thrown by github-ci API functionsFrancois Kritzinger1-2/+4
2024-12-10Handle close/reopen PR actionsBoris Kolpackov1-5/+16
2024-12-10Handle rest of pull_request actionsBoris Kolpackov1-30/+52
2024-12-10Remote PRs: cancel previous PR head commit CIBoris Kolpackov1-13/+50
2024-12-10Add support for tenant service reference countBoris Kolpackov1-1/+1
2024-12-10Handle re-runs of single check runsFrancois Kritzinger1-20/+991
2024-12-10Retry database operations on recoverable failures in ci_start class functionsKaren Arutyunov1-5/+7
2024-12-10Update comments, clean up and fix codeFrancois Kritzinger1-155/+49
2024-12-10Implement build_unloaded_pre_check() and build_unloaded_load()Francois Kritzinger1-278/+232
2024-12-10Handle check suite rebuilds (all checks) on a commit and/or PRFrancois Kritzinger1-12/+71
2024-12-10handle_pull_request(): Create pre-check CI requestFrancois Kritzinger1-44/+62
2024-12-10Implement CI common API changesKaren Arutyunov1-4/+3
2024-12-10handle_check_suite_request(): create unloaded CI requestFrancois Kritzinger1-172/+58
2024-12-10Plan and prepare for upcoming restructuringBoris Kolpackov1-30/+135