Skip to content

feat(cli): remove gap-report; swizzle prints feedback note#3255

Merged
ejhammond merged 1 commit into
xds-unprefix-integrationfrom
astryx/remove-gap-report
Jun 29, 2026
Merged

feat(cli): remove gap-report; swizzle prints feedback note#3255
ejhammond merged 1 commit into
xds-unprefix-integrationfrom
astryx/remove-gap-report

Conversation

@ejhammond

Copy link
Copy Markdown
Contributor

Summary

Removes the standalone gap-report command and its supporting subsystem. After a successful swizzle, the CLI now prints a short maintainer feedback note instead of filing GitHub issues directly.

What changed

  • Deleted the gap-report command, its tests, the swizzle gap-safety test, and the gap-report response types.
  • Swizzle no longer carries any gap behavior or flags (--gap, --gap-category, --no-report, --dry-run, --commit). On success it prints a feedback note:
    • Points at the issue tracker (https://github.com/facebook/astryx/issues/new).
    • When the URL is a GitHub "new issue" URL and the gh CLI is available, it also prints a ready-to-run gh issue create --repo <owner>/<repo> --title "[<Component>] Swizzle feedback" command.
  • The swizzle.copy JSON result drops gapReport/gapReportDryRun/gapReportSuppressed and adds an optional feedback: { issuesUrl, ghCommand? }. Existing fields (component, outputDir, filesCopied, files) are unchanged.
  • src/utils/github.mjs is trimmed down to just checkGhCli.
  • Removed gap-report from the JSON allowlist, command registration, manifest response types, and the ERR_GAP_REPORT_FAILED error code.

Notes

  • The config-schema and config type passthrough for gapReport is intentionally left in place as harmless dead config; a later change removes it.
Delete the standalone gap-report command and its supporting helpers.
After a successful swizzle the CLI now prints a short maintainer
feedback note pointing at the issue tracker (and, when the gh CLI is
available, a ready-to-run 'gh issue create' command) instead of
filing issues directly.

The swizzle.copy JSON result drops the gapReport fields and adds an
optional feedback object { issuesUrl, ghCommand? }.
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview, Comment Jun 29, 2026 11:11pm

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

No new or modified components detected.

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@astryxdesign/core N/A 4.6KB 0B

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

github-actions Bot added a commit that referenced this pull request Jun 29, 2026
@ejhammond ejhammond merged commit 9558751 into xds-unprefix-integration Jun 29, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

1 participant