Skip to content

fix: read fresh PR state before policy assessment - #248

Merged
naveensingh merged 1 commit into
FossifyOrg:mainfrom
marvinctl:marvin/policy-fresh-pr-state
Sep 28, 2026
Merged

naveensingh merged 1 commit into
FossifyOrg:mainfrom
marvinctl:marvin/policy-fresh-pr-state

Conversation

@marvinctl

Copy link
Copy Markdown
Member

Policy reruns can start with an outdated event snapshot. Fetch the pull request before eligibility checks and classification so each attempt uses the latest PR state. The final changed-PR comparison and linked-issue recheck are unchanged.

Checked with node --check scripts/policy.cjs and git diff --check. No live moderation run.

@naveensingh
naveensingh merged commit f64459f into FossifyOrg:main Sep 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants