Skip to content

Wo 16/oversized swap countersignal - #5

Merged
ppiankov merged 2 commits into
mainfrom
wo-16/oversized-swap-countersignal
Aug 2, 2026
Merged

Wo 16/oversized swap countersignal#5
ppiankov merged 2 commits into
mainfrom
wo-16/oversized-swap-countersignal

Conversation

@ppiankov

@ppiankov ppiankov commented Aug 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

WO-16: OVERSIZED_INSTANCE flagged on max-CPU alone, which cannot tell
a genuinely oversized instance apart from one that is memory-bound
despite low CPU. Fetch the CloudWatch SwapUsage metric alongside the
existing CPU/connections fetch and suppress the finding when any
measurable swap activity was observed during the window -- a
countersignal independent of instance class, so no memory-size
lookup table is needed.
wolint flagged the sentinel-check hunk as unattributed: the comment
sat after the changed if-condition, not before it, so it didn't
govern the line per the hunk-adjacency rule.
@ppiankov
ppiankov merged commit f076eb3 into main Aug 2, 2026
5 checks passed
@ppiankov
ppiankov deleted the wo-16/oversized-swap-countersignal branch August 2, 2026 05:12
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