Commit Graph
1354 Commits
Author SHA1 Message Date
Felipebmaitan 5ca32cdac7 test(job-manager): align reference entry helper calls 2026-10-23 13:14:44 -03:00
emirplus dfacf431f6 fix(tools): wrap entrypoint in main with stream reconfigure in trace_digest 2026-10-23 19:08:36 +03:00
emirplus 082a799e7e fix(tools): reconfigure streams with backslashreplace in build_web 2026-10-23 19:06:52 +03:00
emirplus c2cd880e14 fix(tools): wrap entrypoint in main with stream reconfigure in nid_names 2026-10-23 19:05:46 +03:00
Felipebmaitan 0d7155f1fa test(job-manager): run original-module fixtures on Linux 2026-10-23 13:04:55 -03:00
emirplus b0e3c61105 fix(tools): reconfigure streams with backslashreplace in configure_seed 2026-10-23 19:04:18 +03:00
emirplus 685e15d034 fix(tools): reconfigure streams with backslashreplace in check_test_registration 2026-10-23 19:03:09 +03:00
MarcZX10 69708e0e80 fix(tools): implement write on web release test streams 2026-10-23 16:02:43 +00:00
emirplus 0f6fc31c98 fix(tools): reconfigure streams with backslashreplace in check_skips 2026-10-23 19:01:50 +03:00
emirplus dd45b07ce1 fix(tools): reconfigure streams with backslashreplace in select_tests
Reconfigure sys.stdout and sys.stderr with backslashreplace error handling at the entrypoint of main() so test graph dumping and change diagnostics do not fail on Windows consoles configured with non-UTF-8 code pages.
2026-10-23 18:57:48 +03:00
emirplus 81820edf30 fix(tools): reconfigure streams with backslashreplace in unwrap_self
Reconfigure sys.stdout and sys.stderr with backslashreplace error handling at the entrypoint of main() so unwrapping reports and error messages do not fail on Windows consoles configured with non-UTF-8 code pages.
2026-10-23 18:48:42 +03:00
Felipebmaitan f2dc168518 fix(job-manager): place scheduling state in the caller work area 2026-10-23 12:46:04 -03:00
Felipebmaitan 438540c8e1 fix(job-manager): spin only for pending work in host clock time 2026-10-23 12:46:03 -03:00
Felipebmaitan 77d1cc65e2 fix(tests): distinguish the manual JobManager reference runner 2026-10-23 12:46:03 -03:00
Felipebmaitan 5a19cd7e14 fix(libSceJobManager): honor worker spin and persistence policies 2026-10-23 12:46:02 -03:00
Felipebmaitan d14f5c0968 fix(job-manager): place scheduling state in the caller work area 2026-10-23 11:49:22 -03:00
Felipebmaitan ec00e6a5d4 fix(job-manager): spin only for pending work in host clock time 2026-10-23 11:49:21 -03:00
Felipebmaitan bc85ba595c fix(tests): distinguish the manual JobManager reference runner 2026-10-23 11:49:21 -03:00
Felipebmaitan 87f9e424b9 fix(libSceJobManager): honor worker spin and persistence policies 2026-10-23 11:49:21 -03:00
Kovalev Vladislav 98737e2175 fix(tools): measure Windows test batches after quoting 2026-10-23 20:29:54 +06:00
emirplus f498427789 fix(tools): reconfigure streams with backslashreplace in env_reference
Reconfigure sys.stdout and sys.stderr with utf-8 encoding and backslashreplace error handling at the entrypoint of main() so environment tables and check outputs do not fail on Windows terminals with non-UTF-8 code pages.
2026-10-23 17:20:12 +03:00
Kovalev Vladislav 87bc1aa04d fix(tools): recognize spaced environment reader calls 2026-10-23 20:00:11 +06:00
Felipebmaitan fc8f03594d fix(job-manager): spin only for pending work in host clock time 2026-10-23 10:34:59 -03:00
Felipebmaitan 14c582fb75 fix(tests): distinguish the manual JobManager reference runner 2026-10-23 10:28:00 -03:00
Felipebmaitan fd459d96f7 fix(libSceJobManager): honor worker spin and persistence policies 2026-10-23 10:28:00 -03:00
emirplus 873f92ea1d fix(tools): decode snapshots with utf-8-sig and reconfigure streams in progress 2026-10-23 16:27:44 +03:00
emirplus 2683388f93 fix(tools): handle errors cleanly and reconfigure streams in prepare_release_notes
Wrap the prepare_release_notes entrypoint in main(argv=None) with UTF-8
stream reconfiguration using backslashreplace error handling.

