question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

develop -> main merges do not trigger a release

See original GitHub issue

Description

Merges from develop to main do not trigger a new build in Amplify. We are unsure of why this is happening because the project-stats workflow triggers a release of main without an issue.

  • Review docs after investigating this issue and make any needed updates

Workaround: Wait for the project-stats workflow to run and trigger a release.

Possibly related things

The project-stats workflow commits directly to develop and cherry picks the commit to main. This is still working correctly, however it’s worth noting that the main branch is considered to be over 2000 commits ahead of main.

Acceptance Criteria

  • Confirm with @jbeveland27 if there was a specific reason this approach was taken for project-stats
  • Implement option 3

dont make project stats commits to develop. its those commits (and their frequency) that mainly contribute to this problem. it seems like we dont need to make them to develop since we make them to main anyways. if we went with this option, it kind of overlaps with solution 2 (and simplifies things), since we dont need to merge periodically, only when changes are introduced. additionally, there is another benefit we gain in that prs from develop -> main will be easier to review -- since there will be less changes in the PR.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jbeveland27commented, Jun 11, 2021

main is ahead of develop by design (for better or worse). It’s because the stats sync - commits are made to develop and then cherry-picked from develop to main, which creates a new commit in main that doesn’t exist in develop.

The important thing I tried to keep track of is when main is behind develop (which is easy to see in the GitHub UI), there are changes in stage that are pending release to production. Once main is no longer behind develop, you know staging and production are in sync.

image

0reactions
nr-opensource-botcommented, Aug 19, 2021

🎉 This issue has been resolved in version 1.15.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git pull request merge is not triggering pipeline
The issue is, whenever a PR is created and somebody is merging that PR to master or any other branch, IT SHOULD TRIGGER...
Read more >
commits with fix or feat not triggering new release #734 - GitHub
Current behavior I have some commits contains fix() and feat() but still not triggered a new release, the log: Expected behavior should ......
Read more >
Azure DevOps Pipeline not triggering when merge-commit ...
When we merge the PR to master it does NOT trigger the CI trigger at all. In the azure devops panel it never...
Read more >
Pull requests not triggering build - CircleCI Discuss
The pull request hasn't actually made any changes in the code, so there is nothing to run. That is why it only runs...
Read more >
git-merge Documentation - Git
Incorporates changes from the named commits (since the time their histories diverged from the current branch) into the current branch. This command is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found