This topic was automatically generated from Slack. You can find the original thread here.
hey folks, got an error pushing to production:
This topic was automatically generated from Slack. You can find the original thread here.
hey folks, got an error pushing to production:
holy crap… i lost my trigger???
this was working fine. i literally tweaked one step, pushed to github, and… bam
reloaded… and got a 404. went back to the project, back in the workflow and the trigger is back. but how do i fix the github issue?
looking at github, both the production branch and dev branch do NOT have the latest changes i made
Today I logged into PD on a new machine. My changes were lost, but it was only to one step. I was able to re-write them and successfully push to production. Really worried about how the above happened - losing code should never happen, I guess I just got lucky it was only a few lines
Hey , did you create a new branch from production or re-used an (old) existing one?
The trigger is a separate entity, located in your account’s /sources. The workflow references it, and it’s not tied specifically to the workflow (since it can be the trigger for N workflows) unless you created the trigger in it
i had not made a new branch. i had edited one of the steps.
to be clear, im all good now, just worried about how it happened
Yeah, I understand. What happened is that the branch you were using was probably outdated. We recommend creating new branches from production so you don’t get this type of error
so the normal flow of, click edit, work, test, push to prod, is not recommended?
Best to create a new branch first, especially if previous merges were large
The rest you can continue like you do
why not default to new branches when Edit is clicked?
Edit should default to the last branch in development. What could be done is to delete merged branches
k. just sharing its a bit… frustrating. workflow was done, i was just tweaking it, and - i did it wrong apparently - even though its what i had done many times before then.
Totally appreciate your feedback. If you’d like us to take a further look at it, please file a ticket at Support - Pipedream
eh, at this point, i cant even see the errors anymore. next time ill log asap.