OpenFn / OpenFn/lightning

Run/Claim flaky tests

Open
#3,170 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

Describe the bug

test concurrency in_progress_window/0

Classname: Elixir.Lightning.Runs.QueryTest
Failures: 10
Last occurrence: 4 hours ago

test claim can claim multiple runs up to project concurrency limit

Classname: Elixir.Lightning.Extensions.FifoRunQueueTest
Failures: 6
Last occurrence: 4 hours ago

test claim/1 claims with demand for all immediate run

Classname: Elixir.Lightning.RunsTest
Failures: 3
Last occurrence: 4 hours ago

test claim claims a run from any project sorting by insertion

Classname: Elixir.Lightning.Extensions.FifoRunQueueTest
Failures: 2
Last occurrence: 6 days ago

test claim/1 claims with demand

Classname: Elixir.Lightning.RunsTest
Failures: 1
Last occurrence: 13 days ago

Version number

v2.12

I have reproduced this locally on main:

  • Yes
  • No

To Reproduce Steps to reproduce the behavior:

CircleCI info

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 running the named tests in Elixir.Lightning.Runs.QueryTest, Elixir.Lightning.Extensions.FifoRunQueueTest, and Elixir.Lightning.RunsTest, focusing on the listed claim and concurrency cases. Trace the failures to determine why these tests are flaky; done means the affected tests pass consistently without intermittent failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.