The flag action was added in 1.36.0 and allows policies, as an action, to set a flag that can be tested later in the policy. However, in some cases the flag data can leak across policy invocations.
This only happens if code invoking the policy check recycles the policy data that it passes in. In Koji, this can currently happen in the following places:
make_task
PolicyTest
moveAllBuilds
All other policy checks appear to create fresh data for each check.
https://pagure.io/koji/pull-request/4553
Metadata Update from @mikem: - Custom field Size adjusted to None
Metadata Update from @tkopecek: - Issue tagged with: testing-basic
Metadata Update from @tkopecek: - Issue tagged with: testing-ready
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/4552
Please continue any further discussion there.