Skip to content

Update Azure DevOps Health Monitoring Scripts for Timeout Adjustments and Documentation Enhancements#627

Merged
stewartshea merged 1 commit intorunwhen-contrib:mainfrom
stewartshea:updates/030426-03
Mar 5, 2026
Merged

Update Azure DevOps Health Monitoring Scripts for Timeout Adjustments and Documentation Enhancements#627
stewartshea merged 1 commit intorunwhen-contrib:mainfrom
stewartshea:updates/030426-03

Conversation

@stewartshea
Copy link
Contributor

@stewartshea stewartshea commented Mar 5, 2026

  • Reduced the command timeout from 60 seconds to 30 seconds in the _az_helpers.sh script to improve responsiveness.
  • Enhanced the preflight-check.sh script documentation to clarify the purpose of the preflight checks and the output structure, including group memberships and role summaries.
  • Increased the timeout for the preflight check runbook from 120 seconds to 180 seconds to accommodate longer execution times for API calls.

Note

Medium Risk
Changes the preflight’s core verification mechanism and relies on Graph/connectionData endpoints and token/PAT scopes, which may alter results or fail in environments without those permissions.

Overview
Reworks preflight-check.sh from “probe a few az CLI calls” into a REST-based permission report that fetches the authenticated user via connectionData, enumerates Graph group memberships, and derives org/project role summaries, writing these new fields to preflight_results.json.

Tightens az_with_retry per-command timeout default from 60s to 30s in _az_helpers.sh, and increases the runbook’s preflight-check.sh execution timeout from 120s to 180s to account for the additional API calls.

Written by Cursor Bugbot for commit a87ed25. This will update automatically on new commits. Configure here.

… and Documentation Enhancements

- Reduced the command timeout from 60 seconds to 30 seconds in the `_az_helpers.sh` script to improve responsiveness.
- Enhanced the `preflight-check.sh` script documentation to clarify the purpose of the preflight checks and the output structure, including group memberships and role summaries.
- Increased the timeout for the preflight check runbook from 120 seconds to 180 seconds to accommodate longer execution times for API calls.
@stewartshea stewartshea requested a review from a team as a code owner March 5, 2026 22:50
@stewartshea stewartshea merged commit fd6a030 into runwhen-contrib:main Mar 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant