Repository navigation
Sync with upstream @hyperdx/app@2.47.0 on upstream's own toolchain - #11
Merged
Merged
Conversation
mfroembgen
force-pushed
the
fork-sync/app-2.47.0
branch
3 times, most recently
from
November 24, 2026 13:12
e06b761 to
79c1548
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This puts the fork on upstream's latest release,
@hyperdx/app@2.47.0(041c19bc5), as four patch commits, and drops the Bun/Vinext runtime refactor. The fork now runs upstream's own Node, Next.js, Yarn and Jest toolchain. It supersedes #9, #10 and #8.Don't merge this with the PR button. Once it's reviewed,
maingets force-pushed to this branch with a lease, and that needs Marco's confirmation.041c19bc5 Release HyperDX (#3720) @hyperdx/app@2.47.0 af17cf122 fix: preserve JSON and Map search filter expressions (was 116812978, now smaller) 4f07ad999 feat: add WorkOS browser login and MCP OAuth (was f795119c8) - refactor: align fork runtime, tooling and dependencies (a57253843, dropped) 3ba4088b1 feat(mcp): add DISABLE_MCP_INSTRUCTIONS (was 086c676de, unchanged) 79c1548a3 build: publish native fork images with one frontend build ID (replaces 47325049e)What happened to each patch that was under review:
col.path.:String, which ClickHouse 26.10.3.7 returns as NULL for numeric and boolean JSON paths (toString()gives42andtrue). Numeric JSON facets and pinned fields still disappear without this commit. On 2.47.0 it also keeps pinned JSON facet keys in dot form so they match their pins, and it asks upstream's newgetAllKeyValuesfor JSON paths in Map form, because that method drops thetoString()form.HDX_EXPORTER_ENABLED=falsekeeps the browser SDK from starting. Replaying it on 2.47.0 hit 97 conflicts, including upstream's switch from ESLint to oxlint and from Prettier to oxfmt.ghcr.io/mfroembgen/hyperdx, which only this workflow publishes, and upstream's image has no WorkOS. The new commit builds upstream's own Dockerfile on native runners. It no longer carries the Bun stages, the Go 1.27.3 builders or the shared-frontend Docker stage.Upstream 2.46.0 → 2.47.0 (44 commits), notable items:
ENABLE_INGESTION_API_KEY(feat(api): add ENABLE_INGESTION_API_KEY to honor INGESTION_API_KEY on the app image ClickHouse/ClickStack#3633), silencing alerts in the external API (feat(api): silence and unsilence alerts in the external API ClickHouse/ClickStack#3504), classifying failed ClickHouse proxy requests (feat(api): classify failed ClickHouse proxy requests ClickHouse/ClickStack#3705)clickhouse-gov2.51.0 CVE (fix(security): updateclickhouse-go/v2to v2.51.0 ClickHouse/ClickStack#3743)2.47.0 adaptations:
yarn.lock,packages/api/jest*.config.js@workos-inc/node12.0.0 andjose6.2.14. Jest transpiles ESM-onlyjose.packages/api/src/utils/workosSessionStore.tsgetWorkosSessionCollectiontypes connect-mongo's string session IDs. It is one deliberate type assertion, so api's oxlint ceiling goes from 302 to 303. The Mongo replica tests already imported it.packages/api/src/routers/api/workosAuth.tspackages/api/src/telemetry.tsinstrumentation-http0.223 records the stableurl.*attributes, nothttp.target. ItsredactedQueryParamslists now cover the OAuth and token query keys, and the hook only scrubs setup tokens fromurl.path.packages/api/src/routers/api/clickhouseProxy.tsisVirtualaccess-key guard and use shoehorn mocks.packages/app/next.config.mjs,docker/hyperdx/DockerfileNEXT_BUILD_IDsets the build ID, so both architectures serve one build..github/workflows/main.yml,e2e-tests.ymlai/release-*pushes.E2E_TIMEOUT_MINUTES(set to 25 on the fork) gives the E2E shards a time budget on 4-vCPU runners, next to upstream'sRUNNER_E2EandE2E_WORKERSvariables.Evidence
SELECT j.integer.:String, toString(j.integer)over{"integer":42,"flag":true}returnsNULL, '42', and the boolean path returnsNULL, 'true'. Through the Next proxy, the two public MCP discovery URLs returned 404, as both reviewers reproduced.After:
toString()rendering in metadata and filters. Express answers all three discovery paths. Supertest covers each, and the image smoke fetches both public URLs through port 8080.ci:lintpasses for common-utils, api and app. Unit tests pass: common-utils 3440, api 1695, app 5845.a25898bd3, the fork'snative-json-filtersE2E failed. The pinnedResourceAttributesJSON.integerfield never appeared, and after that was fixed, "Load more" returned no values.After: all four
native-json-filterscases pass. A new unit test fails whilegetAllKeyValuesreceives thetoString()form.79c1548a3, all green. Main passed lint, unit, integration shards 1-4, the ClickHouse bundle, the otel collector checks and E2E shards 1-4 (shard 3: 122 passed in 11.1 min). The fork image run built native AMD64 and ARM64 images, and their frontend builds are byte-identical. Each image reaches/api/readyand serves both MCP discovery URLs and a frontend chunk through port 8080, with MongoDB and a WorkOS configuration.79c1548a3, plus a correctness review and a security review. Every blocker and should is fixed. Declined: quoted JSON segment names that contain[n]or backticks (rare and present before this rebase), Next server telemetry recording the callback'scodeandstate(it stays off whileHDX_EXPORTER_ENABLED=false, and the code only works with the server-held PKCE verifier), and the pre-existing WorkOS refresh race noted below.Merge Danger
Door: two-way
Landing this means force-pushing
mainfrom97ee5727d7f0a252eace6f6db9cdf239f7cfa028to79c1548a369deb6c0ec574452db699dac8c44458with a lease. The old head stays onbackup/main-2.45.0.Blast Radius: runtime
No image is published until someone runs
fork-image.ymlwithpublish=true. Consumers keep2.43.1until their values change. The next image moves production from Bun/Vinext to Node/Next, with upstream's Express 4, Zod 3 and Mongoose. Verify WorkOS login, MCP OAuth and the reconcile Jobs in SDLC Marketing before Operations and Production Marketing. Upstream's release, nightly, downstream-push and AI-review workflows are no longer scoped away from the fork. Disable them on the fork beforemainmoves.Follow-up, already present in deployed images: when two requests refresh one WorkOS session at once, the losing request's
invalid_grantcan delete the winner's new seal, which signs the user out.