Skip to content

fix(std): align public module inventory with tracked sources - #1048

Merged
LunaStev merged 1 commit into
wavefnd:masterfrom
erenbati:fix/std-module-manifest-1002
Oct 25, 2026
Merged

LunaStev merged 1 commit into
wavefnd:masterfrom
erenbati:fix/std-module-manifest-1002

Conversation

@erenbati

Copy link
Copy Markdown
Contributor

Closes #1002

Summary

  • Update the public std module inventory: remove the obsolete libc entry and include task, which is provided by tracked std/task.wave and std/task/net.wave.
  • Add a focused regression check to the existing tools.test_document_std suite (already invoked by CI) that compares the manifest against root module names derived from Git-tracked std/**/*.wave files. This deliberately ignores untracked or generated local files.
  • Preserve all other manifest entries, the manifest format, library license, and compatibility_revision: 5.

Motivation

The recorded public module list disagreed with the actual tracked source tree: std/libc no longer exists, while std/task.wave and std/task/net.wave do. The new regression test prevents future drift.

Target and compatibility impact

Standard-library manifest bookkeeping and Python tooling tests only. No changes to compiler behavior, target ABIs, Wave syntax, std public declarations or compatibility revision.

Validation

  • Test-driven: the new manifest consistency test failed before the fix (missing task and stale libc), then passed after the manifest update.
  • python -m unittest tools.test_document_std -v: 4/4 passed.
  • python -m unittest tools.test_document_std tools.test_package_inputs tools.test_release_publish tools.test_ci.PackageTests -q: 18 tests OK (3 platform-specific skips on Windows).
  • python tools/document_std.py --check: passed (checked-in std API and system docs remain current).
  • python -m py_compile tools/test_document_std.py: passed using native Windows Python 3.12.
  • Temporarily created an untracked std/private_local_untracked_probe_1002.wave source file: the tracked-only consistency test still passed; the temporary file was deleted.
  • Checked that the manifest's name, format, license and compatibility revision were unchanged, and only libc was replaced with task.
  • git diff --check: passed.
  • Rust compiler/runtime tests were not run locally; this patch updates metadata and a Python regression test. Rely on upstream CI for full-platform results.

Checklist

  • DCO Signed-off-by commit trailer present.
  • Regression test included in an existing CI-invoked test module.
  • No std/ compiler license boundary changes.
  • Existing generated standard-library inventory check passes.

AI assistance

AI assistance was used to inspect the tracked module layout, add the focused regression test, and verify the proposed patch. The contributor is responsible for the resulting changes.

@LunaStev
LunaStev merged commit 30c52d5 into wavefnd:master Oct 25, 2026
50 checks passed
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.

Align std manifest module inventory with libc removal and task modules

2 participants