mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 13:00:55 +00:00
* 🚦 ci: Throttle Codegraph E2E Votes to One Run per Window A vote runs the whole mock suite on ten runners, about 154 job-minutes, and every merge to dev started one: 2,227 job-minutes on 2026-10-22, queued beside PR CI for the same runners. With repo variable CODEGRAPH_E2E_VOTE_MIN_HOURS set to N > 0, the votes workflow skips its push runs (in a concurrency group of their own) and the new Codegraph E2E Vote Gate decides instead: a merge starts a vote on dev (workflow_dispatch) once the newest started vote is N hours old, and an hourly catch-up votes the newest merge no vote covers once the window opens. A merge votes as before while the catch-up has not run for three hours or the history cannot be read. Unset, empty or 0 keeps today's push-triggered votes and skips the gate; CODEGRAPH_E2E_VOTES=off still stops both. The decision is a pure function in .github/scripts/vote-gate.mjs, tested in vote-gate.test.mjs and run beside the shard tests in playwright-mock.yml. * 🚦 fix: Keep an Unfinished Handoff Run from Covering Its Merge With the throttle on, a merge creates the votes workflow's push run, whose vote job will be skipped, and the gate's push run at about the same time. Until that handoff run completed, the gate read it as a queued trial: it matched the merge on head_sha, so the merge started no vote and waited for a later catch-up tick, and it also held the window as a started vote. While throttled, a push run that has not completed is now read as a handoff: it neither covers a merge nor holds the window. A finished push run that voted still counts as before. |
||
|---|---|---|
| .. | ||
| a11y.yml | ||
| agents-integration-tests.yml | ||
| backend-review.yml | ||
| cache-integration-tests.yml | ||
| client.yml | ||
| codegraph-e2e-vote-gate.yml | ||
| codegraph-e2e-votes.yml | ||
| codegraph-select.yml | ||
| data-provider.yml | ||
| data-schemas.yml | ||
| dev-branch-images.yml | ||
| dev-images.yml | ||
| dev-staging-images.yml | ||
| docker-publish.yml | ||
| docker-smoke.yml | ||
| frontend-review.yml | ||
| frontend-windows-nightly.yml | ||
| helmcharts.yml | ||
| langfuse-fanout.yml | ||
| lighthouse.yml | ||
| locize-i18n-sync.yml | ||
| main-image-workflow.yml | ||
| playwright-bombadil.yml | ||
| playwright-mock.yml | ||
| pr-retarget-dev.yml | ||
| promote-main.yml | ||
| promotion-tests.yml | ||
| retry-docker-builds.yml | ||
| static-checks.yml | ||
| sync-helm-chart-tags.yml | ||
| tag-images.yml | ||
| workspace-acceptance.yml | ||