test(reliability): bound commercial-release Git metadata lookup - #675
test(reliability): bound commercial-release Git metadata lookup#675seonghobae wants to merge 1 commit into
Conversation
|
Warning Review limit reached
Next review available in: 1 minute You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@opencode-agent address Exact bounded GREEN implementation for issue #555 / Draft #675. Immediately before any write, refetch exact source head Exact fail-first production-boundary evidence is now valid. CI run Implement only the root-cause fix:
Do not change acquisition-value/readiness semantics, numerical code, dependencies/workflows, package version/release, canonical #604/#621 docs, hosted state, or reviewer authority. |
a727e41 to
6d350a1
Compare
6d350a1 to
0b2ec51
Compare
|
자동 정리: base 대비 실제 변경(diff)이 0건이라 이 PR을 닫습니다. 변경을 추가한 뒤 reopen하세요. |
6d350a1 to
ea743f0
Compare
ea743f0 to
f440063
Compare
|
Superseded by unified Git metadata timeout fix PR (see fix/git-metadata-timeouts-unified). |
Reliability gap
Advances #555 with the previously uncovered
build_commercial_release.pylocal-Git metadata subprocess slice from exact protectedmaina7be9eb8ca0b807364173f8471fc300e3cf9350f.scripts/build_commercial_release.py::_source_commit()invokesgit rev-parse HEADwithout a per-operation timeout and catches every exception into"unknown". A hung local Git child can therefore consume runner capacity until an outer job timeout, whilesubprocess.TimeoutExpiredis silently converted into apparently usable provenance.Intentional fail-first contract
Exact test-only head:
550ee1f6d1fc4191f2e708a8217304be0d4ec1ab, directly based on protected main.tests/test_commercial_release_git_metadata_timeout.pyrequires:subprocess.run(["git", "rev-parse", "HEAD"], ...)call;TimeoutExpiredto fail closed as exact stableRuntimeError("source commit lookup timed out")without reflecting command/stdout/stderr/repo-path content;"unknown"fallback.Current protected-main code is expected to fail at the actual
_source_commit()production boundary because it passes no timeout and broadly swallows timeout. Setup/import/fixture/changelog failure is not valid RED.Minimum GREEN after exact RED proof
scripts/build_commercial_release.pyand pass it throughsubprocess.run(timeout=...).subprocess.TimeoutExpiredexplicitly before the ordinary fallback and raiseRuntimeError("source commit lookup timed out") from None; never echo child-controlled details."unknown"fallback for ordinary non-timeout Git/OS failure._run_command()executes heterogeneous release stages and requires operation-specific deadlines rather than a blanket value; do not silently fold it into this PR.CHANGELOG.md, and require exact changed-production statement/branch coverage.This slice is disjoint from active #666/#667/#669/#670/#578/#657 and replaces no canonical #604/#621 documentation. No psychometric/numerical formula, dependency/workflow, package version/release, acquisition-value semantics, hosted state or reviewer authority change belongs here.
Keep Draft until RED→GREEN history and final gates are complete.