googleapis / googleapis/google-api-nodejs-client

Apiary updates have become difficult & painful

Offen
#3,715 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
size: m type: process
Vorherrschende Sprache
TypeScript
Sterne
12.2k
Forks
2k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
24

Beschreibung

1. Recently, apiary updates have started failing, see our [action log](https://github.com/googleapis/google-api-nodejs-client/actions/workflows/update-apis.yaml). Some of these were due to Node 18 see (fixes #3685, #3686), but others seem to mysteriously fail with "Unprocessable Entity".
2. The action often will result in a PR that looks fine, but when you go to merge it says: "This branch cannot be rebased". However it will not suggest the normal conflict-resolution suggestions, and so far the only way I have solved this is by manually-merging.
3. Release PRs must be merged via a Squash strategy for release-please, but generator PRs need to be merged via Rebase. Github just recommends the latest way of merging, and there are no restrictions/rules to this back-and-forth strategy changing.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the update-apis.yaml workflow and its action log to identify the Unprocessable Entity failures and Node 18-related behavior. Then inspect the generated PR merge failures and the differing squash versus rebase requirements for release-please and generator PRs. Done means the Apiary update workflow completes reliably and the required merge strategy is clear and workable.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git, github, github-actions, nodejs, typescript
Bereich
ci-cd, devops, release
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.