-
Notifications
You must be signed in to change notification settings - Fork 7
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
Why does demo disappear? #17
Comments
While unfortunate it is a pretty good sign that the demo is not up to date with the code. I kind of prefer this approach as otherwise you could be qa'ing the wrong build accidentally. |
I'd prefer we find other ways to signal that. One use for demos is to show proofs of concept to other teams, but the same also applies within our team: We'd like to be able to show someone a demo of something, and have it not suddenly disappear under their feet. Also, we absolutely don't want to discourage people from a) creating pull requests early, b) separating out their work into many small commits, c) regularly syncing with their remote branch. Knowing you're going to kill the demo discourages you from doing all these things. One suggestion someone had was that it would be nice if demos could show a little banner at the top of the site that says it was a demo, which PR it was built from, and this could also show which commit it was representing. But this sounds a little tricky to achieve. We maybe could do it though. |
An easier approach to injecting something into the build might be to have the so |
@hatched encoding the SHA in the URL is an interesting idea. But we can't (don't have the resources to) be running separate demos for each commit, so I assume you mean that However, I'd say it would have to be Although I don't see under what scenario someone would bother using So I think we can keep this idea in our back pocket, but right now I'm not sure it's worth the time to implement. |
@webteam-app posts a comment in a PR when it first starts a demo:
The bot could edit its own comment to reflect the latest start time and commit:
|
When a new commit is pushed to a PR, the demo seems to disappear for a while. This is the sort of thing that Kubernetes is supposed to avoid. Can we avoid it?
The text was updated successfully, but these errors were encountered: