MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1ph0hwa/cursed_deploy_script/nswh53j/
r/programminghorror • u/eBright • Dec 08 '25
65 comments sorted by
View all comments
Show parent comment
59
For me it's the deployment treating a successful deployment of dev to staging as the trigger to then push immediately to main.
Soaking and monitoring for errors? Don't need it! It deployed to staging, that's good enough for prod!
23 u/eBright Dec 08 '25 yeah haha this was the reason I posted it; running ‘npm run bigdeploy’ just sends it right to main 18 u/Undercraft_gaming Dec 08 '25 Thats very true but I suspect the main audience in here is students who dont know what deployment pipelines are, so just go for the low hanging fruit of “AI writes with emojis. But AI bad, therefore emoji in code bad” 2 u/patrickwonders Dec 08 '25 Yes... I also found it weird to push from dev to main instead of staging to main... but I suppose I don't know how other people do it. 1 u/scirc Dec 11 '25 If you just updated staging to the same commit as dev, then staging -> dev is identical to main -> dev. 2 u/skob17 Dec 08 '25 as someone who has to go through formal testing on the qa environment, and get approval before going to prod, this scared me
23
yeah haha this was the reason I posted it; running ‘npm run bigdeploy’ just sends it right to main
18
Thats very true but I suspect the main audience in here is students who dont know what deployment pipelines are, so just go for the low hanging fruit of “AI writes with emojis. But AI bad, therefore emoji in code bad”
2
Yes... I also found it weird to push from dev to main instead of staging to main... but I suppose I don't know how other people do it.
1 u/scirc Dec 11 '25 If you just updated staging to the same commit as dev, then staging -> dev is identical to main -> dev.
1
If you just updated staging to the same commit as dev, then staging -> dev is identical to main -> dev.
staging
dev
main
as someone who has to go through formal testing on the qa environment, and get approval before going to prod, this scared me
View all comments
Show parent comment
59
u/thuktun Dec 08 '25
For me it's the deployment treating a successful deployment of dev to staging as the trigger to then push immediately to main.
Soaking and monitoring for errors? Don't need it! It deployed to staging, that's good enough for prod!