Canary builds are ordered by commit hash, not by time, and an all-digit hash loses its leading zero
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 68/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- shell
- Domaine
- build-system, release
Piste de recherche
Start with tools/build.sh and trace how the canary version is assembled and passed to npm version. Check the resulting names and their ordering for hashes containing letters, all-digit hashes, and leading-zero hashes. Done means canary identifiers preserve the full short hash and publish in chronological version order without changing the stated 21-line release behavior.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
tools/build.sh names each canary build <version>-canary.<short sha>. That causes two problems.
Details
- npm orders canaries by their hash, not their age. A short sha containing a letter is compared as text, so the order is alphabetical.
21.0.0-rc.0-canary.345726a, published 2026-09-21, ranks below21.0.0-rc.0-canary.fb6796b, published 2026-08-20.- A short sha made only of digits is compared as a number, which ranks below every hash containing a letter. 11 published canaries have one.
- An all-digit hash that starts with 0 loses the zero.
npm versionrewrites21.0.0-canary.0123456to21.0.0-canary.123456, so the published name no longer matches the commit.
Scope
The order matters only when a version range matches canaries and nothing ranks above them, which is before a version's first release candidate. On the 21 line, the release candidates and the canaries named after them outrank every 21.0.0-canary.*, so this changes no install there.
- Langage dominant
- TypeScript
- Étoiles
- 7.8k
- Forks
- 2.2k
- Merge moyen
- 2 j 17 h
- PR mergées (30 j)
- 11
Préparer son environnement
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de angular/angularfire
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
angular/angularfire#3774 ·
Les mainteneurs répondent en général sous 2 jours
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twicePeut-être pris @armando-navarro l’a pris il y a 27 jours. Ouvertecomp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 1 personne assignée ·
Les mainteneurs répondent en général sous 2 jours
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachablePeut-être pris @armando-navarro l’a pris il y a 27 jours. Ouvertecomp: core type: feature
angular/angularfire#3755 · 1 personne assignée ·
Les mainteneurs répondent en général sous 2 jours
-
Angular 22 release pleaseOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
angular/angularfire#3737 · 2 commentaires · 22 réactions ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
angular/angularfire#3715 ·
Les mainteneurs répondent en général sous 2 jours
Toutes les issues de angular/angularfire
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
microsoft/vscode-livepreview#876 ·
Les mainteneurs répondent en général sous 1 jour
-
needs-triage
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
JustJarethB/invoicer#54 ·
-
ICP 1.2.0 shows a scheduled task's interval in milliseconds under the label "Interval (In seconds)"OuverteNeeds Triage Type/Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
wso2/product-integrator#2585 ·
Les mainteneurs répondent en général sous 1 jour
-
Add: Telemundo West sdOuvertecheck:passed streams:add
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
design
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
MTES-MCT/monitor-field#119 ·
Les mainteneurs répondent en général sous 1 jour