Skip to content

[Tests] Preserve void-module checks across instance printing forms - #366

Merged
zhoubot merged 1 commit into
mainfrom
codex/pr363-instance-test-adapter
Oct 27, 2026
Merged

zhoubot merged 1 commit into
mainfrom
codex/pr363-instance-test-adapter

Conversation

@zhoubot

@zhoubot zhoubot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Summary

PR #363 changes normal ac.instance printing from the quoted generic name to an unquoted operation name. The void-module tests added in #364 then count zero child instances and fail three cases. Accept both spellings while retaining exact callee, two-instance and zero-result assertions.

Change type

  • Bug fix
  • Tests / CI

Related issues

Related to #363 and #361. This is a prerequisite integration repair for #363; #364 is already merged. It does not close #361.

Changes

Tests/System owner: adjust two text filters in tests/system/test_void_module_results.py. No compiler, DUT, runtime, backend or semantic contract changes.

Validation

  • PASS: changed-file SKIP=pyc-api-hygiene pre-commit run --files tests/system/test_void_module_results.py (Ruff, Black and text checks), exit 0; git diff --check, exit 0.

  • Reproduced on [IR] 建立规范化资源接口与事务阶段契约 #363 b69202a plus main da1e315: three void-module tests fail with 0 rather than 2 detected instances.

  • PASS after this exact two-line fix: python -m pytest -q tests/system/test_void_module_results.py, 30/30, exit 0, on integration commit 19fcf70b3a00e32ac47dbb7e723dfd438cdb0aac. Compiler rebuilt and installed in that checkout with LLVM/MLIR 22.1.8; generated C++/Verilog execution remains in the existing tests.

  • Adapter commit: 271c707; local raw integration evidence: docs/gates/logs/20261027-review-pr363/void-before.log and void-after.log. These are local records; the results above are the remotely readable summary.

  • NOT RUN: nightly and long matrices, outside this two-line test adaptation.

  • Executed checks and outcomes are recorded above

  • Skipped, deferred or unavailable checks and reasons are recorded above

Review checklist

  • Scope and affected contracts are identified; new proposals are distinguished from approved behavior
  • Tests cover relevant supported behavior and rejection/rollback boundaries
  • Both backends preserve common-IR semantics where affected; no fixture-specific admission or fallback shim
  • Active documentation and remaining callers are updated where needed
  • No generated build output, temporary evidence logs or secrets are committed
  • Required CI and independent reviews are complete for this candidate

Reviewer notes

Independent native reviewer inspected the integration candidate and before/after evidence: clear. Implementation and review were separate instances; reviewer inherited session model/effort with no override. Remote CI is pending. No new hardware capability is claimed; ordinary child execution assertions remain unchanged. This separate prerequisite is needed because the #363 fork disallows maintainer edits and the current account has no fork write access.

@zhoubot
zhoubot requested a review from xiekunpeng as a code owner October 27, 2026 14:14
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T14:15:40.517319Z 271c707 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@zhoubot
zhoubot merged commit c220222 into main Oct 27, 2026
4 checks passed
@zhoubot
zhoubot deleted the codex/pr363-instance-test-adapter branch October 27, 2026 14:15
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.

[IR] 统一 Module/Rule/Method 前端、事务级 ACIR 与 gfsim/RTL 编译语义

1 participant