Skip to content
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

Publish Stage #3731

Merged
merged 34 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
4786a06
Mattupham/fe 974 portfolio v1 feedback add withdraw deposit buttons f…
mattupham Aug 12, 2024
1224db8
Update line type (#3729)
mattupham Aug 12, 2024
9f1362c
[Limit Orders]: Post Launch QA (#3730)
crnbarr93 Aug 13, 2024
776779d
fix: denom selection loading state (#3732)
crnbarr93 Aug 13, 2024
a94e9ea
[draft] Set 1d, update loading skeleton (#3733)
mattupham Aug 14, 2024
1f1746c
Minor improvements to test workflow (#3736)
yury-dubinin Aug 14, 2024
f63a0fa
[Limit Orders]: Query Hotfixes (#3734)
crnbarr93 Aug 14, 2024
272e1c2
Fix trxs number and cancel limit order (#3738)
yury-dubinin Aug 14, 2024
46b5f31
Added pool search to tests (#3741)
yury-dubinin Aug 15, 2024
e132c0e
Renamed variables for a testing workflow (#3742)
yury-dubinin Aug 15, 2024
49d41be
[Limit Orders]: Post Launch QA 2 (#3743)
crnbarr93 Aug 15, 2024
d0d576f
(Performance) Dynamically Import `proto-codecs` and `cosmjs` packages…
JoseRFelix Aug 15, 2024
a4ccaad
(Datadog) Add OTEL instrumentation (#3719)
JoseRFelix Aug 15, 2024
e8f10e5
(CL) Improve CL Positions Loading and Error States (#3740)
JoseRFelix Aug 15, 2024
c9ccac7
Dev env: update .gitignore, and shell.nix (#3737)
deividaspetraitis Aug 15, 2024
de0f0ba
upgrade turbo (#3564)
jonator Aug 15, 2024
1103cbd
Update Asset Symbol USDC.e.matic.axl, USDT.eth.rt (#3745)
JeremyParish69 Aug 15, 2024
df162b3
Enable limit order tests for EU (#3744)
yury-dubinin Aug 16, 2024
fdd783a
Use quantity check for limits (#3748)
yury-dubinin Aug 16, 2024
14708f7
sort portfolio via Dec, all allocation tabs descending, localize time…
mattupham Aug 16, 2024
3dce845
(Datadog) Use Vercel project production url (#3747)
JoseRFelix Aug 16, 2024
86ffa17
Mattupham/fe 945 portfolio v1 handle screen size layouts (#3739)
mattupham Aug 16, 2024
61eef70
(Deposit/Withdraw) Fixes (#3746)
JoseRFelix Aug 17, 2024
608eb8c
portfolio test to dec (#3750)
mattupham Aug 17, 2024
54123a4
perf: move epochs query to local router from edge (#3751)
p0mvn Aug 18, 2024
c1e0d39
remove pools prices only (#3664)
p0mvn Aug 18, 2024
39aa44f
remove tfm router (#3753)
p0mvn Aug 18, 2024
df3ebef
switch pool aprs and fees to sqs (#3680)
p0mvn Aug 18, 2024
8f4246a
remove some legacy pools query usage (#3756)
jonator Aug 18, 2024
5d04657
Added search for portfolio tests (#3760)
yury-dubinin Aug 18, 2024
3656944
Added 3m timeout to trade test (#3762)
yury-dubinin Aug 19, 2024
fa5fa80
Unwire the legacy router (#3757)
p0mvn Aug 19, 2024
de59831
[Limit Orders]: Amplitude Events & QA Changes (#3763)
crnbarr93 Aug 19, 2024
035c356
(Datadog) Match Stage Environment (#3765)
JoseRFelix Aug 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/jest-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
run: yarn install --frozen-lockfile

- name: Run ${{ matrix.package }} tests
run: yarn test --filter=${{ matrix.package }}
run: yarn test --filter=@osmosis-labs/${{ matrix.package }}
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
run: yarn install --frozen-lockfile

- name: Lint ${{ matrix.package }} package
run: yarn lint --filter=${{ matrix.package }}
run: yarn lint --filter=@osmosis-labs/${{ matrix.package }}
6 changes: 3 additions & 3 deletions .github/workflows/monitoring-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
echo "matrix={\"include\":[{ \"base-url\":\"https://app.osmosis.zone\", \"server-url\":\"https://sqs.osmosis.zone\", \"env\": \"production\", \"timeseries-url\":\"https://stage-proxy-data-api.osmosis-labs.workers.dev\"}, { \"base-url\":\"https://stage.osmosis.zone\", \"server-url\":\"https://sqs.stage.osmosis.zone\", \"env\": \"staging\", \"timeseries-url\":\"https://stage-proxy-data-api.osmosis-labs.workers.dev\"}]}" >> "$GITHUB_OUTPUT"

server-e2e-tests:
name: ${{ matrix.env }}
name: ${{ matrix.env }}-server-tests
needs: setup-matrix
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Run Tests
id: tests
run: yarn test:e2e --filter=server
run: yarn test:e2e --filter=@osmosis-labs/server
env:
NEXT_PUBLIC_SIDECAR_BASE_URL: ${{ matrix.server-url }}
NEXT_PUBLIC_TIMESERIES_DATA_URL: ${{ matrix.timeseries-url }}
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

fe-quote-tests:
name: ${{ matrix.env }}
name: ${{ matrix.env }}-quote-tests
needs: setup-matrix
runs-on: ubuntu-latest
strategy:
Expand Down
115 changes: 99 additions & 16 deletions .github/workflows/monitoring-geo-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
steps:
- id: set-matrix
run: |
echo "matrix={\"include\":[{\"test-proxy\":\"use\", \"server-url\":\"http://138.68.112.16:8888\", \"env\": \"production-fra1\"}, {\"test-proxy\":\"use\", \"server-url\":\"http://139.59.218.19:8888\", \"env\": \"production-sgp1\"}, {\"test-proxy\":\"no\", \"server-url\":\"http://139.59.218.19:8888\", \"env\": \"production-usa1\"}]}" >> "$GITHUB_OUTPUT"
echo "matrix={\"include\":[{\"test-proxy\":\"use\", \"server-url\":\"http://138.68.112.16:8888\", \"env\": \"prod-fra1\"}, {\"test-proxy\":\"use\", \"server-url\":\"http://139.59.218.19:8888\", \"env\": \"prod-sgp1\"}, {\"test-proxy\":\"no\", \"server-url\":\"http://139.59.218.19:8888\", \"env\": \"prod-usa1\"}]}" >> "$GITHUB_OUTPUT"

fe-quote-tests:
timeout-minutes: 10
timeout-minutes: 15
name: ${{ matrix.env }}-fe-quote-tests
needs: setup-matrix
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson(needs.setup-matrix.outputs.matrix)}}
Expand Down Expand Up @@ -49,6 +49,7 @@ jobs:
TEST_PROXY_USERNAME: ${{secrets.TEST_PROXY_USERNAME}}
TEST_PROXY_PASSWORD: ${{secrets.TEST_PROXY_PASSWORD}}
USE_TEST_PROXY: ${{ matrix.test-proxy }}
USE_TRADE: ${{ matrix.test-proxy }}
run: |
cd packages/web
npx playwright test select pools
Expand All @@ -62,7 +63,7 @@ jobs:

fe-swap-us-tests:
timeout-minutes: 10
name: fe-swap-us-tests
name: prod-fe-swap-us-tests
runs-on: macos-latest
steps:
- name: Echo IP
Expand All @@ -87,6 +88,7 @@ jobs:
env:
BASE_URL: "https://app.osmosis.zone"
PRIVATE_KEY_S: ${{ secrets.TEST_PRIVATE_KEY_1 }}
USE_TRADE: "no"
run: |
cd packages/web
npx playwright test -g "Test Swap Stables feature"
Expand All @@ -104,20 +106,19 @@ jobs:
with:
payload: |
{
"text": "🚨 Synthetic Geo Monitoring Tests Failure Alert 🚨",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "Synthetic Geo Monitoring Tests Failure"
"text": "🚨 Synthetic Geo Swap Monitoring Tests Failure Alert 🚨"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Environment:* production\n*App URL:* https://app.osmosis.zone"
"text": "*Production App URL:* https://app.osmosis.zone"
}
},
{
Expand All @@ -134,8 +135,8 @@ jobs:
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

fe-swap-eu-tests:
timeout-minutes: 10
name: fe-swap-eu-tests
timeout-minutes: 15
name: prod-fe-swap-eu-tests
needs: fe-swap-us-tests
runs-on: macos-latest
steps:
Expand All @@ -157,14 +158,15 @@ jobs:
- name: Install Playwright
run: |
yarn --cwd packages/web install --frozen-lockfile && npx playwright install --with-deps chromium
- name: Run Swap tests in US
- name: Run Swap tests in EU
env:
BASE_URL: "https://app.osmosis.zone"
TEST_PROXY: "http://138.68.112.16:8888"
TEST_PROXY_USERNAME: ${{ secrets.TEST_PROXY_USERNAME }}
TEST_PROXY_PASSWORD: ${{ secrets.TEST_PROXY_PASSWORD }}
PRIVATE_KEY_S: ${{ secrets.TEST_PRIVATE_KEY_1 }}
USE_TEST_PROXY: "true"
USE_TEST_PROXY: "use"
USE_TRADE: "use"
run: |
cd packages/web
npx playwright test -g "Test Swap Stables feature"
Expand All @@ -177,8 +179,8 @@ jobs:
path: packages/web/playwright-report

fe-swap-sg-tests:
timeout-minutes: 10
name: fe-swap-sg-tests
timeout-minutes: 15
name: prod-fe-swap-sg-tests
needs: fe-swap-us-tests
runs-on: macos-latest
steps:
Expand All @@ -200,14 +202,15 @@ jobs:
- name: Install Playwright
run: |
yarn --cwd packages/web install --frozen-lockfile && npx playwright install --with-deps chromium
- name: Run Swap tests in US
- name: Run Swap tests in SG
env:
BASE_URL: "https://app.osmosis.zone"
TEST_PROXY: "http://139.59.218.19:8888"
TEST_PROXY_USERNAME: ${{ secrets.TEST_PROXY_USERNAME }}
TEST_PROXY_PASSWORD: ${{ secrets.TEST_PROXY_PASSWORD }}
PRIVATE_KEY_S: ${{ secrets.TEST_PRIVATE_KEY_2 }}
USE_TEST_PROXY: "true"
USE_TEST_PROXY: "use"
USE_TRADE: "use"
run: |
cd packages/web
npx playwright test -g "Test Swap Stables feature"
Expand All @@ -219,11 +222,91 @@ jobs:
name: sg-swap-test-results
path: packages/web/playwright-report

fe-trade-eu-tests:
timeout-minutes: 10
name: prod-fe-trade-eu-tests
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Cache dependencies
uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.OS }}-20.x-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-20.x-
- name: Install Playwright
run: |
yarn --cwd packages/web install --frozen-lockfile && npx playwright install --with-deps chromium
- name: Run Swap tests in EU
env:
BASE_URL: "https://app.osmosis.zone"
TEST_PROXY: "http://138.68.112.16:8888"
TEST_PROXY_USERNAME: ${{ secrets.TEST_PROXY_USERNAME }}
TEST_PROXY_PASSWORD: ${{ secrets.TEST_PROXY_PASSWORD }}
PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY_2 }}
USE_TEST_PROXY: "use"
run: |
cd packages/web
npx playwright test monitoring --timeout 180000
- name: upload monitoring test results
if: failure()
id: monitoring-test-results
uses: actions/upload-artifact@v4
with:
name: eu-trade-test-results
path: packages/web/playwright-report
- name: Send Slack alert if test fails
id: slack
if: failure()
uses: slackapi/[email protected]
with:
payload: |
{
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "🚨 Synthetic EU Trade Monitoring Tests Failure Alert 🚨"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Production App URL:* https://app.osmosis.zone"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Click here to view the run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|GitHub Actions Run>"
}
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SERVER_E2E_TESTS_SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

delete-deployments:
runs-on: ubuntu-latest
if: always()
needs:
[fe-quote-tests, fe-swap-us-tests, fe-swap-sg-tests, fe-swap-eu-tests]
[
fe-quote-tests,
fe-swap-us-tests,
fe-swap-sg-tests,
fe-swap-eu-tests,
fe-trade-eu-tests,
]
steps:
- name: Delete Previous deployments
uses: actions/github-script@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/server-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: Run Tests
id: tests
run: yarn test:e2e --filter=server
run: yarn test:e2e --filter=@osmosis-labs/server
env:
NEXT_PUBLIC_SIDECAR_BASE_URL: ${{ matrix.server-url }}
NEXT_PUBLIC_TIMESERIES_DATA_URL: ${{ matrix.timeseries-url }}
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@ coverage

tsconfig.tsbuildinfo
packages/web/e2e/keplr-extension-manifest

# Vim backup, undo files
*.orig
*~

# Vim swap files
.*.swp
.*.swo
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"typescript.tsdk": "node_modules/typescript/lib",
"search.exclude": {
"build/": true
}
},
"cSpell.words": ["opentelemetry"]
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"pre-commit": "^1.2.2",
"prettier": "^2.8.8",
"ts-jest": "^29.1.2",
"turbo": "^1.13.3",
"typescript": "^5.4.5"
"turbo": "^2.0.14",
"typescript": "5.4.5"
},
"packageManager": "[email protected]",
"resolutions": {
Expand All @@ -82,4 +82,4 @@
"@keplr-wallet/types": "0.10.24-ibc.go.v7.hot.fix",
"@keplr-wallet/unit": "0.10.24-ibc.go.v7.hot.fix"
}
}
}
2 changes: 1 addition & 1 deletion packages/bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/jest-in-case": "^1.0.6",
"jest-in-case": "^1.0.2",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
"typescript": "5.4.5"
},
"lint-staged": {
"*": [
Expand Down
Loading
Loading