Skip to content

ci: tolerate upstream poky rebases + drop qemu-runtime cron#11

Merged
EmbeddedAndroid merged 1 commit into
mainfrom
ci-fixes
May 20, 2026
Merged

ci: tolerate upstream poky rebases + drop qemu-runtime cron#11
EmbeddedAndroid merged 1 commit into
mainfrom
ci-fixes

Conversation

@EmbeddedAndroid
Copy link
Copy Markdown
Owner

Two unrelated CI failures bundled because both fixes are small.

  1. *parse (scarthgap / ) — fails on cache restore when upstream poky/scarthgap has been rebased:

    ! [rejected] scarthgap -> origin/scarthgap (non-fast-forward)
    

    Switch the fetch refspec to the force form (`+ref:remote-ref`) and, on any harder failure, fall back to a clean re-clone so a corrupted/cache-poisoned poky tree never permanently wedges the matrix. qemu-runtime.yml had the identical bug — fixed the same way.

  2. qemu-runtime — the weekly cron has been consistently hitting the GitHub Actions 6-hour job-runtime cap (latest run cancelled at 6h 37min). Drop the schedule; leave `workflow_dispatch` only until we point this at a self-hosted runner (e.g. fio) with persistent sstate. Avoids burning ~6h of CI minutes every Sunday on a guaranteed-failure run.

Two unrelated CI failures rolled into one PR because they're both small.

1. ci.yml parse jobs were failing on scarthgap whenever the cached poky
   checkout was older than upstream's rebased scarthgap tip:

       ! [rejected] scarthgap -> origin/scarthgap (non-fast-forward)

   `git fetch ref:remote-ref` refuses non-fast-forward updates by
   default. Switch to a `+ref:remote-ref` force refspec, and on any
   harder failure fall back to a clean re-clone so a corrupted cache
   never permanently wedges the matrix. qemu-runtime.yml had the same
   bug -- fix it the same way.

2. qemu-runtime's weekly cron has been consistently hitting the GitHub
   Actions 6h job-runtime cap (latest run cancelled at 6h 37min). The
   full core-image-weston build from a cold sstate doesn't fit in the
   hosted-runner budget. Drop the schedule and leave it as manual
   dispatch only until we point it at a self-hosted runner with
   persistent sstate.
@EmbeddedAndroid EmbeddedAndroid merged commit fe24018 into main May 20, 2026
22 checks passed
@EmbeddedAndroid EmbeddedAndroid deleted the ci-fixes branch May 20, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant