Damus

Recent Notes

note19ykhy...
Beowulf profile picture
This depends on your reverse proxy. Nginx e.g. needs to be restarted (down time).
This is a more manual process.
Just this doesn't provide HA.

Have you ever used K8s? And just to say it: if no one would need it, it wouldn't exist...
note1w0yq3...
Beowulf profile picture
Ok, so you "temporarly" merge the feature branch in the CI?<li>Never saw this in the real world...</li><li>How does this work with merge conflicts? Most of the merge requests I see at work have merge conflicts. The CI wouldn't be able to fix them. And if you now pull main into your branch, we have the same situation as above, so why not just always do that?</li>
note195jx0...
Beowulf profile picture
I also think it would be the responsibility of the person who want to merge their stuff. If it is a rebase or merge is unrelated

Why?

I experienced way too often that a feature branch worked perfectly fine, tests were successful etc. Then it is merged in main and there was a change in some code which the feature branch uses etc and it breaks.
To prevent this, get the branch to the latest state before merging, build it and run tests. Afterwards merge it.

Otherwise I don't know a better way to prevent breakage on main.