Title: CI: Reduce unnecessary jobs · Issue #182 · github/codeql-action · GitHub
Open Graph Title: CI: Reduce unnecessary jobs · Issue #182 · github/codeql-action
X Title: CI: Reduce unnecessary jobs · Issue #182 · github/codeql-action
Description: We currently have 3 workflows that run as part of the CI, and they run on both push and pull-request. codeql.yml: Basic sanity check of the CodeQL behavior. Splits into 3 jobs of up to 9 minutes. Hopefully this will improve soon with #17...
Open Graph Description: We currently have 3 workflows that run as part of the CI, and they run on both push and pull-request. codeql.yml: Basic sanity check of the CodeQL behavior. Splits into 3 jobs of up to 9 minutes. H...
X Description: We currently have 3 workflows that run as part of the CI, and they run on both push and pull-request. codeql.yml: Basic sanity check of the CodeQL behavior. Splits into 3 jobs of up to 9 minutes. H...
Opengraph URL: https://github.com/github/codeql-action/issues/182
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI: Reduce unnecessary jobs","articleBody":"We currently have 3 workflows that run as part of the CI, and they run on both `push` and `pull-request`.\r\n\r\n- codeql.yml: \r\n - Basic sanity check of the CodeQL behavior. \r\n - Splits into 3 jobs of up to 9 minutes. \r\n - Hopefully this will improve soon with https://github.com/github/codeql-action/pull/172 and similar changes\r\n\r\n- pr-checks.yml:\r\n - Code quality checks\r\n - Splits into 5 jobs of less than 30 seconds\r\n\r\n- integration-testing.yml:\r\n - Extensive coverage of cross-feature behavior.\r\n - Splits into 19 jobs of between 5 and 15 minutes.\r\n - https://github.com/github/codeql-action/pull/172 is planning to add 21 additional jobs\r\n\r\nAll those parallel jobs compete for the same resources. Running them twice means that each push we are running 27x2 -\u003e 54 jobs, filling up the queue.\r\n\r\n**Proposal**\r\n1. Change `pr-checks.yml` to be only on `push` (maybe rename to `linting`?)\r\n2. Change `codeql.yml` to be on `push` only for `main` and `v1`, and `pull-request` for all.\r\n3. Change `integration-testing` to be on `pull-request` and only on push for `main` and `v1`\r\n4. Ideally sort the jobs in `integration-testing` from the more likely to fail to the less likely to fail, and make the latter conditional on the former.\r\n * This is the strategy I am hoping to adopt for https://github.com/github/codeql-action/pull/172\r\n\r\nThis would avoid duplication of jobs without reducing the coverage we get.","author":{"url":"https://github.com/marcogario","@type":"Person","name":"marcogario"},"datePublished":"2020-09-11T12:08:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/182/codeql-action/issues/182"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7b09eb3c-5440-aa80-f872-db6e490d0c75 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D948:206F88:3232A53:44D89F0:6A54A5C4 |
| html-safe-nonce | 7dca61368fa144bf257c0584c6194f448a1e87c0cf462b1b41a163a49980f3a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTQ4OjIwNkY4ODozMjMyQTUzOjQ0RDg5RjA6NkE1NEE1QzQiLCJ2aXNpdG9yX2lkIjoiNDIxMDA1Njc5MDc3NDQyNTAyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6baa259213535f5fe69da55bd3a8fe96ba41cf55063aa8ea8a7a076125b3794e |
| hovercard-subject-tag | issue:699236909 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8870504a58b29a35631d5493f6cf3e53cc1b80db36f77187db0fe7cbb6b2ed73/github/codeql-action/issues/182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8870504a58b29a35631d5493f6cf3e53cc1b80db36f77187db0fe7cbb6b2ed73/github/codeql-action/issues/182 |
| og:image:alt | We currently have 3 workflows that run as part of the CI, and they run on both push and pull-request. codeql.yml: Basic sanity check of the CodeQL behavior. Splits into 3 jobs of up to 9 minutes. H... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marcogario |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width