Skip to content

Addressing comment on PR #170 #183

Addressing comment on PR #170

Addressing comment on PR #170 #183

Triggered via dynamic December 18, 2025 00:26
Status Success
Total duration 4m 12s
Artifacts

copilot

on: dynamic
Fit to window
Zoom out
Zoom in

Annotations

1 error
copilot
8 tests passed, 3 failed.\n2025-12-18T00:24:06.6017593Z ##[error]Process completed with exit code 1.\n2025-12-18T00:24:06.6072840Z ##[group]Run actions/upload-artifact@v4\n2025-12-18T00:24:06.6073341Z with:\n2025-12-18T00:24:06.6073537Z name: golden-diffs\n2025-12-18T00:24:06.6073787Z path: test/screenshots/failures/**/*.png\n\n2025-12-18T00:24:06.6074073Z if-no-files-found: warn\n2025-12-18T00:24:06.6074303Z retention-days: 7\n2025-12-18T00:24:06.6074510Z compression-level: 6\n2025-12-18T00:24:06.6074738Z overwrite: false\n2025-12-18T00:24:06.6074956Z include-hidden-files: false\n2025-12-18T00:24:06.6075392Z env:\n2025-12-18T00:24:06.6075671Z FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.38.3-x64\n2025-12-18T00:24:06.6076030Z PUB_CACHE: /home/runner/.pub-cache\n2025-12-18T00:24:06.6076288Z ##[endgroup]\n2025-12-18T00:24:06.8223648Z With the provided path, there will be 24 files uploaded\n2025-12-18T00:24:06.8228854Z Artifact name is valid!\n2025-12-18T00:24:06.8229938Z Root directory input is valid!\n2025-12-18T00:24:06.9821254Z Beginning upload of artifact content to blob storage\n2025-12-18T00:24:07.3227526Z Uploaded bytes 349294\n2025-12-18T00:24:07.3659773Z Finished uploading artifact content to blob storage!\n2025-12-18T00:24:07.3662862Z SHA256 digest of uploaded artifact zip is 2ca5d7540e5538eb935cdd9a2db4340702bdab8c7f229f5b8ec0b02616b7cde9\n2025-12-18T00:24:07.3664327Z Finalizing artifact upload\n2025-12-18T00:24:07.4823086Z Artifact golden-diffs.zip successfully finalized. Artifact ID 4906072824\n2025-12-18T00:24:07.4824362Z Artifact golden-diffs has been successfully uploaded! Final size is 349294 bytes. Artifact ID is 4906072824\n2025-12-18T00:24:07.4831373Z Artifact download URL: https://github.com/richardthe3rd/cambridge-beer-festival-app/actions/runs/20321598038/artifacts/4906072824\n2025-12-18T00:24:07.4965486Z ##[group]Run exit 1\n2025-12-18T00:24:07.4965780Z \u001b[36;1mexit 1\u001b[0m\n2025-12-18T00:24:07.4997600Z shell: /usr/bin/bash -e {0}\n2025-12-18T00:24:07.4997847Z env:\n2025-12-18T00:24:07.4998124Z FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.38.3-x64\n2025-12-18T00:24:07.4998489Z PUB_CACHE: /home/runner/.pub-cache\n2025-12-18T00:24:07.4998753Z ##[endgroup]\n2025-12-18T00:24:07.5051405Z ##[error]Process completed with exit code 1.\n2025-12-18T00:24:07.5120861Z ##[group]Run actions/github-script@v7\n2025-12-18T00:24:07.5121299Z with:\n2025-12-18T00:24:07.5124524Z script: const comment = `## ❌ Visual Regression Detected\n\nScreenshot tests failed! This indicates visual changes that don't match the golden files.\n\n### What happened:\nSome screenshots don't match the expected golden files. This could be:\n1. **Intentional UI changes** - You meant to change the UI\n2. **Unintentional regressions** - Something broke the UI accidentally\n\n### Next steps:\n\n#### If changes are intentional:\n1. Review the visual changes carefully\n2. Go to **Actions → Screenshot Tests** workflow\n3. Click **Run workflow** on your branch\n4. Set **Update golden files** to \\`true\\`\n5. Run the workflow to update the goldens\n\n#### If changes are unintentional:\n1. Check the uploaded failure artifacts (above) to see the differences\n2. Fix the UI regression in your code\n3. Push the fix to re-run tests\n\n### View differences:\nDownload the **golden-diffs** artifact from this workflow run to see what changed.\n`;\n\ngithub.rest.issues.createComment({\n issue_number: context.issue.number,\n owner: context.repo.owner,\n repo: context.repo.repo,\n body: comment\n});\n\n2025-12-18T00:24:07.5128183Z github-token: ***\n2025-12-18T00:24:07.5128398Z debug: false\n2025-12-18T00:24:07.5128615Z user-agent: actions/github-script\n2025-12-18T00:24:07.5128881Z result-encoding: json\n2025-12-18T00:24:07.5129099Z retries: 0\n2025-12-18T00:24:07.5129330Z retry-exempt-status-codes: 400,401,403,404,422\n2025-12-18T00:24:07.5129619Z env:\n2025-12-18T00:24:07.5129890Z FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.38.3-x64\n2025-12-18T00:24:07.5130233Z PUB_CACHE: /home/runn