mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
Strengthen review contracts and HTTP guidance
- add outbound HttpClient transport and HTTP status review rules with paired fixtures`n- resolve layered action-skill overrides deterministically across enabled layers`n- validate findings reports and enforce measurable changed-fixture coverage
This commit is contained in:
parent
07e324ddbc
commit
45ca57a23e
21 changed files with 830 additions and 34 deletions
21
.github/workflows/review-fixtures.yml
vendored
21
.github/workflows/review-fixtures.yml
vendored
|
|
@ -12,7 +12,26 @@ jobs:
|
|||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Collect changed paths
|
||||
shell: pwsh
|
||||
env:
|
||||
BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }}
|
||||
run: |
|
||||
$paths = if (-not $env:BASE_SHA -or $env:BASE_SHA -match '^0+$') {
|
||||
@(git diff-tree --no-commit-id --name-only -r $env:GITHUB_SHA)
|
||||
} else {
|
||||
@(git diff --name-only $env:BASE_SHA $env:GITHUB_SHA)
|
||||
}
|
||||
$paths | Set-Content -LiteralPath "$env:RUNNER_TEMP/changed-paths.txt" -Encoding utf8NoBOM
|
||||
|
||||
- name: Validate review evaluation corpus
|
||||
shell: pwsh
|
||||
run: ./tools/Test-ReviewFixtures.ps1 -Root . -PrepareDirectory "$env:RUNNER_TEMP/bcquality-review-fixtures"
|
||||
run: |
|
||||
./tools/Test-ReviewFixtures.ps1 -Root . `
|
||||
-PrepareDirectory "$env:RUNNER_TEMP/bcquality-review-fixtures" `
|
||||
-ChangedPathsFile "$env:RUNNER_TEMP/changed-paths.txt" `
|
||||
-CoverageReportPath "$env:RUNNER_TEMP/review-coverage.json"
|
||||
Get-Content -LiteralPath "$env:RUNNER_TEMP/review-coverage.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue