Skip to content

fix(packaging): remove stylesheet exports that are not shipped - #9730

Open
Krrish Mittal (takyyon) wants to merge 1 commit into
mainfrom
takyyon-fix/packaging-missing-stylesheet-exports
Open

Krrish Mittal (takyyon) wants to merge 1 commit into
mainfrom
takyyon-fix/packaging-missing-stylesheet-exports

Conversation

@takyyon

Copy link
Copy Markdown
Collaborator

Commit Type

  • feature - New functionality
  • fix - Bug fix
  • refactor - Code restructuring without behavior change
  • perf - Performance improvement
  • docs - Documentation update
  • test - Test-related changes
  • chore - Maintenance/tooling

Risk Level

  • Low - Minor changes, limited scope
  • Medium - Moderate changes, some user impact
  • High - Major changes, significant user/system impact

What & Why

Chatbot, Data Mapper V2, Logic Apps Shared, and the VS Code Extension library export ./build/lib/index.css in their package manifests, but their builds do not ship that file. Remove those four exports so the manifests describe what is actually in the tarballs. Remove Standalone's import of the missing Chatbot stylesheet; the other stylesheet imports stay in place.

Impact of Change

  • Users: No visual change is expected; the removed import did not point to a shipped stylesheet.
  • Developers: The four packages no longer advertise an unusable CSS subpath. JavaScript and type exports are unchanged.
  • System: No dependency or workflow changes.

Test Plan

  • Unit tests added/updated
  • E2E tests added/updated
  • Manual testing completed
  • Tested in: PR head: pnpm install --frozen-lockfile passed; npx --no-install biome check --write passed on all five changed files without edits; the committed diff matches the previously tested patch byte-for-byte. No unit or E2E tests were added or run locally for this PR.

Prior validation on v5.1023.0 plus this exact patch: 11/11 library build tasks passed and 9/9 packed tarballs passed export-target validation. A Standalone production build also passed on an earlier patched revision.

Contributors

Krrish Mittal (@takyyon)

Screenshots/Videos

Not applicable: packaging-only change.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@takyyon Krrish Mittal (takyyon) added the risk:medium Medium risk change with potential impact label Nov 23, 2026
Copilot AI balanced review requested due to automatic review settings November 23, 2026 16:24
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🤖 AI PR Validation Report

PR Review Results

Thank you for your submission! Here's detailed feedback on your PR title and body compliance:

✅ PR Title

  • Current: fix(packaging): remove stylesheet exports that are not shipped
  • Issue: The title is specific, concise, and accurately describes the packaging changes.
  • Recommendation: No changes required.

✅ Commit Type

  • Properly selected (fix).
  • Only one commit type is selected, and the change corrects invalid package exports and a missing stylesheet import.

✅ Risk Level

  • Assessment: Medium is selected in the body and matches the risk:medium label. Based on the diff, the advised risk is Low because the changes are limited to package export metadata and removal of an import targeting a file that is not shipped. The submitted risk is therefore more conservative than necessary.

✅ What & Why

  • Current: The body explains that four packages advertise a stylesheet that is not present in their tarballs and that the invalid exports and Standalone import are being removed.
  • Issue: No issue identified.
  • Recommendation: No changes required.

✅ Impact of Change

  • The impact section clearly addresses users, developers, and the system.
  • Recommendation:
    • Users: The stated lack of expected visual impact is appropriate.
    • Developers: The explanation of the removed CSS subpath and unchanged JavaScript/type exports is sufficient.
    • System: The statement that dependencies and workflows are unchanged is appropriate.

✅ Test Plan

  • The diff contains packaging/configuration changes only, and the body provides an adequate explanation for not adding unit or E2E tests. Manual validation, installation checks, formatting checks, library builds, tarball export validation, and a Standalone production build are documented.

✅ Contributors

  • The contributor section includes @takyyon.
  • Additional PM, designer, or reviewer credit may be added if applicable, but this is optional.

✅ Screenshots/Videos

  • Correctly marked as not applicable because this is a packaging-only change with no expected visual change.

Summary Table

Section Status Recommendation
Title ✅ No changes required
Commit Type ✅ fix is correctly selected
Risk Level ✅ Body and label match; Low is the advised risk based on the diff
What & Why ✅ Explanation is complete
Impact of Change ✅ User, developer, and system impacts are addressed
Test Plan ✅ Adequate validation and rationale for no automated test changes
Contributors ✅ Contributor is listed; optional additional credit may be added
Screenshots/Videos ✅ Correctly marked not applicable

PR passes. No required updates are needed. The submitted Medium risk is more conservative than the advised Low risk for this limited packaging change.


Powered by: Logic App (fallback) | Last updated: Mon, 23 Nov 2026 16:25:16 GMT

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 cleanup of unavailable stylesheet exports and the missing Chatbot stylesheet import.

No open issues 🎉

What changed in this PR

Aligns four library packages’ published export maps with their shipped files by removing unavailable stylesheet exports. JavaScript and type exports remain unchanged.

Changes:

  • Removes the ./build/lib/index.css export from Chatbot, Data Mapper V2, Logic Apps Shared, and VS Code Extension.
  • Removes Standalone’s import of the missing Chatbot stylesheet while preserving its other stylesheet imports.
File Description
libs/​vscode-extension/​package.json Removes the unavailable CSS export.
libs/​logic-apps-shared/​package.json Removes the unavailable CSS export.
libs/​data-mapper-v2/​package.json Removes the unavailable CSS export.
libs/​chatbot/​package.json Removes the unavailable CSS export.
apps/​Standalone/​src/​index.css Removes the missing Chatbot stylesheet import.

Review effort: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage Check

No source files changed in this PR.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-validated risk:medium Medium risk change with potential impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants