René's URL Explorer Experiment


Title: fix(ci): keep the canary dist-tag from moving back to an older build by armando-navarro · Pull Request #3784 · angular/angularfire · GitHub

Open Graph Title: fix(ci): keep the canary dist-tag from moving back to an older build by armando-navarro · Pull Request #3784 · angular/angularfire

X Title: fix(ci): keep the canary dist-tag from moving back to an older build by armando-navarro · Pull Request #3784 · angular/angularfire

Description: Fixes #3783 The publish job now publishes a canary only when its commit comes after the commit of the canary already on npm, and canary publishes run one at a time. Changes All in the publish job of .github/workflows/test.yml. New step, "Skip a canary that is not newer than npm's". It runs for canary versions only, without the npm token. It reads the current canary from npm's dist-tags endpoint, which is not CDN-cached. The package data that npm view reads is cached for 5 minutes. It clones the repository's commit history with git clone --bare --filter=tree:0, which takes about half a second, and finds the commit named at the end of that canary's version. Then it decides: This build's commit comes after that commit: publish. Same commit and same version: skip with a notice. Same commit under a different version: publish. This can't happen today. It will after #3780, when the scheduled run rebuilds an unchanged main after a release. This build's commit comes before that commit: skip with a warning. Neither commit comes before the other, or the canary's commit can't be found: fail the job. concurrency on the job. Canary publishes share the group canary-publish with cancel-in-progress: false and queue: max, so they run one at a time and a waiting one is not replaced. Each release run gets a group of its own. The Publish step runs unless the new step asked to skip. Releases and release candidates publish exactly as before. Behavior to be aware of The weekday scheduled run stops failing. On an unchanged main its publish fails with E403 today, as it did on 2026-09-30 and 2026-10-02. It now skips with a notice. A failed check stays failed. If the canary dist-tag is missing, or points at a build from a commit that is not on main, the step fails and so does every later canary publish. The error message says so and names the fix: someone with publish rights runs npm dist-tag add @angular/fire@ canary. queue: max is recent. GitHub added it on 2026-05-07 (changelog). actionlint 1.7.12 does not know the key yet (rhysd/actionlint#657) and reports it as its only finding on this file. Runs from before this change are not covered. A re-run uses the original run's commit, so I expect it to publish without the check. The check trusts npm's answer. If npm returned the previous canary a few seconds after a publish, an older build queued right behind it would still publish. I have not measured whether npm lags like that. Verification I ran the new step's script, taken from the YAML, with bash -e against stand-in built packages. It cloned from GitHub and read npm for real, except where a case needed a different canary on npm. A build of an earlier commit on main is skipped with a warning, also when its version is higher. The same commit and version is skipped with a notice. The same commit under a higher version publishes. A build of a later commit publishes, also when npm's canary has the old 21.0.0-canary.a2662fe name. A build from a commit that is not on main, a canary on npm from a commit that is not on main, an unknown hash, and an npm reply without canary each fail the job. 21.0.0 and 21.0.0-rc.2 publish without the check. A failing curl or git clone fails the job, and nothing publishes. The clone holds only this repository's branches and tags, and after cloning the check needs no network. npm publish --dry-run packs the same files, with the same checksum, with and without the clone in the workspace. The concurrency queue can't be run locally. This PR's CI shows whether GitHub accepts the workflow file. The publish job itself only runs on main and on releases.

Open Graph Description: Fixes #3783 The publish job now publishes a canary only when its commit comes after the commit of the canary already on npm, and canary publishes run one at a time. Changes All in the publish job o...

X Description: Fixes #3783 The publish job now publishes a canary only when its commit comes after the commit of the canary already on npm, and canary publishes run one at a time. Changes All in the publish job o...

Opengraph URL: https://github.com/angular/angularfire/pull/3784

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ebeb1487-4f12-ea6a-5548-39effe7b8772
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9148:1316A2:36B1A4:489852:6B037D38
html-safe-nonce5f087f9bf03e60bd1bf2d1b530885ed9efecea5d311f64a52d024dcb5bdffffa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTQ4OjEzMTZBMjozNkIxQTQ6NDg5ODUyOjZCMDM3RDM4IiwidmlzaXRvcl9pZCI6IjcyMTg5NTQwMzkwNDI3MzU0MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0082e47693f1380a80f2fcec78e7ad8cfcffc778ceaf9c224a3fd00303d47493
hovercard-subject-tagpull_request:4720183963
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angularfire/pull/3784/files
twitter:imagehttps://avatars.githubusercontent.com/u/13904589?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13904589?s=400&v=4
og:image:altFixes #3783 The publish job now publishes a canary only when its commit comes after the commit of the canary already on npm, and canary publishes run one at a time. Changes All in the publish job o...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angularfire git https://github.com/angular/angularfire.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id49453413
octolytics-dimension-repository_nwoangular/angularfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49453413
octolytics-dimension-repository_network_root_nwoangular/angularfire
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angularfire/pull/3784/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3784%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3784%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangularfire
Reloadhttps://github.com/angular/angularfire/pull/3784/files
Reloadhttps://github.com/angular/angularfire/pull/3784/files
Reloadhttps://github.com/angular/angularfire/pull/3784/files
angularhttps://github.com/angular
angularfirehttps://github.com/angular/angularfire
Codehttps://github.com/angular/angularfire
Issues162 (162)https://github.com/angular/angularfire/issues
Pull requests5 (5)https://github.com/angular/angularfire/pulls
Discussionshttps://github.com/angular/angularfire/discussions
Actionshttps://github.com/angular/angularfire/actions
Projectshttps://github.com/angular/angularfire/projects
Security and qualityhttps://github.com/angular/angularfire/security
Insightshttps://github.com/angular/angularfire/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
armando-navarrohttps://github.com/armando-navarro
angular:mainhttps://github.com/angular/angularfire/tree/main
armando-navarro:a61-main-run-concurrencyhttps://github.com/armando-navarro/angularfire/tree/a61-main-run-concurrency
Conversation 1 https://github.com/angular/angularfire/pull/3784
Commits 3 https://github.com/angular/angularfire/pull/3784/commits
Checks 24 https://github.com/angular/angularfire/pull/3784/checks
Files changed https://github.com/angular/angularfire/pull/3784/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3784/files
fix(ci): keep the canary dist-tag from moving back to an older build https://github.com/angular/angularfire/pull/3784/files#top
Show all changes 3 commits https://github.com/angular/angularfire/pull/3784/files
6d45de9 fix(ci): keep the canary dist-tag from moving back to an older build armando-navarro Oct 2, 2026 https://github.com/angular/angularfire/pull/3784/commits/6d45de90f8f8a1506dffde8a4c85d1c71bb0c559
89d173a ci: say how to recover when the canary check fails armando-navarro Oct 4, 2026 https://github.com/angular/angularfire/pull/3784/commits/89d173a44d276b7289a07b34295c199254fcdc5f
fc01bfc Merge branch 'main' into a61-main-run-concurrency armando-navarro Oct 5, 2026 https://github.com/angular/angularfire/pull/3784/commits/fc01bfc43eabbe96f50ce8b103deff2a7179edfb
Clear filters https://github.com/angular/angularfire/pull/3784/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3784/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3784/files
.github/workflows/test.ymlhttps://github.com/angular/angularfire/pull/3784/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
View file https://github.com/armando-navarro/angularfire/blob/fc01bfc43eabbe96f50ce8b103deff2a7179edfb/.github/workflows/test.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3784/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3784/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/pull/3784/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/angular/angularfire/pull/3784/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
Please reload this pagehttps://github.com/angular/angularfire/pull/3784/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.