feat: Relaxes --force enforcement on deploy an instead error in some cases #459
Closed
p4u1
wants to merge 2 commits from
(deleted):deploy-relax-force into main
pull from: (deleted):deploy-relax-force
merge into: :main
:main
:renovate/golang-1.27
:renovate/otel-weaver-0.x
:renovate/github.com-charmbracelet-bubbletea-2.x
:renovate/github.com-charmbracelet-log-2.x
:renovate/github.com-charmbracelet-lipgloss-2.x
:renovate/codespell-2.x
:local-integration-testing
:fix/492
:renovate/tonistiigi-xx-1.x
:renovate/alpine-3.x
:chore-deps
:fix/deps
:fix/613
Labels
Clear labels
bug
build
ci/cd
critical fix
design
documentation
duplicate
easy-first-issue
enhancement
help wanted
i10n
i18n
installer
invalid
question
release
release-candidate
security
tech-debt
test
wontfix
Something is not working
go build related issues
Building things with CI/CD
https://docs.coopcloud.tech/federation/resolutions/passed/010/
UI/UX
Documenting all the things
This issue or pull request already exists
Something for new people to get stuck into. We hope it's easy!
New feature
Need some help
Everything to do with localisation
Everything to do with internationalisation
Everything to do with the install script.
Something is wrong
More information is needed
Release management
Related to the new release candidate
Security related
Unit/integration testing
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/abra#459
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
@decentral1se what do you think?
Will finish when people think this is good
3988730341to5a4dac7e76This would be a breaking behaviour change in
abra app deploythat it would re-deploy in some cases and in others not vs. the current behaviour: refuse to re-deploy without--force/--chaos.That's also more internal bookkeeping that we have to do in the code. And if we handle these specific cases, then we'll be expected to handle more? The code will get harder and harder to maintain.
In both cases: 1) re-deploy a chaos deploy 2) re-deploy a downgrade - you can see this information already on the deploy overview. So, I'm not sure the break in behaviour and extra maintenance load is worth it?
Instead, why can't we improve the deploy overview?
Here's an example of the current deploy overview for a simple
deploy -f:A
<hash>(with optional+U) is already shown to signal the user that it is a chaos deployment.For the downgrade, we could add a visual element to the "TO DEPLOY" (?) to signal the "going down" 🔽 If you currently try to
deploy -f [version]a downgrade, you do have a visual indication of it:In general tho, I think if you "go it alone" with a
app deploy -f/-C, we can't offer much guarantees because there just could be anything going with the local / remote / recipe / env / etc. state?UPDATE: I'm iterating on the overview screen: coop-cloud/abra#460
coop-cloud/abra#460
Pull request closed