-
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
735ea29
test(stack): qualify complete slim Docker graph
jgoux 4f3129a
Merge remote-tracking branch 'origin/develop' into juliengoux/cli-211…
jgoux 4683e0d
test(stack): satisfy Effect lint in Docker journey
jgoux 6e332dd
test(stack): budget complete Docker journey
jgoux f24be1b
test(stack): qualify native core services
jgoux d17f9bf
test(stack): isolate native Auth session journey
jgoux 41be775
fix(stack): preserve lazy services across repeated stop
jgoux ccbf5c5
fix(stack): retain stopped companion allowances
jgoux 0bd4a77
feat(stack): publish native service catalog capabilities
jgoux 5afc247
test(stack): remove obsolete native rejection case
jgoux 41788a5
fix(stack): normalize native catalog release tags
jgoux 41b8782
feat(stack): journal native service logs
jgoux 56c65d5
fix(stack): harden native log journaling
jgoux 3b4cdd7
fix(stack): recover journal rotation failures
jgoux 37c2627
fix(stack): align catalog versions with frozen releases
jgoux 5a5b780
fix(stack): use portable native service launchers
jgoux c50cbbc
feat(stack): add native auxiliary service definitions
jgoux 249fffa
fix(stack): bind native Studio to loopback
jgoux cda4ccf
test(stack): preserve Docker Studio bind host
jgoux 156a6c1
feat(stack): add native storage image proxy services
jgoux 391f704
fix(stack): remove unused native image proxy path
jgoux 70cfbf4
feat(stack): add native analytics vector and pooler
jgoux d38ded2
test(stack): stabilize native log integration checks
jgoux 409a776
feat(stack): build complete native service graph
jgoux 53dc437
fix(stack): use native Realtime HTTP health check
jgoux ae34c8b
test(stack): qualify native graph lifecycle recovery
jgoux b7830c8
test(stack): qualify native service graph journey
jgoux d1515d4
chore(stack): keep catalog metadata internal
jgoux c912c31
fix(stack): isolate native graph runtime metadata
jgoux 3a0834d
fix(stack): harden native service lifecycle
jgoux 5fe089a
fix(stack): preserve runtime-specific service versions
jgoux 69acdd0
fix(stack): preserve native listener and port boundaries
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
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.
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.