Skip to content

Port packaging_safety and p0_governance_evidence and take them off the deferred list - #74

Merged
themuffinator merged 1 commit into
themuffinator:mainfrom
danperisse-hue:port-release-tests
Nov 27, 2026
Merged

themuffinator merged 1 commit into
themuffinator:mainfrom
danperisse-hue:port-release-tests

Conversation

@danperisse-hue

Copy link
Copy Markdown
Contributor

Third batch of the deferred release-lane fixtures from #62. Each dropped or retargeted check carries an openPR06: comment.

packaging_safety

  • expects openPR06-updater_x64 and openPR06-updater_arm64.exe.
  • validate_repository_metadata_manifest exercised read_staged_repository_metadata, which reads the retired GameLibs stage manifest and has no callers left. It now checks collect_package_repository_metadata, which packaging uses: in a scratch Git checkout both the engine and game commit fields name HEAD, a modified tree reports dirty, and outside a checkout both are "unavailable".
  • finds its wiring in openq4_validate.py, the only runner.

p0_governance_evidence

  • audit_source_provenance.py --check failed: the Doom 3 family has 600 marked files, not openQ4's 595. The five more are PREY's DeclFX.cpp/.h, DeclParticle.cpp/.h and src/renderer/Model_hhBeam.cpp. The manifest, the test and docs/dev/source-provenance.md now say 600, and the audit passes. Nothing runs this audit in CI today.
  • source-provenance.md linked the Additional Terms and the manifest in the openQ4 repository; it now links this tree's files.
  • drops the README capability-matrix link check (openPR06's README links the provenance inventory but not the matrix) and the stock_asset_baseline and commit/push workflow registration.

release_tooling_safety stays deferred: it pins openQ4's manual-release.yml structure and needs a port of its own.

Side note: read_staged_repository_metadata in package_nightly.py is now dead code; I left it alone here.

Checked on Windows and WSL: packaging_safety, p0_governance_evidence, suite_status_contract, docs_link_integrity, source_charset_integrity and audit_source_provenance.py --check pass.

…e deferred list

Third batch of the deferred release-lane fixtures from themuffinator#62. Each dropped or
retargeted check carries an "openPR06:" comment.

packaging_safety:
- expects openPR06-updater_x64 and openPR06-updater_arm64.exe.
- validate_repository_metadata_manifest exercised read_staged_repository_metadata,
  which reads the retired GameLibs stage manifest and has no callers left.
  It now checks collect_package_repository_metadata, which packaging uses:
  in a scratch Git checkout both the engine and game commit fields name HEAD,
  a modified tree reports dirty, and outside a checkout both are
  "unavailable".
- finds its wiring in openq4_validate.py, the only runner.

p0_governance_evidence:
- audit_source_provenance.py --check failed: the Doom 3 family has 600
  marked files, not openQ4's 595. The five more are PREY's DeclFX.cpp/.h,
  DeclParticle.cpp/.h and src/renderer/Model_hhBeam.cpp. The manifest, the
  test and docs/dev/source-provenance.md now say 600, and the audit passes.
- source-provenance.md linked the Additional Terms and the manifest in the
  openQ4 repository; it now links this tree's files.
- drops the README capability-matrix link check (openPR06's README links
  the provenance inventory but not the matrix) and the stock_asset_baseline
  and commit/push workflow registration.

release_tooling_safety stays deferred: it pins openQ4's manual-release.yml
structure and needs a port of its own.
@themuffinator
themuffinator merged commit 5bf527e into themuffinator:main Nov 27, 2026
9 checks passed
themuffinator added a commit that referenced this pull request Nov 29, 2026
…round, and stop rewriting the config at launch

Ported from openPR06, the PREY port built on openQ4 (third round: pull
requests #53-#81 and issues #61-#78 by danperisse-hue).

- A deflated PK4 member keeps what it inflates once it is seeked (up to
  32 MiB), so a wave or model chunk scan no longer inflates the member again
  at every seek, and a seek to the current position does nothing (#53).
- Generated animation caches are built in memory and written, synced and
  closed by a writer thread, at most 16 files and 64 MiB queued; the main
  thread promotes them, and game shutdown waits for the queue (#54, as
  adapted to openQ4's version-3 cache in openPR06 a945a6b).
- idInternalCVar::Update flags CVAR_ARCHIVE only when the declaration makes
  a cvar archived, so a module registering archived cvars the config already
  set no longer rewrites openQ4Config.cfg on every launch (#63).
- idProgram::FindFreeResultDef finds a reusable <RESULT> temporary through a
  per-scope hash chain, newest first like the def list, instead of walking
  every result compiled so far (#64).
- Linux: the loose-directory memo runs on case-sensitive filesystems too,
  resolving case once per directory (#56); glibc malloc arenas are capped at
  two unless MALLOC_ARENA_MAX is set (#71); the fatal-breadcrumb directory is
  created like mkdir -p (#57).
- com_timestampPrints describes 1 as seconds and 2 as milliseconds (#60).
- Tests: filesystem_length_probe_contract follows the memo (#65),
  posix_memory_management checks the arena cap, and android_savepath
  extracts Posix_MkdirParents (openPR06 bd071e1).
- BUILDING.md: running the Linux stock smokes under a headless Weston (#81).

Prey-only or already in openQ4, and not ported: #48, #55, #59, #66-#68,
#70, #73, #74, #76, #77, #79, #80.

Co-authored-by: danperisse-hue <danperisse@gmail.com>
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.

2 participants