Skip to content

test(smoke): assert the ASCII deps table in the binary smoke test - #4076

Merged
Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-fix-smoke-ascii-table
Nov 20, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-fix-smoke-ascii-table

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Why

The v0.37.0 release validation (run 44695495012) failed on Linux x86_64, Linux arm64 and macOS x86_64 in tests/integration/test_core_smoke.py::TestBinaryStartup::test_apm_rich_table_runs. #4004 renders every Rich table with ASCII borders (the repo encoding rule), but this release-only smoke test still required the Unicode border U+2502.

What

Assert that the package row, including the wide CJK cell, sits inside the ASCII table. The wide-cell coverage of the frozen binary is unchanged. Test-only.

Validation

Ran apm deps list from main's source on the same fixture: the row renders as | test-org/wide-中 | 1.0.0 | .... ruff check and ruff format --check pass on the file.

Unblocks the v0.37.0 tag.

PR #4004 renders all Rich tables with ASCII borders (encoding rule); the release-only
binary smoke test still required a Unicode border. Assert the package row inside the
ASCII table instead, keeping the wide-cell coverage.

Co-authored-by: Copilot App <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the test-only update aligning the smoke-test expectation with ASCII table borders.

No open issues 🎉

What changed in this PR

Updates the frozen-binary smoke test to match the ASCII table borders introduced in #4004, removing the stale Unicode-border expectation behind the reported release-validation failures.

Changes:

  • Checks that the dependency row appears on a line beginning with an ASCII table border.
  • Preserves coverage of the wide CJK package name.
  • Changes only the test; production behavior is unchanged.
File Description
tests/​integration/​test_core_smoke.py Replaces the Unicode-border assertion with an ASCII package-row check.

Review effort: Balanced

@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit 1b96706 into main Nov 20, 2026
28 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the danielmeppiel-fix-smoke-ascii-table branch November 20, 2026 07:47
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