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.

Assessment

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

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.

Description

enhancement

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, ...
Dominant language
Ruby
Stars
240
Forks
36
Avg merge
28m
Merged PRs (30d)
3

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.

More from Shopify/ci-queue

All issues in Shopify/ci-queue

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.