The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
release-extension: serialize the feed job across tags; parse the read-back
shukieshahfaefc54ba1d4
diff --git a/.github/workflows/release-extension.yml b/.github/workflows/release-extension.ymlindex 01750eb1..8712c3c6 100644--- a/.github/workflows/release-extension.yml+++ b/.github/workflows/release-extension.yml@@ -345,6 +345,11 @@ jobs:needs: [build, sign, release]runs-on: ubuntu-latesttimeout-minutes: 10+ # One feed for every tag: the read-check-write below must not interleave+ # with another tag's, or the lower version could upload last and win.+ concurrency:+ group: extension-update-feed+ cancel-in-progress: falsepermissions:contents: writeenv:@@ -403,9 +408,15 @@ jobs:--codebase "$codebase" --sha256 "$sha256" --out updates.xml --current current.xmlgh release upload "$FEED_TAG" updates.xml --repo "$REPO" --clobber- # Read it back through the URL installed copies poll.+ # Read it back through the URL installed copies poll, parsing the+ # version the feed offers for this extension (a plain grep would also+ # match the XML declaration's version='1.0').for _ in 1 2 3 4 5 6; do- if curl -fsSL "$update_url" | grep -qF "version='${VERSION}'"; then+ live="$(curl -fsSL "$update_url" | node --input-type=module -e '+ import { feedVersion } from "./browser-extension/tools/pack-crx.mjs";+ let xml = ""; for await (const chunk of process.stdin) xml += chunk;+ console.log(feedVersion(xml, process.argv[1]) ?? "");' "$EXTENSION_ID" || true)"+ if [ "$live" = "$VERSION" ]; thenecho "feed now offers ${VERSION}: $update_url"exit 0fidiff --git a/CLAUDE.md b/CLAUDE.mdindex a4662243..804d026e 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -670,7 +670,7 @@ missing key fails the release. The key fixes the extension ID that every fleet'spolicy names, so it is never rotated; a copy is kept in the company passwordmanager, and losing it means a new extension ID and a policy change for every fleet.-The `feed` job then downloads the CRX from its public release URL, verifies it,+The `feed` job (one concurrency group across all tags) then downloads the CRX from its public release URL, verifies it,and replaces `updates.xml` on the fixed `ext-updates` release (created on firstuse, `--latest=false --prerelease`). That file's URL is `CHROME_UPDATE_URL`, themanifest's `update_url` and the URL fleets put in policy, so it must never move