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