Skip to content

[PHP-137879] Install promptfoo CLI and upgrade uv in vscode-docker#345

Merged
acefsan merged 1 commit intomasterfrom
acefsan/install-promptfoo-upversion-uv
Mar 25, 2026
Merged

[PHP-137879] Install promptfoo CLI and upgrade uv in vscode-docker#345
acefsan merged 1 commit intomasterfrom
acefsan/install-promptfoo-upversion-uv

Conversation

@acefsan
Copy link
Copy Markdown
Contributor

@acefsan acefsan commented Mar 25, 2026

Install promptfoo CLI and fix uv installation in the vscode-docker dev container.

Changes:

  • Add Node.js 22 and install promptfoo CLI globally.
  • Upgrade uv from 0.9.27 to 0.10.7
  • Install uv directly to /usr/local/bin via UV_INSTALL_DIR instead of installing to ~/.local/bin and moving — this fixes uv self update which previously failed because uv tracked the original install path

Testing:

Created a new Cloud App based on this branch:

  • verify promptfoo --version works
  • Verify uv --version returns 0.10.7
  • Verify uv self update works without errors

PHP-137879

@acefsan acefsan force-pushed the acefsan/install-promptfoo-upversion-uv branch from 3692c56 to 0bc894a Compare March 25, 2026 01:23
@acefsan acefsan marked this pull request as ready for review March 25, 2026 16:43
@acefsan acefsan requested review from a team as code owners March 25, 2026 16:43
@acefsan acefsan requested review from hyerra and tuckduck March 25, 2026 16:43
- Add Node.js 22 and promptfoo CLI for LLM evaluation workflows
- Upgrade uv from 0.9.27 to 0.11.1
- Install uv directly to /usr/local/bin via UV_INSTALL_DIR so that
  `uv self update` works correctly (previously broke due to mv)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@acefsan acefsan force-pushed the acefsan/install-promptfoo-upversion-uv branch from 0bc894a to 17fd675 Compare March 25, 2026 16:47
@acefsan acefsan merged commit 0bcd227 into master Mar 25, 2026
3 checks passed
@acefsan acefsan deleted the acefsan/install-promptfoo-upversion-uv branch March 25, 2026 16:57
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.

2 participants