-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Revert "reuse built frontend in ci, merge compose files (#6674)" #6876
Conversation
@eradman what is a reason for this PR? |
@AndrewChubatiuk the server does not start up correctly after these set of changes. As posted in the commit message: Current:
Expected:
Commit 3f19534 is a large change, and needs to broken into separate commits so that we can more easily test it and evaluate changes to behavior. |
for a local setup you need to use docker compose
I've added a PR, where added some fixes. #6877 |
The dev instructions need to be updated if Also, the server appears to be reachable on port 5000, not port 5001 as it was before. |
updated makefile in #6877 and changed port number in Readme to 5000 |
If we get the Makefile issues sorted out + change the port number back to 5001, would that be ok with you @eradman? A lot of the changes in the commit this is reverting seemed pretty rational. The port number change is an easy one to change back though. 😄 |
@justinclift if Moving the port back to 5001 is a good idea, but not necessary. Also,
|
No worries. 😄 Looking at the tags lists on the Node page on Docker Hub, we should probably go with |
I've just directly pushed a commit to |
The port should be changed back to 5001. The build succeeds now, but Cypress will not run
|
@eradman Good catch. The port number Cypress is trying to connect to comes from here: Line 5 in c12d450
That being said, I'm in favour of updating the default port to be 5001 too, especially after changing the setup.sh script to use that a few days ago. 😄
|
Build and tests work now from master. Closing |
Reopening since I continue to spend time (days) debugging problems with this. The latest issue is that the server does not auto-reload when changes are made, probably because of the changes to the docker volume mounts. |
where do you expect auto reload? |
need to add REDASH_PRODUCTION=false to .env file. it'll use other scripts for services, which support hot reload |
I will some issues as well |
Updated this PR to include all changes from April 8, 2024 - April 29. |
…)" Revert all commits >= 3f19534 These changes were far to invasive to test properly.
Rebasing to resolve conflicts. It is still my view that we should revert to the last stable condition. |
@eradman what issues do you have? you do not maintain any communication, so it's impossible to understand your point. if you local environment is not working it doesn't mean it's not stable |
Ouch. That'll be a pretty major reversion, but not impossible if there's serious stuff happening that doesn't look resolvable. |
For context: I have used the major part of three weeks hitting a series of new problems, some of which have been reported and fixed Some of which still need work I don't have more time (in the short term) to test fixes to functionality that existed prior to April 10, so reverting is the only way I can think to make progress with available resources. |
@eradman Understood. I'll take a look at rolling things back tomorrow (too sleepy right now), then figure out what other PRs we'll probably need to apply on top of it afterwards. There's been a few PRs that seem constructive and useful (dependabot, some of mine, and some others that seem useful). |
As a general note to everyone, this "reverting back to a known working state" approach is likely to go ahead. We (@getredash/maintainers) are just figuring out how to do it well. It might take us a few days to really work out the right process. 😄 Further reviews of PRs before that's completed is kind of useless, so don't anyone expect reviews to be happening over the next few days. I'm not real sure how well that's going to fit any currently happening reviews (sorry @masayuki038). Might be best to hold off on those until this large PR reverting is finished. |
Will try to refactor this as a series of commits to give the CI a chance to pass. |
What type of PR is this?
Description
Revert all commits >= 3f19534
These changes were far to invasive to test properly.
Reverted command used: