in shame.py do not complain about missing targets (#9032)

PR CI only runs a small subset of all tests.

It is very likely a file we didn't found in the PR is just not tested in PR.
This commit is contained in:
Jorropo
2025-12-21 14:11:18 +01:00
committed by GitHub
parent 8fdba1f1e2
commit 5a3855b208

View File

@@ -42,15 +42,9 @@ if len(newlyIntroduced) > 0:
name, size = parseFile(f)
markdown += f"| `{name}` | {size}b |\n"
removed = old - new
if len(removed) > 0:
markdown += "\n## Removed Targets\n\n"
# create a table
markdown += "| File | Size |\n"
markdown += "| ---- | ---- |\n"
for f in removed:
name, size = parseFile(f)
markdown += f"| `{name}` | {size}b |\n"
# do not log removed targets
# PRs only run a small subset of builds, so removed targets are not meaningful
# since they are very likely to just be not ran in PR CI
both = old & new
degradations = []