diff --git a/.gitea/ai-review/exclusions.json b/.gitea/ai-review/exclusions.json deleted file mode 100644 index f8263ee..0000000 --- a/.gitea/ai-review/exclusions.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "excluded_findings": [ - { - "location": "entrypoint.sh:10-15", - "title": "trim unit tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:16-18", - "title": "url_encode unit tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:30-59", - "title": "resolve_package_names unit tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:61-76", - "title": "parse_repo_context unit tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:35-51", - "title": "resolve_keep_count unit tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:78-120", - "title": "api_request unit tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:122-181", - "title": "fetch_package_versions unit tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:183-241", - "title": "collect_package_candidates unit tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:243-286", - "title": "process_candidates unit tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh(整體)", - "title": "shell test framework", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:7", - "title": "structured logging", - "reason": "Plain stderr logging is sufficient here." - }, - { - "location": "entrypoint.sh:105", - "title": "GITEA_SERVER_URL validation", - "reason": "The runtime provides this value; extra host allowlisting is unnecessary." - }, - { - "location": "entrypoint.sh:125-126,241", - "title": "temporary file reuse", - "reason": "The current mktemp-based approach is fine for this scale." - }, - { - "location": "entrypoint.sh:149", - "title": "streaming JSON merge", - "reason": "Per-package payloads are bounded, so jq aggregation is sufficient." - }, - { - "location": "entrypoint.sh:204,215", - "title": "sort and log separation", - "reason": "Sorting is deterministic and the logging is intentional." - }, - { - "location": "entrypoint.sh:166-167,310-311", - "title": "url_encode optimization", - "reason": "Each path component is encoded once per request." - }, - { - "location": "entrypoint.sh:183-241", - "title": "owner-wide package scan / N+1 API", - "reason": "The action only targets requested package names." - }, - { - "location": "entrypoint.sh(整體)", - "title": "end-to-end tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:290-332", - "title": "main integration tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:78-120", - "title": "api_request mock tests", - "reason": "No test fixtures or CI workflows are included in this repo." - }, - { - "location": "entrypoint.sh:7-12", - "title": "token export preference", - "reason": "Token is passed explicitly instead of exported." - }, - { - "location": "entrypoint.sh", - "title": "missing tests", - "reason": "The repo already includes `tests/entrypoint.sh` covering the new helper functions and the main flow." - } - ] -}