-
Notifications
You must be signed in to change notification settings - Fork 516
feat(stack): run the complete native service graph #6385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jgoux
wants to merge
32
commits into
develop
Choose a base branch
from
juliengoux/cli-2141-stack-run-the-remaining-native-service-graph-from-slim
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
68197f4
feat(stack): publish native service catalog capabilities
jgoux a77f0e2
test(stack): remove obsolete native rejection case
jgoux ed1974b
fix(stack): normalize native catalog release tags
jgoux b483f9c
feat(stack): journal native service logs
jgoux 8b0fede
fix(stack): harden native log journaling
jgoux 550b146
fix(stack): recover journal rotation failures
jgoux add4219
fix(stack): align catalog versions with frozen releases
jgoux 6650ea8
fix(stack): use portable native service launchers
jgoux c5a3255
feat(stack): add native auxiliary service definitions
jgoux fa88751
fix(stack): bind native Studio to loopback
jgoux ece8b8d
test(stack): preserve Docker Studio bind host
jgoux 4f16f13
feat(stack): add native storage image proxy services
jgoux 885989b
fix(stack): remove unused native image proxy path
jgoux 1ca2651
feat(stack): add native analytics vector and pooler
jgoux 177e6ba
test(stack): stabilize native log integration checks
jgoux c82b432
feat(stack): build complete native service graph
jgoux 7a34002
fix(stack): use native Realtime HTTP health check
jgoux 0bdb9c4
test(stack): qualify native graph lifecycle recovery
jgoux 1a81406
test(stack): qualify native service graph journey
jgoux 8f3ed4b
chore(stack): keep catalog metadata internal
jgoux 3901930
fix(stack): isolate native graph runtime metadata
jgoux f4f9c41
fix(stack): harden native service lifecycle
jgoux cb6eb4a
fix(stack): preserve runtime-specific service versions
jgoux 7d78ad8
fix(stack): preserve native listener and port boundaries
jgoux 5587f64
fix(stack): complete native service graph qualification
jgoux a36346a
test(stack): align Pooler Docker default
jgoux 459a251
fix(stack): preserve current Docker service versions
jgoux 246d59d
fix(stack): harden native service lifecycle
jgoux 9f3f0fb
fix(stack): accept static musl service manifests
jgoux 45588eb
fix(stack): load Edge config from the module graph
jgoux e2bc5e7
test(stack): align lazy Realtime deadline
jgoux dfe88c3
test(stack): extend lazy Realtime heartbeat window
jgoux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
32 changes: 32 additions & 0 deletions
32
apps/cli/src/next/config/managed-port-intents.unit.test.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| import { describe, expect, it } from "vitest"; | ||
| import { managedPortIntents } from "./managed-port-intents.ts"; | ||
|
|
||
| const stackConfig = { | ||
| mode: "docker", | ||
| pooler: {}, | ||
| } satisfies Parameters<typeof managedPortIntents>[0]; | ||
|
|
||
| describe("managedPortIntents", () => { | ||
| it("maps the configured pooler port to the transaction listener by default", () => { | ||
| expect( | ||
| managedPortIntents(stackConfig, { | ||
| document: { db: { pooler: { port: 6543 } } }, | ||
| }).document, | ||
| ).toEqual({ db: { pooler: { port: 6543, transaction_port: 6543 } } }); | ||
| }); | ||
|
|
||
| it("maps the configured pooler port to the session listener when requested", () => { | ||
| expect( | ||
| managedPortIntents(stackConfig, { | ||
| document: { db: { pooler: { port: 6544, pool_mode: "session" } } }, | ||
| }).document, | ||
| ).toEqual({ | ||
| db: { pooler: { port: 6544, pool_mode: "session", session_port: 6544 } }, | ||
| }); | ||
| }); | ||
|
|
||
| it("leaves the document unchanged when the pooler port is absent", () => { | ||
| const document = { db: { pooler: { pool_mode: "session" } } }; | ||
| expect(managedPortIntents(stackConfig, { document }).document).toBe(document); | ||
| }); | ||
| }); |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.