Skip to content

Close smoke coverage gap from .surface alias expansion#378

Merged
jeremy merged 2 commits intomainfrom
close-smoke-coverage-gap
Mar 25, 2026
Merged

Close smoke coverage gap from .surface alias expansion#378
jeremy merged 2 commits intomainfrom
close-smoke-coverage-gap

Conversation

@jeremy
Copy link
Member

@jeremy jeremy commented Mar 25, 2026

Summary

The .surface regen added alias support, registering every alias (campfirechat, docsfiles, singular→plural, mvmove, etc.) as its own CMD entry. The smoke suite wasn't updated to match, leaving 223 commands uncovered and blocking make release-check.

Test plan

  • make check-smoke-coverage reports 0 uncovered
  • make check passes

The .surface regeneration with alias support added 332 CMD entries for
aliases that the smoke suite didn't account for. Add smoke_aliases.bats
with group-level OOS markers that propagate to all leaf descendants,
and add a chat show test to smoke_campfire.bats.
Copilot AI review requested due to automatic review settings March 25, 2026 08:37
@github-actions github-actions bot added tests Tests (unit and e2e) enhancement New feature or request labels Mar 25, 2026
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b53bf6a353

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

chat show is an alias for chat line which requires a positional ID arg.
Mark it OOS since chat line is already tested.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the smoke coverage accounting to include the expanded alias command paths introduced by the regenerated .surface, ensuring make check-smoke-coverage reports zero uncovered leaf commands.

Changes:

  • Add a dedicated smoke file that marks alias-only command paths as out-of-scope (OOS) for coverage purposes.
  • Add a smoke test intended to cover chat show in the Campfire/Chat smoke suite.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

File Description
e2e/smoke/smoke_campfire.bats Adds coverage for a chat show path in the chat/campfire smoke suite.
e2e/smoke/smoke_aliases.bats Adds OOS markers to account for alias-expanded CMD entries in .surface for coverage checks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jeremy jeremy merged commit 988579f into main Mar 25, 2026
27 checks passed
@jeremy jeremy deleted the close-smoke-coverage-gap branch March 25, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request tests Tests (unit and e2e)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants