Skip to content

fix(roadmap): run hooks in a checkout that has no uv.lock - #7995

Merged
dan-petty merged 4 commits into
mainfrom
fix/7926-the-implement-hooks-stop-with-no
Dec 1, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/7926-the-implement-hooks-stop-with-no

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

The implement Job stopped at its hooks step for a repository with hooks and no uv.lock: uv run --frozen needs the lock. Each dan-petty/vibes build stopped there.

  • A checkout with uv.lock keeps uv run --frozen pre-commit.
  • A checkout with none gets the pre-commit on PATH, which the runner image takes from the devtools image. The runner tool check now covers it.

This replaces the first plan, which copied pre-commit==4.7.0 into source for uv tool run.

Verified: the devtools pre-commit installed the vibes hooks and passed both stages in a clean environment. Hooks with language_version: python3 run on its Python 3.14. Not covered: a plan step with a test form runs uv run pytest, which writes a uv.lock in a project with none (#7999).

Closes #7926

Change: openspec/changes/archive/2026-12-01-7926-the-implement-hooks-stop-with-no/

@dan-petty
dan-petty force-pushed the fix/7926-the-implement-hooks-stop-with-no branch from 02ba8d4 to b7b5fdc Compare December 1, 2026 01:44
@dan-petty dan-petty changed the title docs(spec): plan #7926 Run hooks through uv tool run with no uv.lock fix(roadmap): run hooks in a checkout that has no uv.lock Dec 1, 2026
@dan-petty

dan-petty commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Check results

Head commit: 31417272b49f562e0db8b16e59ab4f5da791fe31

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
gitleaks success run
Service Image Tests (shard 1 of 6) success run
Service Image Tests (shard 5 of 6) success run
Service Image Tests (shard 3 of 6) success run
Service Image Tests (shard 4 of 6) success run
Service Image Tests (shard 2 of 6) success run
Service Image Tests (shard 6 of 6) success run
Trivy neutral run
Changed-Test Independence success run
Plan Check skipped run
CodeQL success run
Tests on Main skipped run
Fail-to-Pass Check skipped run
PR title / Semantic PR title success run
Semantic PR title success run
Test Job Duration skipped run
Tests & Coverage (shard 5 of 6) success run
Tests & Coverage (shard 1 of 6) success run
Tests & Coverage (shard 4 of 6) success run
Tests & Coverage (shard 6 of 6) success run
Design Tokens success run
Tests & Coverage (shard 3 of 6) success run
Changed-Test Independence (run 2 of 3) success run
Changed-Test Independence (run 1 of 3) success run
Service Image success run
Static Analysis success run
Tests & Coverage (shard 2 of 6) success run
Service Image Build success run
Changed-Test Independence (run 3 of 3) success run
Runner Image success run
Fail-to-Pass Check success run
Docs Site Build success run
Analyze (actions) success run
Analyze (python) success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/46557967708/job/142337730010

Skipped check: Trivy
Skipped check: Plan Check
Skipped check: Tests on Main
Skipped check: Fail-to-Pass Check
Skipped check: Test Job Duration

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review December 1, 2026 01:59
@dan-petty
dan-petty merged commit 6577056 into main Dec 1, 2026
41 checks passed
@dan-petty
dan-petty deleted the fix/7926-the-implement-hooks-stop-with-no branch December 1, 2026 02:11
dan-petty-release Bot added a commit that referenced this pull request Dec 1, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.268.2](v0.268.1...v0.268.2)
(2026-12-01)


### Bug Fixes

* **monitoring:** keep the line chart design rules off the other panels
([#7998](#7998))
([75f6c64](75f6c64))
* **roadmap:** run hooks in a checkout that has no uv.lock
([#7995](#7995))
([6577056](6577056))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/spec type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the implement hooks stop with no uv.lock

1 participant