You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GitHub Action failed during the pre-commit run --show-diff-on-failure --color=always --all-files step because formatting/linting hooks reported changes were needed: - The ruff hook failed with files were modified by this hook and reported Found 6 errors (6 fixed, 0 remaining), meaning it auto-fixed issues and left the working tree dirty. - The ruff-format hook also failed (indicating formatting changes were required). Because pre-commit detected (and applied) modifications (e.g., whitespace/format changes shown in the diff around lines 744-751), it exited with code 1, causing the job to fail.
Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
581: ##[endgroup]582: Cache hit for: pre-commit-3|/opt/hostedtoolcache/Python/3.14.3/x64|e4d30abbaa89ff6a158c7bfd3035f96712ec4fc3e376e42c5b3373de004c94b1583: Received 25134291 of 25134291 (100.0%), 47.9 MBs/sec584: Cache Size: ~24 MB (25134291 B)585: [command]/usr/bin/tar -xf /home/runner/work/_temp/54c014fd-6894-466d-b901-3c754511e232/cache.tzst -P -C /home/runner/work/agent-scan/agent-scan --use-compress-program unzstd586: Cache restored successfully587: Cache restored from key: pre-commit-3|/opt/hostedtoolcache/Python/3.14.3/x64|e4d30abbaa89ff6a158c7bfd3035f96712ec4fc3e376e42c5b3373de004c94b1588: ##[group]Run pre-commit run --show-diff-on-failure --color=always --all-files589: �[36;1mpre-commit run --show-diff-on-failure --color=always --all-files�[0m590: shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}591: env:592: pythonLocation: /opt/hostedtoolcache/Python/3.14.3/x64593: LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.14.3/x64/lib594: ##[endgroup]595: mypy.....................................................................�[42mPassed�[m596: ruff.....................................................................�[41mFailed�[m597: �[2m- hook id: ruff�[m598: �[2m- files were modified by this hook�[m599: Found 6 errors (6 fixed, 0 remaining).600: ruff-format..............................................................�[41mFailed�[m601: �[2m- hook id: ruff-format�[m
...
739: �[32m+�[m�[32m "Path Type": "Skills Directory",�[m740: �[32m+�[m�[32m "Path": path,�[m741: �[32m+�[m�[32m }�[m742: �[32m+�[m�[32m )�[m743: �[32m+�[m744: # Write CSV file�[m745: with open(output_path, "w", newline="", encoding="utf-8") as f:�[m746: writer = csv.DictWriter(f, fieldnames=["Client Name", "OS", "Path Type", "Path"])�[m747: writer.writeheader()�[m748: writer.writerows(rows)�[m749: �[31m- �[m750: �[32m+�[m751: print(f"Generated {output_path} with {len(rows)} entries")�[m752: �[m753: �[m754: ##[error]Process completed with exit code 1.755: Post job cleanup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Little helper to extract the list of locations per client + OS.