From 1548ebff5a883c53fddd388b29f4296d6d1fefc9 Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Tue, 1 Sep 2026 10:30:22 +0900 Subject: [PATCH] chore(ci): retire completed PR 827 source-fix workflow --- .../repair-pr827-coderabbit-comments.yml | 105 ------------------ 1 file changed, 105 deletions(-) delete mode 100644 .github/workflows/repair-pr827-coderabbit-comments.yml diff --git a/.github/workflows/repair-pr827-coderabbit-comments.yml b/.github/workflows/repair-pr827-coderabbit-comments.yml deleted file mode 100644 index 7221c45650..0000000000 --- a/.github/workflows/repair-pr827-coderabbit-comments.yml +++ /dev/null @@ -1,105 +0,0 @@ -name: Repair PR 827 CodeRabbit comments - -on: - pull_request: - types: [synchronize, reopened, ready_for_review] - -permissions: - contents: read - -concurrency: - group: repair-pr827-coderabbit-comments - cancel-in-progress: true - -jobs: - repair: - if: >- - github.event.pull_request.number == 827 && - github.event.pull_request.head.repo.full_name == github.repository && - github.event.pull_request.head.ref == 'fix/opencode-rust-coverage-runtime-boundary-main' && - github.event.pull_request.head.user.login != 'github-actions[bot]' - runs-on: ubuntu-24.04 - timeout-minutes: 45 - permissions: - contents: write - env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true - steps: - - name: Harden runner - uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 - with: - egress-policy: audit - - - name: Checkout exact PR branch - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - ref: fix/opencode-rust-coverage-runtime-boundary-main - fetch-depth: 0 - persist-credentials: true - - - name: Set up Python 3.14 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 - with: - python-version: '3.14' - cache: pip - cache-dependency-path: requirements-opencode-review-ci-hashes.txt - - - name: Install exact hash-locked test tooling - run: >- - python -m pip install --disable-pip-version-check --require-hashes - -r requirements-opencode-review-ci-hashes.txt - - - name: Apply bounded non-workflow repairs - run: | - set -euo pipefail - python - <<'PY' - from pathlib import Path - - repair = Path('scripts/ci/repair_pr827_coderabbit_comments.py') - repair_text = repair.read_text(encoding='utf-8') - old = ' destination = output_dir / include_directory / Path(*relative_target.parts)\n' - new = ' destination = output_dir / include_directory / pathlib.Path(*relative_target.parts)\n' - if repair_text.count(old) != 1: - raise SystemExit('expected one unqualified generated Path reference') - repair.write_text(repair_text.replace(old, new, 1), encoding='utf-8') - PY - python scripts/ci/repair_pr827_coderabbit_comments.py - # The ordinary Actions token cannot update workflow files. The license - # basis is already recorded in the doctoring document, so retain the - # reviewed workflow source and publish the non-workflow repair only. - git checkout -- .github/workflows/opencode-review-dispatch.yml - rm -f scripts/ci/repair_pr827_coderabbit_comments.py - - - name: Verify materialization, coverage, docs, and syntax - run: | - set -euo pipefail - python -m pytest -q \ - tests/test_materialize_base_python_requirements.py \ - tests/test_opencode_rust_coverage_toolchain_contract.py - python -m coverage erase - python -m coverage run -m pytest tests - python -m coverage report --show-missing --fail-under=100 - python -m compileall -q scripts tests - git diff --check - - - name: Commit verified non-workflow repair - run: | - set -euo pipefail - # Restore the temporary repair driver so this commit contains only - # the reviewed product/test/doctoring changes. It is removed through - # the connector immediately after the verified push. - git checkout -- scripts/ci/repair_pr827_coderabbit_comments.py - git config user.name 'github-actions[bot]' - git config user.email '41898282+github-actions[bot]@users.noreply.github.com' - git add \ - scripts/ci/materialize_base_python_requirements.py \ - tests/test_materialize_base_python_requirements.py \ - CHANGELOG.md \ - docs/doctoring/opencode-rust-coverage-runtime-boundary.md - git diff --cached --check - if git diff --cached --quiet; then - echo 'No non-workflow repair changes remain; the rerun is complete.' - exit 0 - fi - git commit -m 'fix(coverage): preserve bounded requirement includes' - git push origin HEAD:fix/opencode-rust-coverage-runtime-boundary-main