Skip to content

chore(protocol-visualization): scaffold package, tests, and CI workflow#21087

Merged
y3rsh merged 2 commits intoedgefrom
AUTH-2827-scaffold-protocol-visualization
Mar 23, 2026
Merged

chore(protocol-visualization): scaffold package, tests, and CI workflow#21087
y3rsh merged 2 commits intoedgefrom
AUTH-2827-scaffold-protocol-visualization

Conversation

@y3rsh
Copy link
Copy Markdown
Member

@y3rsh y3rsh commented Mar 23, 2026

Overview

Adds @opentrons/protocol-visualization: stub exports, link: deps on components, shared-data, step-generation, Vitest (including workspace resolution smoke test), Vite/tsconfig, in-repo PLAN / CONVENTIONS / README. New workflow protocol-visualization-ci. tsconfig paths (+ tsconfig-eslint) fix types for @opentrons/components without a prior components/lib build. No changes under app/, components/, or step-generation/ source.

Test Plan and Hands on Testing

  • CI for everything works

Changelog

  • Docs and Cursor skill row for the package
  • No breaking changes

Risk assessment

  • Low product risk (scaffold only)

@y3rsh y3rsh self-assigned this Mar 23, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2026

Codecov Report

❌ Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.72%. Comparing base (46b4b6e) to head (1ce2a50).
⚠️ Report is 5 commits behind head on edge.

Files with missing lines Patch % Lines
protocol-visualization/src/index.ts 25.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #21087      +/-   ##
==========================================
+ Coverage   56.62%   57.72%   +1.09%     
==========================================
  Files        3992     3956      -36     
  Lines      330706   324094    -6612     
  Branches    46678    46113     -565     
==========================================
- Hits       187260   187079     -181     
+ Misses     143225   136796    -6429     
+ Partials      221      219       -2     
Flag Coverage Δ
app 45.20% <0.00%> (+0.01%) ⬆️
protocol-designer 19.96% <25.00%> (-0.01%) ⬇️
step-generation 5.69% <25.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
protocol-visualization/src/index.ts 25.00% <25.00%> (ø)

... and 279 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

seems reasonable, thanks! these all work at the root of the monorepo:

make -C protocol-visualization lint
make -C protocol-visualization check-ts
make -C protocol-visualization test
make -C protocol-visualization lib

looks like ci is failing though. feel free to merge after it passes.

@y3rsh y3rsh merged commit b26b1cd into edge Mar 23, 2026
68 of 69 checks passed
Comment thread tsconfig-eslint.json
Comment on lines +7 to +10
"/protocol-designer/*": ["./protocol-designer/src/*"],
"@opentrons/components": ["./components/src/index.ts"],
"@opentrons/shared-data": ["./shared-data/js/index.ts"],
"@opentrons/step-generation": ["./step-generation/src/index.ts"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why did this change?

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.

3 participants