Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
uv-${{ runner.os }}-py${{ env.PYTHON_VERSION }}-

- name: Install build tools
run: python -m pip install "uv==${UV_VERSION}"
run: python -m pip install --uploaded-prior-to P3D "uv==${UV_VERSION}"

- name: Validate release inputs
id: release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
uv-${{ runner.os }}-py${{ env.PYTHON_VERSION }}-

- name: Install uv
run: python -m pip install "uv==${UV_VERSION}"
run: python -m pip install --uploaded-prior-to P3D "uv==${UV_VERSION}"

- name: Validate lockfile
run: uv lock --check
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
uv-${{ runner.os }}-py${{ env.PYTHON_VERSION }}-

- name: Install uv
run: python -m pip install "uv==${UV_VERSION}"
run: python -m pip install --uploaded-prior-to P3D "uv==${UV_VERSION}"

- name: Build distributions
run: |
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
min-release-age=3
4 changes: 4 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ Business workflows live in packages:
- `uv run pyright` must be clean. No `# type: ignore` to silence -
fix the underlying type.
- Local tests use stdlib `unittest`: `uv run python -m unittest discover -s tests`.
- Dependencies wait 3 days after release: `minimumReleaseAge` in
`renovate.json` (`src-py-lib` is exempt), `min-release-age` in `.npmrc`, and
`--uploaded-prior-to P3D` where workflows `pip install` uv. pip reports a
younger pin as `No matching distribution found`.
- For Sourcegraph mutation-path changes, also verify by dry-running `--get` /
`--set` / `--restore` against a real instance and diffing. If the expected
changes look right, run `--apply` against a scratch instance and inspect
Expand Down
8 changes: 8 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"before 4am"
]
},
"minimumReleaseAge": "3 days",
"osvVulnerabilityAlerts": true,
"packageRules": [
{
Expand All @@ -18,6 +19,13 @@
],
"groupName": "build requirements"
},
{
"description": "First-party package, no cooldown",
"matchPackageNames": [
"src-py-lib"
],
"minimumReleaseAge": null
},
{
"matchPackageNames": [
"python"
Expand Down
Loading