Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

Stale screenshot baseline was used

Open david-allison opened this issue 2 months ago • 8 comments

Snapshot diff report vs main. Open screenshot-diff for diffs.

  • AddEditReminderDialogScreenshotTest: 9 changes
  • CardBrowserScreenshotTest: 1 change
  • CardTemplateEditorScreenshotTest: 3 changes
  • DeckPickerScreenshotTest: 2 changes
  • ExportDialogFragmentScreenshotTest: 1 change
  • ManageNotetypesScreenshotTest: 2 changes
  • NoteEditorScreenshotTest: 6 changes
  • ReminderTroubleshootingScreenshotTest: 3 changes
  • ReviewRemindersScreenshotTest: 19 changes
  • SharedDecksScreenshotTest: 1 change

All 47 changed screenshots

Looking into this; could be on us

Originally posted by @david-allison in https://github.com/ankidroid/Anki-Android/issues/21886#issuecomment-5722390715

david-allison avatar Sep 17 '26 23:09 david-allison

Baseline is from 194d2844a27e, very stale

david-allison avatar Sep 17 '26 23:09 david-allison

GPT-6 said we could do better with how our screenshot CI selects the base branch.

It's not an area that I'm strong with... I feel this is a rare bug, triggered by a GitHub bug, so I won't take this on

david-allison avatar Sep 18 '26 16:09 david-allison

This became a significant issue today

david-allison avatar Sep 24 '26 22:09 david-allison

Hi @david-allison! I’d be interested in helping investigate this. I recently worked with the Roborazzi screenshot tests for #22145, so I’d be happy to look into the 47 changed baselines and determine whether they’re genuinely stale or caused by recent UI changes. Let me know if you’d like me to take this up.

Ranjan-3105 avatar Sep 29 '26 13:09 Ranjan-3105

This one is caused by a bug in GitHub, probably not a good first issue.

I have a fix locally, but it's a bit involved, and I'd rather wait for GitHub to resolve it

david-allison avatar Sep 29 '26 14:09 david-allison

This is fixed upstream:

  • https://github.com/dawidd6/action-download-artifact/pull/432
  • https://github.com/dawidd6/action-download-artifact/releases/tag/v27

david-allison avatar Oct 02 '26 17:10 david-allison

Ohhh great ! I will have a look.

Ranjan-3105 avatar Oct 02 '26 17:10 Ranjan-3105