gh-gei icon indicating copy to clipboard operation
gh-gei copied to clipboard

Harder pipeline rewire monitoring and error handling

Open georgy-gorelko opened this issue 3 weeks ago • 2 comments

  • Fixed branch policy check for pipelines with prefixed repository names to use repository ID directly when available, preventing 404 errors during rewiring
  • Skip branch policy checks for disabled repositories with a warning instead of attempting API calls that may fail
  • Skip pipeline rewiring entirely for disabled repositories, exiting early with an appropriate warning message
  • Fixed misleading success message that appeared even when pipeline rewiring was skipped for disabled repositories
  • Fixed monitor timeout minutes to only display when --dry-run mode is enabled, reducing confusion during regular pipeline rewiring operations
  • Check if pipeline is disabled before attempting to queue a test build, preventing 400 Bad Request errors and providing clear warning messages

georgy-gorelko avatar Dec 03 '25 23:12 georgy-gorelko

Unit Test Results

    1 files      1 suites   10m 24s ⏱️ 1 028 tests 1 028 ✅ 0 💤 0 ❌ 1 029 runs  1 029 ✅ 0 💤 0 ❌

Results for commit 9ea32af8.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Dec 03 '25 23:12 github-actions[bot]

@georgy-gorelko can you see the code scanning results https://github.com/github/gh-gei/pull/1465/checks?check_run_id=58493519789? Those 2 warnings should also be addressed.

brianaj avatar Dec 19 '25 03:12 brianaj

Code Coverage

Package Line Rate Branch Rate Complexity Health
ado2gh 71% 70% 737
Octoshift 84% 74% 1818
bbs2gh 83% 78% 663
gei 81% 73% 608
Summary 81% (7942 / 9824) 74% (1956 / 2657) 3826

github-actions[bot] avatar Dec 19 '25 19:12 github-actions[bot]

@georgy-gorelko can you see the code scanning results https://github.com/github/gh-gei/pull/1465/checks?check_run_id=58493519789? Those 2 warnings should also be addressed.

all addressed

georgy-gorelko avatar Dec 19 '25 19:12 georgy-gorelko