Skip to content

chore: script extracting list of mcp and skills file locations#251

Draft
aarlaud wants to merge 1 commit intomainfrom
chore/add-script-to-generate-mcp-cfg-file-locations-csv
Draft

chore: script extracting list of mcp and skills file locations#251
aarlaud wants to merge 1 commit intomainfrom
chore/add-script-to-generate-mcp-cfg-file-locations-csv

Conversation

@aarlaud
Copy link
Copy Markdown
Contributor

@aarlaud aarlaud commented Apr 1, 2026

Little helper to extract the list of locations per client + OS.

@qodo-merge-etso
Copy link
Copy Markdown

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: pre-commit

Failed stage: Run pre-commit/action@v3.0.1 [❌]

Failed test name: ""

Failure summary:

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 Provisioner
2:  Hosted Compute Agent
...

581:  ##[endgroup]
582:  Cache hit for: pre-commit-3|/opt/hostedtoolcache/Python/3.14.3/x64|e4d30abbaa89ff6a158c7bfd3035f96712ec4fc3e376e42c5b3373de004c94b1
583:  Received 25134291 of 25134291 (100.0%), 47.9 MBs/sec
584:  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 unzstd
586:  Cache restored successfully
587:  Cache restored from key: pre-commit-3|/opt/hostedtoolcache/Python/3.14.3/x64|e4d30abbaa89ff6a158c7bfd3035f96712ec4fc3e376e42c5b3373de004c94b1
588:  ##[group]Run pre-commit run --show-diff-on-failure --color=always --all-files
589:  �[36;1mpre-commit run --show-diff-on-failure --color=always --all-files�[0m
590:  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
591:  env:
592:  pythonLocation: /opt/hostedtoolcache/Python/3.14.3/x64
593:  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.14.3/x64/lib
594:  ##[endgroup]
595:  mypy.....................................................................�[42mPassed�[m
596:  ruff.....................................................................�[41mFailed�[m
597:  �[2m- hook id: ruff�[m
598:  �[2m- files were modified by this hook�[m
599:  Found 6 errors (6 fixed, 0 remaining).
600:  ruff-format..............................................................�[41mFailed�[m
601:  �[2m- hook id: ruff-format�[m
...

739:  �[32m+�[m�[32m                    "Path Type": "Skills Directory",�[m
740:  �[32m+�[m�[32m                    "Path": path,�[m
741:  �[32m+�[m�[32m                }�[m
742:  �[32m+�[m�[32m            )�[m
743:  �[32m+�[m
744:  # Write CSV file�[m
745:  with open(output_path, "w", newline="", encoding="utf-8") as f:�[m
746:  writer = csv.DictWriter(f, fieldnames=["Client Name", "OS", "Path Type", "Path"])�[m
747:  writer.writeheader()�[m
748:  writer.writerows(rows)�[m
749:  �[31m-    �[m
750:  �[32m+�[m
751:  print(f"Generated {output_path} with {len(rows)} entries")�[m
752:  �[m
753:  �[m
754:  ##[error]Process completed with exit code 1.
755:  Post job cleanup.

@aarlaud aarlaud force-pushed the chore/add-script-to-generate-mcp-cfg-file-locations-csv branch from e0b4ffc to 4b35c0d Compare April 1, 2026 10:19
@aarlaud aarlaud force-pushed the chore/add-script-to-generate-mcp-cfg-file-locations-csv branch from 4b35c0d to 14539bc Compare April 1, 2026 14:31
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