jupyter / jupyter/notebook

Workflow failure when updating reference snapshots

Open
#7,360 0 comments 0 reactions 0 assignees View on GitHub
maintenance
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

The workflow to update reference Playwright snapshots often fails, and needs to be restarted manually for the update to be completed: https://github.com/jupyter/notebook/blob/main/.github/workflows/playwright-update.yml

It sometimes fails because of the UI test flakyness (a different issue).

And sometimes because of the following error:

https://github.com/jupyter/notebook/actions/runs/9059110076/job/24886021429

![image](https://github.com/jupyter/notebook/assets/591645/22a37ff8-0f6c-4c0f-9c74-6c9b82110193)

```
Run actions/upload-artifact@v4
With the provided path, there will be 3 files uploaded
Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
```

Contributor guide

Open the contributing guide

Research direction

Start with .github/workflows/playwright-update.yml and inspect the snapshot update workflow around actions/upload-artifact@v4. Review the linked failed workflow run to reproduce or understand the artifact conflict, while keeping the separate UI test flakiness issue distinct. Done means the reference snapshot update workflow completes without requiring a manual restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, jupyter-notebook, playwright
Domain
ci-cd, testing-qa
Issue type
Bug
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.