test(reliability): bound Figma-evidence Git metadata lookup - #677
test(reliability): bound Figma-evidence Git metadata lookup#677seonghobae 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 #677. Immediately before any write, refetch exact source head Exact fail-first evidence is valid. CI run Implement only the root-cause fix:
Do not touch numerical code, dependencies/workflows, package version/release, canonical #604/#621 docs, hosted state, provider credentials or reviewer authority. |
|
@opencode-agent address Fresh single-writer rebind for Draft #677 after protected Revalidate that current protected main has not independently repaired this script. If the defect persists, implement only the root-cause correction: add one documented package-owned local-Git metadata deadline in Run focused timeout tests first and then applicable full validation on one unchanged head. After product GREEN, add concise #555 reliability doctoring plus an authoritative changelog fragment, deterministically render/check |
c3d3772 to
fbfa17a
Compare
0d3ba94 to
206c41d
Compare
206c41d to
0b2ec51
Compare
|
자동 정리: base 대비 실제 변경(diff)이 0건이라 이 PR을 닫습니다. 변경을 추가한 뒤 reopen하세요. |
206c41d to
d4fce12
Compare
d4fce12 to
ba27d55
Compare
|
Superseded by unified Git metadata timeout fix PR (see fix/git-metadata-timeouts-unified). |
Reliability gap
Advances #555 with the previously uncovered Figma-evidence-sync local Git metadata subprocess slice from exact protected
maina7be9eb8ca0b807364173f8471fc300e3cf9350f.scripts/build_figma_evidence_sync.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:
c3d3772fa7fb6efe6f255806d118cb9bc71282a3, directly based on protected main.tests/test_figma_evidence_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_figma_evidence_sync.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.CHANGELOG.md, and require exact changed-production statement/branch coverage.This slice is disjoint from active #666/#667/#669/#670/#675/#676/#578/#657 and replaces no canonical #604/#621 documentation. No psychometric/numerical formula, dependency/workflow, package version/release, valuation semantics, hosted state or reviewer authority change belongs here.
Keep Draft until RED→GREEN history and final gates are complete.