Skip to content

fix(ci): point hw-request + matlab Prism upload at the vendored uploader#108

Merged
tfcollins merged 1 commit into
mainfrom
fix/prism-upload-hw-request-matlab
Jul 2, 2026
Merged

fix(ci): point hw-request + matlab Prism upload at the vendored uploader#108
tfcollins merged 1 commit into
mainfrom
fix/prism-upload-hw-request-matlab

Conversation

@tfcollins

Copy link
Copy Markdown
Owner

What

Applies the same Prism-upload fix (PR #107) to the two remaining active consumer workflows.

Why

hw-request.yml and matlab-hw-request.yml carry the identical broken Prism step — pip install "prism-uploader @ …/analogdevicesinc/prism.git#subdirectory=scripts" (repo doesn't exist / no packaging) + python -m prism_client.upload_run (no such module) with --labgrid-place/--leg flags that don't exist. So Prism upload has never worked for these consumers either.

How

  • Rewrite the built-in upload path in each to run the vendored adi_lg_plugins.hw_ci.prism_upload uploader (added in fix(ci): vendor Prism uploader + fix infra-smoke Prism upload #107) with the correct CLI: positional junit, --token (from PRISM_API_TOKEN), --auto-create-project --run-name, and --tag key=value (place/board/carrier/leg/git-sha).
  • The prism-upload-cmd escape hatch and all PRISM_* env vars are unchanged (contract preserved). Added PRISM_CARRIER to matlab so its carrier tag is populated.
  • Deprecated hw-matrix.yml left untouched.

Non-fatal step (continue-on-error); validated uploader against a live Prism server in #107. YAML parses, guard test green.

https://claude.ai/code/session_01BuMAqiic68LrMr6wWC7NCe

Same broken Prism step as infra-smoke had: pip install of a nonexistent
"prism-uploader @ .../analogdevicesinc/prism.git" + `python -m
prism_client.upload_run` with nonexistent --labgrid-place/--leg flags. Switch
the built-in path (the prism-upload-cmd escape hatch is unchanged) to the
vendored adi_lg_plugins.hw_ci.prism_upload uploader with the correct CLI
(positional junit, --token, --tag key=value). Add PRISM_CARRIER to matlab so
its carrier tag is populated. Deprecated hw-matrix.yml is left untouched.

Claude-Session: https://claude.ai/code/session_01BuMAqiic68LrMr6wWC7NCe
@tfcollins tfcollins merged commit b150c09 into main Jul 2, 2026
6 checks passed
@tfcollins tfcollins deleted the fix/prism-upload-hw-request-matlab branch July 2, 2026 02:23
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