ruvnet/ruflo · error
Failed to mark claim ${claim.id} as stealable:
Error message
Failed to mark claim ${claim.id} as stealable: What it means
Log warning in autoMarkStaleWork: marking an individual stale claim as stealable (markStealable) threw; that claim is skipped and the loop continues so other stale claims can still be marked — a per-item, non-fatal failure.
Source
Thrown at v3/@claude-flow/claims/src/application/work-stealing-service.ts:537
const staleClaims = await this.detectStaleWork(config);
const now = new Date();
let markedCount = 0;
for (const claim of staleClaims) {
const reason = this.determineStaleReason(claim, config, now);
const stealInfo: StealableInfo = {
reason,
markedAt: now,
originalProgress: claim.progress,
allowedStealerTypes: this.getAllowedStealerTypes(claim.claimant, config),
};
try {
await this.markStealable(claim.issueId, stealInfo);
markedCount++;
} catch (err) {
// Log but don't fail - some claims may be protected
console.warn(`Failed to mark claim ${claim.id} as stealable:`, err);
}
}
return markedCount;
}
// ===========================================================================
// Private Helper Methods
// ===========================================================================
/**
* Check if claim is in grace period
*/
private isInGracePeriod(claim: IssueClaimWithStealing): boolean {
return this.isInGracePeriodWithConfig(claim, this.config);
}
/**View on GitHub (pinned to fa13ee4ad6)
Solutions
- Check the claims store connectivity and that the claim record still exists; the failure is logged with the underlying cause and the steal is retried on the next cycle.
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at v3/@claude-flow/claims/src/application/work-stealing-service.ts:537 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18).
Data as JSON: /api/errors/7326addbb4c38b1a.
Report an issue: GitHub.