Skip to content

fix(ui): offer the Logs tab when a site's only source is a worker#1111

Open
geodro wants to merge 1 commit into
mainfrom
fix/stripe-logs-tab-proxy-only
Open

fix(ui): offer the Logs tab when a site's only source is a worker#1111
geodro wants to merge 1 commit into
mainfrom
fix/stripe-logs-tab-proxy-only

Conversation

@geodro

@geodro geodro commented Jul 23, 2026

Copy link
Copy Markdown
Member

The site detail gated its Logs tab on app logs, a PHP-FPM or container runtime, or a supervised dev server. A site whose sole log source is a background worker, such as a proxy-only host-proxy site running a Stripe listener, matched none of those, so the whole Logs tab was hidden even though the inner logs view would have built a Stripe sub-tab and the stream worked.

Whether to offer the tab now runs through a single siteHasLogSources helper that mirrors the sources the logs view actually builds, running or failing workers included, so the tab appears exactly when there is something to show.

Refs #1110

The site detail gated its Logs tab on app logs, a PHP-FPM or container runtime, or a supervised dev server. A site whose sole log source is a background worker, such as a proxy-only host-proxy site running a Stripe listener, matched none of those, so the whole Logs tab was hidden even though the inner logs view would have built a Stripe sub-tab and the stream worked.

Whether to offer the tab now runs through a single siteHasLogSources helper that mirrors the sources the logs view actually builds, running or failing workers included, so the tab appears exactly when there is something to show.
@geodro
geodro requested a review from a team as a code owner July 23, 2026 13:30
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