Skip to content

chore(ci): Log check run ID to detect duplicates#9793

Merged
kodiakhq[bot] merged 1 commit into
cloudquery:mainfrom
erezrokah:chore/ci_log_run_id
Apr 10, 2023
Merged

chore(ci): Log check run ID to detect duplicates#9793
kodiakhq[bot] merged 1 commit into
cloudquery:mainfrom
erezrokah:chore/ci_log_run_id

Conversation

@erezrokah
Copy link
Copy Markdown
Member

Summary

Related to #9736 (comment). We've seen cases were apparently the GitHub JS SDK returns duplicate check runs, so adding a log for the ID to see what's up.

@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Apr 10, 2023
@kodiakhq kodiakhq Bot merged commit 72d9c50 into cloudquery:main Apr 10, 2023
@erezrokah erezrokah deleted the chore/ci_log_run_id branch April 10, 2023 11:08
per_page: 100
})
const runs = checkRuns.map(({ name, conclusion }) => ({ name, conclusion }))
const runs = checkRuns.map(({ id, name, conclusion }) => ({ id, name, conclusion }))
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why the diff shows the first id with the space after the comma, and the second id with the space before 🤷

kodiakhq Bot pushed a commit that referenced this pull request Apr 10, 2023
Follow-up from #9793.
Closes #9797 

Additionally, had to fix `name` entry for the following destination workflows:
* ClIckHouse
* Meilisearch
* MSSQL

As we [scan](https://github.com/cloudquery/cloudquery/blob/main/.github/workflows/wait_for_required_workflows.yml#L37) for a specific pattern in `wait-for-required-workflows`, namely, `name: "${action}"`.
kodiakhq Bot pushed a commit that referenced this pull request Apr 11, 2023

#### Summary

Fixes #9797. Follow up to #9793 and replaces #9813.

#9797 (comment) Confirms the ID is duplicated and we can filter using it

<!--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants