Skip to content

DOOM distribution: whole-port-set measurement of the vendored filter (Part of #6097) - #6745

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6097-20261026T1540Z
Oct 26, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6097-20261026T1540Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Part of #6097. Checklist: partial [c:7aa491be] -- code landed in #6741; this PR adds only the whole-port-set measurement. Nothing re-blessed because nothing moved.

Class / Sibling gaps

Class: DOOM-study per-port function populations that should exclude vendored code. Members: distribution.py (done, #6741), lineage.py and doom_rosetta_check.py (already use the engine vendor test), doom_scorer.score_port (already uses it). Same-mechanism siblings: none left. Sibling gaps: callgraph_oracle.py / ts_callgraph_oracle.py / objc_callgraph_oracle.py and study_report.py have no vendor handling; they compare call graphs / render tables, not per-function distributions, and a different mechanism, so not touched here. No burned-estate program needs any of them.

Facts checked

  • DOOM distribution.py: exclude vendored code (Part of #6097) #6741 is merged; distribution.run calls load_metrics(db, doom_scorer._engine_vendor_test(repo)).
  • Ran load_metrics with and without the vendor test over every licensed port that has both a clone and a scan, at engine SHAs 61500bb5f (partial: 6 ports with a scan), 0e2bf4ade, aa8919dea, b81b19f78 (31 ports each): 0 functions dropped at 0e2bf4ade / b81b19f78 / 61500bb5f; at aa8919dea, 11.2%, 3.1%, 2.0% of three C++ ports, 0 on the other 28.
  • Distribution outputs live under the scratch work dir, not in the repo, and no golden reads them: no golden re-bless applies.

Change

One hand-written file: tests/tools/doom_speedrun/README.md records the measurement. No engine or code change, so no gates beyond docs.

Remaining slices

None for this item. 20 ports with no fidelity and per-subsystem distributions are other checklist items (#6742, #6744).

🤖 Generated with Claude Code

…filter (Part of #6097)

At two recent engine SHAs the filter drops nothing (the scan already skips vendored dirs); at an older SHA it
dropped 11.2%/3.1%/2.0% of three ports' functions. No golden or committed output moves.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 26, 2026 15:43
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 26, 2026 15:44
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6745 @ 7d53c07: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40352076008/job/121677722191
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {61d1c974-9687-4c5b-a959-73c75040b527}
Region: westus2
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure.
# #6278: or when the suite plan proved the PR changes only prose no test or engine code opens (mode skip).
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$PLAN" = "skip"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
PLAN: full
##[endgroup]
full-suite parts: failure (tested-tree skip: , suite plan: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 1/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40352076008/job/121675156240
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
[--ai-guardrails] [--fail-on-secrets]
[--fail-on-malware]
--fail-on-secrets CI/CD Gate: Fail build if hardcoded secrets are
--fail-on-malware CI/CD Gate: Fail build if ML threat inference flags
CI/CD Gate: Fail build if any file exceeds this risk
CI/CD Gate: fail the build if any file's structural
FAIL tests/tools/test_evidence_report.py::test_the_release_gate_fails_while_a_level_is_stale: 15.8s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 211874
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is cba8a3c3ec999b802799b723ec8a84d5e1de7f702a2d2d072bb6c8486d52c23a
Finalizing artifact upload
Artifact test-times-part-1 successfully finalized. Artifact ID 12663343956
Artifact test-times-part-1 has been successfully uploaded! Final size is 211874 bytes. Artifact ID is 12663343956
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40352076008/artifacts/12663343956
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/3bf99d42-1bbc-4285-b360-226dce6af756' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 26, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 26, 2026
@squid-shepherd
squid-shepherd Bot merged commit 287372c into main Oct 26, 2026
71 of 73 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6097-20261026T1540Z branch October 26, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant