Repository navigation
ci(oss): warn idle claims at 48 hours and release them at 72 - #552
Conversation
The Season 4 hackathon rules published on testsprite.com promise a 48-hour warning and a 72-hour release for idle claims. The claim sweep was still on 72/96, so the published rules and the bot disagreed mid-contest. Align the bot with the published rules: the workflow env, the script defaults, the tests and CONTRIBUTING.md all move to 48/72. CONTRIBUTING also says outright that a draft PR holds the claim, which the sweep has always allowed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B55U1fjVffEERGXqo7FJfg
|
✅ This PR is linked to an issue assigned to @zeshi-du — thanks! The |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe claim warning threshold changes from 72 to 48 hours. The claim release threshold changes from 96 to 72 hours. Tests, scheduled workflow settings, and contributor guidance reflect these thresholds. ChangesClaim TTL policy
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to
|
Test Coverage Report
|
Part of #554
What changes for contributors
Nothing else changes. An open PR by the assignee whose description links the issue (
Closes #N,Part of #N, …) still stops the clock. Claims made before 2026-09-24, maintainers andpinnedissues are still skipped. The warning still says "about 24 hours", which stays true at 48/72.Who the switch affects today
I ran
evaluateClaimfrom this script against the live timelines of every open claim (11 claims on 10 issues, 2026-10-19 19:25 UTC), once with 72/96 and once with 48/72. No claim is warned or released by the switch: 7 are grandfathered and 4 are protected by an open linked PR.Files
.github/workflows/claim-ttl.yml:CLAIM_WARN_HOURS: '48',CLAIM_TTL_HOURS: '72', header comment..github/scripts/claim-ttl.mjs: fallback defaults 48/72, so the script and the workflow agree..github/scripts/claim-ttl.test.mjs: boundaries and markers moved to 48/72, plus the workflow pin.CONTRIBUTING.md: claim lifetime 48/72, and drafts count.Tests
node --test '.github/scripts/*.test.mjs': 82 tests, 80 pass, 0 fail, 2 skipped (the two pre-existing org-audit skips).npm run lint,npm run format:check,actionlintandcheck-pr-target-checkout.mjsare clean. Codex review found no issues.After merge
Run Claim TTL once with
dry_run: trueand check the summary line.🤖 Generated with Claude Code
https://claude.ai/code/session_01B55U1fjVffEERGXqo7FJfg