Shopify / Shopify/ci-queue

pytest: check if tests are already pushed before gathering all the tests

Open
#22 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Ruby
Stars
239
Forks
36
Avg merge
28m
Merged PRs (30d)
3

Description

Currently, all worker nodes

  • calculate the list of tests to push, then
  • check to see if that list has already been pushed to master, and if not,
  • try to push it.

We can shave off some test time if a worker first

  • checked to see if the list of tests has already been pushed. And if not,
  • calculate the list of tests to push, ...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the worker code that checks whether a test list was pushed and the code that gathers tests. Trace their current order, then adjust the flow so the existing-push check happens first. Done means workers avoid gathering tests when the list is already present, while the relevant test suite still passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
ci-cd, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.