Skip to content

fix(dash0): name a tunneled check's bastion even when it is not on the page - #512

Merged
fclairamb merged 1 commit into
mainfrom
fix/tunnel-bastion-name
Oct 11, 2026
Merged

fclairamb merged 1 commit into
mainfrom
fix/tunnel-bastion-name

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

On the checks list, a tunneled check's "via " tooltip resolved the bastion only from the rows loaded on the page. Searching for the tunneled check (which filters the bastion out), or a bastion on a page not loaded yet, showed the generic label instead. The row now fetches the missing bastion through the shared ["check", org, uid] cache entry (one request per bastion) and keeps the no-request path when the bastion is loaded.

This was the cause of a flaky E2E test (check-ssh-tunnel.spec.ts "checks list shows a tunnel indicator naming the bastion", CI run 38119247079), which only passed when the hover landed before the search filtered the list. The test now waits for the bastion to leave the list before hovering: locally it fails 3/3 without the fix and passes 5/5 with it.

🤖 Generated with Claude Code

@codecov

codecov Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@6d31010). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #512   +/-   ##
=======================================
  Coverage        ?   82.71%           
=======================================
  Files           ?     1175           
  Lines           ?   121450           
  Branches        ?        0           
=======================================
  Hits            ?   100461           
  Misses          ?    20982           
  Partials        ?        7           
🚀 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.

…e page

The checks list resolved the bastion's name only from the checks loaded
on the current page, so a search for the tunneled check (which filters
the bastion out), or a bastion on a page not loaded yet, turned the
"via <bastion>" tooltip into the generic label. The row now fetches the
bastion when it is missing, through the shared ["check", org, uid] cache
entry (one request per bastion), and keeps the no-request path when it
is loaded.

check-ssh-tunnel.spec.ts "checks list shows a tunnel indicator naming
the bastion" was flaky because of it (CI run 38119247079): it now waits
for the search to drop the bastion before hovering. Locally it fails 3/3
without the fix and passes 5/5 with it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fclairamb
fclairamb enabled auto-merge (squash) October 11, 2026 09:35
@fclairamb
fclairamb force-pushed the fix/tunnel-bastion-name branch from 4b123c4 to dcee276 Compare October 11, 2026 09:35
@fclairamb
fclairamb merged commit d1bb246 into main Oct 11, 2026
26 checks passed
@fclairamb
fclairamb deleted the fix/tunnel-bastion-name branch October 11, 2026 09:50
fclairamb added a commit that referenced this pull request Oct 11, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.38.2](v0.38.1...v0.38.2)
(2026-10-11)


### Bug Fixes

* **dash0:** bug report screenshot shows the viewport, not the top of
the page ([#516](#516))
([114c547](114c547))
* **dash0:** center the auth card on mobile
([#490](#490))
([ca250f6](ca250f6))
* **dash0:** name a tunneled check's bastion even when it is not on the
page ([#512](#512))
([d1bb246](d1bb246))
* **deps:** update github.com/dop251/goja digest to 73dc7ed
([#503](#503))
([d2f7bfa](d2f7bfa))
* **deps:** update github.com/dop251/goja digest to a4bedf5
([#499](#499))
([638a4bb](638a4bb))
* **deps:** update go dependencies (non-major)
([#517](#517))
([9f6cbbc](9f6cbbc))
* **security:** address open code scanning and Dependabot alerts
([#514](#514))
([84dc69d](84dc69d))
* **status-pages:** fast staged loading for public status pages
([#504](#504))
([a269baa](a269baa))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

1 participant