code change · fixPlatform, DevOps & Performanceofficial - Microsoftreviewed - checked by Opus

#2378 Retry CI/CD baseline discovery when no eligible run is found

AL-Go now retries CI/CD baseline discovery up to three times when the GitHub workflow-runs API returns incomplete results, with backoff pauses between attempts and pagination resets to avoid missing eligible baselines.

Pull request · merged into main on 2026-09-29 by aholstrup1 · 3 files (+139 -28), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Discovery retries up to three times with 5 and 10 second waits between unsuccessful passes
  • Pagination resets to page 1 on each retry attempt
  • Preserves existing criteria for accepting successful and non-cancelled runs with successful build jobs
  • Adds diagnostic logging of attempt counts, page numbers, and URL-encoded filter values
  • Includes comprehensive test coverage for success, exhaustion, pagination, and query encoding
  • Behaviour changes for users or extensions.

AL objects touched

  • Actions/Github-Helper.psm1: modified, not in the BC? snapshot

Context

  • Work items: AB#650804
  • Systems: platform
  • From the description: “Attempt discovery up to three times, waiting 5 and 10 seconds between unsuccessful passes and restarting pagination at page 1.”

Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).