-
Notifications
You must be signed in to change notification settings - Fork 6
CI cloud test #131
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
mabels
wants to merge
14
commits into
main
Choose a base branch
from
mabels/ci-cloud-test
base: main
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
CI cloud test #131
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
273feff
chore: intro of local cloud tests
mabels a40adf3
chore: intro of local cloud tests
mabels 9abfa6a
chore: CF and Multiple getWebSockets and hybrid node/cf
mabels 70b3f88
chore: remove netlify server copy
mabels f0fe8f5
chore: before ctx change
mabels 5f11784
chore: fix the v2-cloud tests
mabels 8bb45b0
WIP
mabels 0070d7d
WIP
mabels efa4800
WIP
mabels 2e37e7a
chore: replace coerce-binary
mabels 1de0dc0
chore: added auth transfer between client - backend
mabels 3ac347b
chore: now there is only backend process for all tests
mabels 5fb17d3
chore: added D1 and DO test to cloud-gateway
mabels 278123c
WIP
mabels 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| **/node_modules/* | ||
| **/.wrangler/* | ||
| **/node_modules/ |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import { ensureSuperThis } from "@fireproof/core"; | ||
| import { setupBackend } from "./src/v2-cloud/test-helper.js"; | ||
| import { wranglerParams } from "./src/v2-cloud/test-utils.js"; | ||
|
|
||
| const sthis = ensureSuperThis(); | ||
| export async function setup() { | ||
| const r = await setupBackend(sthis); | ||
| process.env[`FP_TEST_CF_BACKEND`] = JSON.stringify(r); | ||
| // eslint-disable-next-line no-console | ||
| console.log("Started wrangler process - ", wranglerParams(sthis).pid); | ||
| } | ||
|
|
||
| export async function teardown() { | ||
| // eslint-disable-next-line no-console | ||
| console.log("Stopping wrangler process - ", wranglerParams(sthis).pid); | ||
| process.kill(wranglerParams(sthis).pid); | ||
| } |
This file was deleted.
Oops, something went wrong.
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,22 @@ | ||
| { | ||
| "name": "@fireproof/fireproof-cloud", | ||
| "version": "0.0.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "deploy": "wrangler deploy --keep-vars", | ||
| "dev": "wrangler dev", | ||
| "start": "(env | grep -vi npm) > .dev.vars && wrangler dev --port 1968 --ip '::'", | ||
| "test": "vitest", | ||
| "cf-typegen": "wrangler types" | ||
| }, | ||
| "dependencies": { | ||
| "@adviser/cement": "from-main-package-json", | ||
| "@cloudflare/workers-types": "from-main-package-json", | ||
| "aws4fetch": "from-main-package-json", | ||
| "partyserver": "from-main-package-json", | ||
| "partysocket": "from-main-package-json", | ||
| "valibot": "from-main-package-json", | ||
| "wrangler": "from-main-package-json" | ||
| }, | ||
| "devDependencies": {} | ||
| } |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Improve formatting and clarity of Cloud Meta Merge documentation
The Cloud Meta Merge documentation needs better formatting and clarity:
Consider this improved format:
PK(reqId, resId, tenant, ledger)
PK(tenant, ledger, reqId, resId)