Skip to content

Update third-party rules as of 2026-10-27 - #1781

Merged
egibs merged 3 commits into
mainfrom
third-party-rule-update-2026-10-27
Oct 27, 2026
Merged

egibs merged 3 commits into
mainfrom
third-party-rule-update-2026-10-27

Conversation

@octo-sts-8

@octo-sts-8 octo-sts-8 Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

2026-10-27 third-party rule update for malcontent.

@egibs
egibs enabled auto-merge (squash) October 27, 2026 19:53
egibs added 2 commits October 27, 2026 14:59
GuardDog's rules now compare an "ecosystem" external, which
pkg/compile defines as an empty global. pkg/report's test helper built
its own compiler with a hand-copied globals map, so it failed to compile
the updated rules (E009 unknown identifier) and blocked the rule update.

Export compile.NewCompiler and use it in the test helpers that compile
rules, so tests build rules with the same options and globals as
production and cannot drift when a global is added.
@egibs
egibs merged commit e85a384 into main Oct 27, 2026
17 checks passed
@egibs
egibs deleted the third-party-rule-update-2026-10-27 branch October 27, 2026 20:04
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.

1 participant