lookit / lookit/lookit-api

`RunnerDetailsViewsTestCase` test failing

Open
#1,679 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
21
Avg merge
5d 19h
Merged PRs (30d)
5

Description

Summary

The RunnerDetailsViewsTestCase recently failed on CI (see here). It passed after re-running the tests. So there is something non-deterministic about the test set up. My guess is that it's making a real HTTP request as part of EFP checks on experiment runner URLs/commits, and the request needs to be mocked.

Image

Contributor guide

Open the contributing guide

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

Locate the RunnerDetailsViewsTestCase and reproduce the CI failure described in the linked CircleCI run. Start by tracing its EFP checks for experiment runner URLs and commits, then inspect whether they perform real HTTP requests. Done means the test setup is deterministic and the test passes without depending on an external request.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.