Repository navigation
Guide Hosted first run through verified Portal and preserve paid refusals [skip-runtime-e2e] - #255
Merged
Merged
Conversation
…sals Signed-off-by: Saurabh Jain <saurabh.jain@getaxonflow.com>
Signed-off-by: Saurabh Jain <saurabh.jain@getaxonflow.com>
Signed-off-by: Saurabh Jain <saurabh.jain@getaxonflow.com>
saurabhjain1592
force-pushed
the
codex/4487-hosted-first-run
branch
from
November 3, 2026 23:33
ebd5157 to
15ae27f
Compare
Signed-off-by: Saurabh Jain <saurabh.jain@getaxonflow.com>
saurabhjain1592
marked this pull request as ready for review
November 4, 2026 03:45
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.
Scope
AxonFlowTry.register()callers to the verified Hosted Portal before any registration request. Keep custom self-hosted Community registration available.AXONFLOW_TRY=1switch is set.402 hosted_payment_requiredwith its status and code; treat exact429 hosted_monthly_limit_reachedas terminal, including a truncated body whenX-Axonflow-Tier-Limit: monthly_governed_eventsis present. Keep ordinary 429 retry behavior and legacy Community 402 blocking.hosted-api.jsonkeysendpoint,clientId, andclientSecretto Java SDK configuration, and keeps the linked secret out of source control and prompts.Local verification
mvn -o -q test: 1,629 tests, 0 failures, 0 errors, 0 skipped.mvn -o -q com.spotify.fmt:fmt-maven-plugin:check: passed.mvn -o -q package -Dmaven.test.skip=true: passed; built 9.5.0 JAR.javac/javarun against the same JAR and Maven-copied runtime dependencies also passed.15ae27f9377f41f964568fcce1aeff3058fe40d7also closes trailing-dot Hosted registrar aliases;HostedFirstRunTestandgit diff --checkpassed on that head. The published Maven Central 9.5.0 JAR SHA-256 is4f5fc12b828af6ce9bb022e6d627fe68bcc70bb9a1b6627429385551f0c7c4dd. Its source JAR confirms legacy anonymousAxonFlowTry.register()and inheritedAXONFLOW_TRYendpoint override; those gaps are addressed by this PR, while the candidate JAR's external consumer covered linked Basic auth and payment refusals.Draft / do not merge. No release, publication, deployment, or production operation is requested by this PR.
4 November exact linked-client staging proof
A second disposable, digest-pinned stack
axonflow-community-saas-staging-20261104-010500passed a real Portal signup and device link after app/admin DB role provision, then policy-onlymcpCheckInput(postgres, SELECT 1)from the sealed unpublished TypeScript and Java 9.5.1 candidates. Each client passed paid allow, answered429 hosted_monthly_limit_reachedafter a synthetic 1000-month/0-minute fixture, answered402 hosted_payment_requiredafter synthetic cancellation, and rejected the revoked credential with a raw same-route HTTP 401 confirmation. Independent reviewer A checked the eight results and exact package/runner hashes. There was no provider Send, Checkout, charge, public DNS mutation, release tag, or registry upload. The stack was captured at gateoff/0and deleted at 02:41:10 UTC with both shared DSN secret versions restored, RDS/ALB/ECS/security groups and access bucket absent, local credentials removed, and no manual snapshots deleted.Evidence:
/private/tmp/oc4487-ts-java-staging-20261104-010500/sdk-live-evidence.jsonSHA-2565adc21229b65087225e55f33f4e1185fac78401a972de6766dfcfe63464d92f5;safeoff-stack-evidence.jsonSHA-256cb7f85f5ee7f94958a4773545c65d699f5edbd95fe01168823fb221d7b7fe01a;teardown-evidence.jsonSHA-256ac243a52cabc299ea5259a288ed346379f8044dcaabd705444967f52dc3b4dd2. The older/private/tmp/oc4487-sdk-prep-r3/MANIFEST.jsonidentifies package bytes and a pre-fix probe harness; the live evidence records the amended Java proxy selector/probe/runner SHA-256 values. Final PR/merge-source review, remote CI, and publication remain held.Skip-runtime-e2e justification
The operator explicitly authorized this narrow workflow-presence exemption for the unpublished Hosted client candidate. The actual user-facing path was exercised outside this repository on a digest-pinned disposable Enterprise staging stack using the sealed TypeScript 9.5.1 tarball and Java 9.5.1 JAR: real Portal one-use signup and owner-approved device link, followed by
mcpCheckInput(postgres, SELECT 1)from each linked SDK. Both clients passed allow 200, synthetic monthly-cap 429, canceled-subscription 402, and revoked-credential 401 (with raw same-route status confirmation). Evidence:/private/tmp/oc4487-ts-java-staging-20261104-010500/sdk-live-evidence.jsonSHA-2565adc21229b65087225e55f33f4e1185fac78401a972de6766dfcfe63464d92f5. Paid enforcement was returned to off/0 and the disposable stack was deleted; teardown receipt SHA-256ac243a52cabc299ea5259a288ed346379f8044dcaabd705444967f52dc3b4dd2. No provider Send or live charge occurred. The AWS tenant/DB-role/cap/cancellation/revocation fixture and target-locked TLS transport are sealed in that separate staging harness. This exemption affects only the repository workflow'sruntime-e2e/file-presence check; it does not claim that a repo-local runtime suite ran or waive merge-source rebuild, final review, or publication gates.