Skip to content

Don't bail command palette if there's no engineConnection#6286

Merged
pierremtb merged 2 commits intomainfrom
franknoirot/adhoc/fix-share-link-command
Apr 11, 2025
Merged

Don't bail command palette if there's no engineConnection#6286
pierremtb merged 2 commits intomainfrom
franknoirot/adhoc/fix-share-link-command

Conversation

@franknoirot
Copy link
Contributor

@franknoirot franknoirot commented Apr 11, 2025

The connection can't be bad if there is none yet :galaxy-brain:.

But seriously this behavior regressed share links because we would bail from the command palette because the connection wasn't healthy. This behavior was introduced in #5312 and not fixed by changes in #6265, only caught during smoke testing in #6283 luckily.

The connection can't be bad if there is not yet `:galaxy-brain:`.

But seriously this behavior regressed share links because we would bail
from the command palette because the connection wasn't healthy.
@franknoirot franknoirot requested a review from a team April 11, 2025 16:06
@vercel
Copy link

vercel bot commented Apr 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Apr 11, 2025 5:32pm

@qa-wolf
Copy link

qa-wolf bot commented Apr 11, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@codecov
Copy link

codecov bot commented Apr 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.97%. Comparing base (72ab72c) to head (4b76106).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6286   +/-   ##
=======================================
  Coverage   84.97%   84.97%           
=======================================
  Files         108      108           
  Lines       45169    45169           
=======================================
  Hits        38381    38381           
  Misses       6788     6788           
Flag Coverage Δ
rust 84.97% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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
Contributor

@pierremtb pierremtb left a comment

Choose a reason for hiding this comment

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

Tested locally! Thank you for the quick fix

@pierremtb pierremtb enabled auto-merge (squash) April 11, 2025 16:47
@pierremtb pierremtb merged commit 129b915 into main Apr 11, 2025
40 checks passed
@pierremtb pierremtb deleted the franknoirot/adhoc/fix-share-link-command branch April 11, 2025 18:24
modeling-app-github-app bot pushed a commit that referenced this pull request Apr 11, 2025
…6286)

The connection can't be bad if there is not yet `:galaxy-brain:`.

But seriously this behavior regressed share links because we would bail
from the command palette because the connection wasn't healthy.
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