potiuk opened a new pull request, #77635:
URL: https://github.com/apache/airflow/pull/77635

   The skill-eval prek hooks pin promptfoo, the Claude Agent SDK and the Codex 
SDK
   as node `additional_dependencies` (plus `PROMPTFOO_VERSION` in
   `dev/skill-evals/eval.py`, which the harness matches exactly).
   `upgrade-important-versions` only tracked PyPI, image and GitHub-release
   versions, so these npm pins drifted — promptfoo was five minor releases 
behind
   and printed an outdated-version banner on every run.
   
   - `upgrade-important-versions` now fetches these three packages from the npm
     registry, with the same cooldown as PyPI packages (newest stable release
     older than `COOLDOWN_DAYS`; pre-releases skipped). They can be toggled with
     `UPGRADE_PROMPTFOO`, `UPGRADE_CLAUDE_AGENT_SDK` and `UPGRADE_CODEX_SDK`.
   - The pins are bumped to the versions the script now selects: promptfoo
     0.121.17 → 0.126.0, Claude Agent SDK 0.3.185 → 0.3.330, Codex SDK
     0.144.6 → 0.171.0.
   
   This touches the same `.pre-commit-config.yaml` lines as #77634 (which pins 
the
   Claude Agent SDK to 0.3.332 so the eval reads `AGENTS.md` natively); 
whichever
   merges second keeps the higher SDK version.
   
   Tested: `scripts/tests/ci/prek/test_upgrade_important_versions.py` (new tests
   for the npm lookup and the pin patterns) and
   `prek run run-skill-eval --hook-stage manual --all-files` on the new pins.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: Claude Code (Opus 5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to