fix(ci): archive Maestro diagnostics before upload (#137)
Preserves hidden debug output and avoids upload-artifact rejecting Maestro-generated path characters.\n\nPlan: https://github.com/dzianisv/opencode-mobile/issues/136#issuecomment-5042902516 Co-authored-by: engineer <engineer@gray-knight-m1.local>
This commit is contained in:
21
.github/workflows/activation-e2e.yml
vendored
21
.github/workflows/activation-e2e.yml
vendored
@@ -188,19 +188,20 @@ jobs:
|
|||||||
path: artifacts/screenshots/*.png
|
path: artifacts/screenshots/*.png
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
|
|
||||||
|
- name: Package maestro debug + logcat
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
if [ -d artifacts/diag ]; then
|
||||||
|
tar -C artifacts -czf artifacts/activation-e2e-debug.tar.gz diag
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload maestro debug + logcat
|
- name: Upload maestro debug + logcat
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: activation-e2e-debug-${{ github.run_number }}
|
name: activation-e2e-debug-${{ github.run_number }}
|
||||||
path: |
|
path: artifacts/activation-e2e-debug.tar.gz
|
||||||
artifacts/diag/**
|
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
# Maestro's --debug-output nests the UI-hierarchy dump under a
|
# Archiving preserves Maestro's hidden `.maestro` hierarchy and
|
||||||
# hidden `.maestro/tests/<timestamp>/` directory. upload-artifact
|
# prevents upload-artifact from validating generated directory names
|
||||||
# excludes dotfiles/dot-directories by default, so every prior run
|
# such as "consent -> connect", whose `>` character is rejected.
|
||||||
# silently uploaded only logcat.txt/probe.txt and dropped the
|
|
||||||
# actual hierarchy dumps we need to diagnose flow failures (issue
|
|
||||||
# #104) — this was invisible because if-no-files-found: warn
|
|
||||||
# doesn't fail the step when SOME files still match.
|
|
||||||
include-hidden-files: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user