gh-gei
gh-gei copied to clipboard
Harder pipeline rewire monitoring and error handling
- 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
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.
@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.
| 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 | ✔ |
@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