Skip to content

[dashboard] revert Caddy bump #14119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 24, 2022
Merged

Conversation

AlexTugarev
Copy link
Member

@AlexTugarev AlexTugarev commented Oct 24, 2022

Description

This PR downgrades Caddy for dashboard, due to either an issue with Caddy itself, or with the config written for previous version.

Here is what's happen: requests for static resources get a 308 response unexpectedly, see

Screen Shot 2022-10-24 at 13 04 54

Related Issue(s)

Fixes #14116

How to test

Auth popup window should be closed automatically on login/signup.

Release Notes

NONE

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-alex-login-window-is-not-closed-14116.1 because the annotations in the pull request description changed
(with .werft/ from main)

because of issues with 308 responsed on static assests.
@AlexTugarev AlexTugarev force-pushed the alex/login-window-is-not-closed-14116 branch from 1c774b8 to c54b3bf Compare October 24, 2022 11:26
@AlexTugarev AlexTugarev changed the title debugger; [dashboard] revert Caddy bump Oct 24, 2022
@AlexTugarev AlexTugarev marked this pull request as ready for review October 24, 2022 11:30
@AlexTugarev AlexTugarev requested a review from a team October 24, 2022 11:30
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Oct 24, 2022
@easyCZ
Copy link
Member

easyCZ commented Oct 24, 2022

The upgrade contained changes to config as well #13276. If we go down the route of this downgrade, shouldn't we revert the config also?

@geropl
Copy link
Member

geropl commented Oct 24, 2022

If we go down the route of this downgrade, shouldn't we revert the config also?

Came here for this comment. Sadly it's not a simple revert. Note that there were a couple of changes, incl. for dashboard.

@AlexTugarev
Copy link
Member Author

@easyCZ, the PR only reverts Caddy the dashboard component, and there the config wasn't touched. See https://github.com/gitpod-io/gitpod/blob/main/components/dashboard/conf/Caddyfile

I think, as a follow up we should revert this PR and provide a fixed config.

@geropl
Copy link
Member

geropl commented Oct 24, 2022

, the PR only reverts Caddy the dashboard component, and there the config wasn't touched.

@AlexTugarev Can verify on this PR? E.g in previews envs last week, I only had this happen sometimes (maybe older envs).

@geropl
Copy link
Member

geropl commented Oct 24, 2022

, the PR only reverts Caddy the dashboard component, and there the config wasn't touched.

I tried a couple of times and never hit it, at least.

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

Test ✔️

@roboquat roboquat merged commit 6b24756 into main Oct 24, 2022
@roboquat roboquat deleted the alex/login-window-is-not-closed-14116 branch October 24, 2022 11:41
@AlexTugarev
Copy link
Member Author

@geropl, see the "How to test" for verification.

Auth popup window should be closed automatically on login/signup.

Basically, without this change the Auth window remains open.

@geropl
Copy link
Member

geropl commented Oct 24, 2022

Auth popup window should be closed automatically on login/signup.

Basically, without this change the Auth window remains open.

I know. Was worried about reproducability, but that does not matter. 👍

@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Oct 24, 2022
@aledbf aledbf mentioned this pull request Feb 9, 2023
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/XS team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Login window is not closed
4 participants