fix(railway): bump distilled to drop admin-only platformFeatureFlags - #1479
Merged
Conversation
Contributor
|
Install the packages built from this commit: Alchemyalchemy bun add https://pkg.ing/alchemy/693983a@alchemy.run/better-auth bun add https://pkg.ing/@alchemy.run/better-auth/693983a@alchemy.run/cloudflare-runtime bun add https://pkg.ing/@alchemy.run/cloudflare-runtime/693983a@alchemy.run/frontend-frameworks bun add https://pkg.ing/@alchemy.run/frontend-frameworks/693983a@alchemy.run/node-utils bun add https://pkg.ing/@alchemy.run/node-utils/693983a@alchemy.run/pr-package bun add https://pkg.ing/@alchemy.run/pr-package/693983a@alchemy.run/floci bun add https://pkg.ing/@alchemy.run/floci/693983aDistilled@distilled.cloud/core bun add https://pkg.ing/@distilled.cloud/core/894211f@distilled.cloud/aws bun add https://pkg.ing/@distilled.cloud/aws/894211f@distilled.cloud/axiom bun add https://pkg.ing/@distilled.cloud/axiom/894211f@distilled.cloud/cloudflare bun add https://pkg.ing/@distilled.cloud/cloudflare/894211f@distilled.cloud/hetzner bun add https://pkg.ing/@distilled.cloud/hetzner/894211f@distilled.cloud/neon bun add https://pkg.ing/@distilled.cloud/neon/894211f@distilled.cloud/planetscale bun add https://pkg.ing/@distilled.cloud/planetscale/894211f |
Railway CLI login-session tokens (`railway login`) cannot read the admin-only `me.platformFeatureFlags` field; Railway rejects the whole GraphQL query with a blanket `Not Authorized`, which broke workspace resolution for every oauth-method Railway profile. Bumps the distilled submodule to the `alchemy-pointer` branch, which drops the field from the generated selections.
BlankParticle
force-pushed
the
fix/railway-cli-token-workspace-auth
branch
from
September 4, 2026 09:41
0ce8adf to
693983a
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.
Railway CLI login-session tokens (
railway login, the browserless flow that shows up under Sessions in the dashboard) cannot read the admin-onlyme.platformFeatureFlagsfield. Railway returns authorization failures asHTTP 200with anerrors[]array, so denying one field rejects the entire query with a blanketNot Authorized. The generatedmequery selected that field, so workspace resolution failed for everyoauth-method Railway profile:The token itself is a full account token — it can read the workspace, list projects, and deploy. Only the one admin field was unreadable.
This bumps the
distilledsubmodule fromcb11c5bf1to thealchemy-pointerbranch, whose only change dropsplatformFeatureFlagsfrom the generated Railway selections. After the bump, a live CLI-login token resolves its workspace again.Why
alchemy-pointerand not distilledmainThe fix also lands on distilled
mainvia alchemy-run/distilled#543. This PR deliberately points at thealchemy-pointerbranch instead, which is the current base (cb11c5bf1) plus only the Railway fix. Advancing straight to distilledmainwould also pull in#480(regenerate every SDK from the spec mirrors), which rewrites the Fly Machines SDK and breaks thefly-bucket/fly-postgresexamples' types. Keeping this bump onalchemy-pointerships the Railway fix now without that fallout.When distilled #543 merges and the submodule later advances to
main, Railway will already be fixed there, leaving only the Fly examples to address.