[PR #705] tools: provide one-command synthetic source-only smoke suite (DX-07) #748

Open
opened 2026-11-26 20:18:55 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/705
Author: @abnalstlll-byte
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: feat/dx07-smoke-suite


📝 Commits (3)

  • bd6afab tools: provide one-command synthetic source-only smoke suite (DX-07)
  • c87512e smoke: redirect compileall diagnostics from stdout to keep --json clean on failure
  • a9692a8 smoke, test_docs_cli_flags: guard stdout encoding and map dev.py smoke subcommand

📊 Changes

5 files changed (+497 additions, -0 deletions)

View changed files

📝 docs/testing.md (+26 -0)
📝 scripts/dev.py (+12 -0)
➕ scripts/smoke.py (+332 -0)
📝 tests/test_docs_cli_flags.py (+1 -0)
➕ tests/test_smoke_suite.py (+126 -0)

📄 Description

Summary

Implements DX-07: One-command synthetic source-only smoke suite.

Provides developers and CI with a quick, deterministic, zero-asset validation mechanism across Windows, Linux, and macOS without requiring retail game packages, carved shaders, or specific GPU hardware.

Key Capabilities

  • Prerequisites Discovery: \python -I scripts/smoke.py --prereqs-only\ audits Python 3.10+ satisfaction and detects optional toolchains (CMake, Ninja, MSVC, GCC, Clang, Vulkan SDK, Node, .NET).
  • Sub-Second Quick Mode: \python -I scripts/smoke.py --quick\ runs compilation (\compileall), clean-room validation (\check_no_game_data.py), and root CLI entry points in < 1 second.
  • Unified Developer Forwarding: Integrates seamlessly into \scripts/dev.py smoke.
  • Machine-Readable JSON: Supports --json\ for automated pipeline gating.
  • Documentation: Usage guide added to \docs/testing.md.

Verification

  • Ran standard-library test suite: \python -I tests/test_smoke_suite.py\ (7/7 PASS in 11.6s).
  • Clean-room check: \python -I scripts/check_no_game_data.py\ clean (0 issues).
  • Zero dependencies outside the Python standard library.
  • AI-assisted (Claude Code).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/705 **Author:** [@abnalstlll-byte](https://github.com/abnalstlll-byte) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/dx07-smoke-suite` --- ### 📝 Commits (3) - [`bd6afab`](https://github.com/ubiquitarianism/leonida/commit/bd6afab9e8b955c57f484896f57acedb5fa06642) tools: provide one-command synthetic source-only smoke suite (DX-07) - [`c87512e`](https://github.com/ubiquitarianism/leonida/commit/c87512e482e566a4ec567f032538e4864cdc0717) smoke: redirect compileall diagnostics from stdout to keep --json clean on failure - [`a9692a8`](https://github.com/ubiquitarianism/leonida/commit/a9692a8c98bc982d7c458be3c4864bcc5ff3fd20) smoke, test_docs_cli_flags: guard stdout encoding and map dev.py smoke subcommand ### 📊 Changes **5 files changed** (+497 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/testing.md` (+26 -0) 📝 `scripts/dev.py` (+12 -0) ➕ `scripts/smoke.py` (+332 -0) 📝 `tests/test_docs_cli_flags.py` (+1 -0) ➕ `tests/test_smoke_suite.py` (+126 -0) </details> ### 📄 Description ### Summary Implements **DX-07**: One-command synthetic source-only smoke suite. Provides developers and CI with a quick, deterministic, zero-asset validation mechanism across Windows, Linux, and macOS without requiring retail game packages, carved shaders, or specific GPU hardware. ### Key Capabilities - **Prerequisites Discovery**: \python -I scripts/smoke.py --prereqs-only\ audits Python 3.10+ satisfaction and detects optional toolchains (CMake, Ninja, MSVC, GCC, Clang, Vulkan SDK, Node, .NET). - **Sub-Second Quick Mode**: \python -I scripts/smoke.py --quick\ runs compilation (\compileall\), clean-room validation (\check_no_game_data.py\), and root CLI entry points in < 1 second. - **Unified Developer Forwarding**: Integrates seamlessly into \scripts/dev.py smoke\. - **Machine-Readable JSON**: Supports \--json\ for automated pipeline gating. - **Documentation**: Usage guide added to \docs/testing.md\. ### Verification - Ran standard-library test suite: \python -I tests/test_smoke_suite.py\ (7/7 PASS in 11.6s). - Clean-room check: \python -I scripts/check_no_game_data.py\ clean (0 issues). - Zero dependencies outside the Python standard library. - AI-assisted (Claude Code). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#748
No description provided.