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
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
pull_request:
push:
branches: [master]

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test-build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
with:
version: "0.8.8"
python-version: "3.12"
enable-cache: false
- name: Run tests
run: uv run --no-project --python 3.12 --with pytest==8.3.5 pytest -q
- name: Build package
run: uv build --python 3.12
- name: Require package artifacts
run: |
test -f dist/isbn_utils-0.1.tar.gz
test -f dist/isbn_utils-0.1-py3-none-any.whl
16 changes: 16 additions & 0 deletions agent-notes/repair-task6-isbn_utils-ci.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Hosted test and package-build prerequisite

## Goal
Provide the existing ISBN tests and package build as a hosted gate before the feature PR can merge.

## State
Isolated branch from fresh origin/master 235e22dfcacac5ec8d8b55ee5f9395706af627bf. No feature source copied; canonical untracked uv.lock and feature worktree preserved. CI uses one Linux runner and Python 3.12, pinned actions, read-only token permissions, and no persisted checkout credentials. Actions enabled was verified through the read-only permissions API. Official latest releases checkout v7.0.1 and setup-uv v10.3.0 were resolved to their immutable commits through the GitHub API.

## Decisions and why
README declares pytest; the default manifest omits it and owns no lock. A pinned pytest tool environment runs the entire existing suite without changing project dependencies or duplicating feature #1's pytest declaration. uv build uses the existing Hatchling backend and both exact package outputs are required. Actions Dependabot maintains immutable action pins. No live services or release actions are used.

## Surprises
The four small libraries are absent from the committed product topology; the explicit task authorizes their narrow existing-test and package-build CI prerequisites. Hosted execution remains unverified until coordinator-authorized publication.

## Next step
Local Python 3.12 validation: all four existing tests passed; uv build produced dist/isbn_utils-0.1.tar.gz and dist/isbn_utils-0.1-py3-none-any.whl. actionlint 1.7.12 passed; zizmor 1.31.1 offline reported no findings (one default suppression). Return the committed local patch for coordinator review before publication. Actual Claude review and green checks on the final published head are required before a coordinator-directed merge.
Loading