Decode release notes JSON with utf-8-sig to accept UTF-8 BOM headers.
Catch OSError and ValueError in main and report them via parser.error
rather than propagating unhandled tracebacks.
2026-10-23 16:27:20 +03:00
Dean 10e9f55947 Merge pull request #10059 from xTRACKGOD/fix/select-tests-unbuilt-executables
fix(tools): skip unselected executables in fresh builds
2026-10-24 01:51:54 +13:00
Dean d5f5cd8db4 Merge pull request #10054 from veosett/codex/check-skips-report-root
fix(ci): reject non-JUnit skip reports
2026-10-24 01:47:45 +13:00
Dean e15b894d53 Merge pull request #10006 from xXPBSXx/fix/tools-progress-unwritable-output
fix(tools): report an output directory that progress.py cannot write
2026-10-24 01:47:23 +13:00
Dean 9bb054dbd5 Merge pull request #9955 from THEGABOALE/fix/env-reference-multiline
fix(tools): detect multiline environment variable reads
2026-10-24 01:45:31 +13:00
jablkowy12 229620dfc1 feat(tools): optionally require tests in skip reports 2026-10-23 14:07:33 +02:00
Dean 201c4d0920 Merge pull request #9861 from veosett/codex/ctest-bracket-newlines
fix(ci): honor initial newlines in CMake bracket arguments
2026-10-24 00:41:37 +13:00
Dean f23c4b38d6 Merge pull request #8775 from dotaku22/fix/trace-digest-invalid-structure
fix(tools): reject invalid trace event container shapes
2026-10-23 23:07:17 +13:00
Dean b27138800c Merge pull request #8719 from ArjenS-LA/fix/audit-windows-system-suffixes
fix(tools): resolve Windows system library suffixes in audits
2026-10-23 21:09:12 +13:00
xTRACKGOD 9dd607ee33 fix(tools): skip unselected executables in fresh builds 2026-10-23 12:55:36 +05:30
Dean ef0d8ae3b5 Merge pull request #8739 from p3n1cillin/codex/opus-native-decoder-20261021
fix(opus): remove artificial decoder delay with bundled libopus
2026-10-23 20:07:51 +13:00
Kovalev Vladislav 6093c4647f fix(ci): reject non-JUnit skip reports 2026-10-23 13:04:50 +06:00
Dean fc9d8308a1 Merge pull request #9689 from jotitadev/fix/main-sync-pulls-from-subdirectory
fix(tools): read check_main_sync paths from the top of the repository
2026-10-23 19:26:46 +13:00
Dean 5a1e51137f Merge pull request #9660 from jotitadev/fix/conventions-env-reference-from-subdirectory
fix(tools): check environment references from a subdirectory
2026-10-23 19:26:22 +13:00
Kovalev Vladislav b7a6e9d245 fix(tools): decouple symbol mismatches from stub classification 2026-10-23 12:23:51 +06:00
Kovalev Vladislav 46ff145113 fix(tools): flag qualified imports exported only under a NID 2026-10-23 12:18:57 +06:00
Kovalev Vladislav 9780aa25a7 test(tools): preserve Clang saved temporary fixtures 2026-10-23 12:18:01 +06:00
Kovalev Vladislav b874dc57b9 test(tools): split syntax check suites within CI time limit 2026-10-23 12:15:22 +06:00
Kovalev Vladislav 6229cd07eb test(tools): respect compiler handling of unknown save modes 2026-10-23 12:15:22 +06:00
Kovalev Vladislav 34349949dd fix(tools): strip save-temps flags from syntax checks 2026-10-23 12:15:22 +06:00
Kovalev Vladislav 1d153c7be6 fix(ci): honor initial newlines in CMake bracket arguments 2026-10-23 12:08:55 +06:00
JJenkxandClaude Opus 5.5 cdc21a9897 fix(tools): bound symbol lookups to their section, keep inclusive counts and refuse unrecorded modules
Review of #9572 found three gaps:

- PeModule.name() checked that an RVA was in some code section, then
  bisected one list of every symbol, so an address in a later code
  section before that section's first symbol took the last symbol of an
  earlier section. Each code section now keeps its own sorted list.
- Address files keep both counters ('module offset self inclusive'):
  the inclusive count is kept and subtracted by --since, and the summary
  lists functions by inclusive samples as well, summed over each
  function's addresses (an upper bound when a function is on one stack
  more than once). The total comes from the '# N samples' line or from
  the 'thread <id> samples <n>' headings of APS5_SAMPLE_THREADS, which
  the loader previously misread as a stack line; --thread keeps one
  thread.
- The address writers of both samplers wrote no '# module' records, so
  those files skipped the size and timestamp check. Both now write them
  (through the helper the collapsed-stack writer uses), and the tool
  leaves a module unsymbolized when the samples have no record for it,
  unless --unverified is given.

Five new cases cover a second code section, inclusive totals, --since
on an address file, thread headings with --thread, and the missing
record with and without --unverified.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 01:49:21 -04:00
JJenkxandClaude Opus 5.5 59693ae54c feat(tools): symbolize the Windows samplers' stacks
The Windows samplers (APS5_SAMPLE_WORKER, APS5_SAMPLE_COMMITTER and
APS5_SAMPLE_THREADS) write every frame as module+0xRVA, and BUILD.md left
naming them to the reader ("for example with nm on the .prx"). Doing that
by hand means finding each module's image base, choosing between COFF
symbols and the export table, and keeping the files cumulative totals in
mind.

tools/symbolize_samples.py reads a collapsed-stack file or the address
file, opens each module it finds in --libs as a PE32+ image, and names
every frame module!function:

- From the COFF symbol table that the MinGW-built .prx and .dll keep:
  external and static symbols in code sections, at the section's RVA
  plus the symbol value. Addresses outside a code section, or before the
  first symbol, stay module+0xRVA.
- From the export table, prefixed with "~", for a module without
  symbols, such as the runtime DLLs.
- A module whose SizeOfImage or TimeDateStamp differs from the sampler's
  "# module" line is left unsymbolized, with a warning: its addresses
  would name the wrong functions.

--since subtracts an earlier copy of the same file, which keeps only the
samples taken between the two copies (the files hold totals since
start-up). --out writes the named stacks for speedscope or flamegraph.pl.
--demangle uses c++filt when it is on PATH. It needs no binutils
otherwise.

test_symbolize_samples (registered with CTest) builds small PE32+ images
with COFF symbols and with an export table, and covers short, string-table
and static names, the ignored section and data symbols, addresses outside
code, the export fallback, the size and timestamp check, --since with
--out, the address-file format and rejected lines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 01:49:21 -04:00
Dean 16319642a4 Merge pull request #6946 from Raghav314/perf/agc-draw-pipeline
perf(agc): draw finisher pipeline (APS5_DRAW_PIPELINE)
2026-10-23 18:24:48 +13:00