Skip to content

Commit 1019b05

Browse files
authored
Merge branch 'main' into logs-for-agents
2 parents ab4e48e + f876f57 commit 1019b05

File tree

4 files changed

+62
-55
lines changed

4 files changed

+62
-55
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
# We set a flag so we can skip tests that access Netlify API
7070
NETLIFY_TEST_DISABLE_LIVE:
7171
${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true }}
72+
NETLIFY_TEST_ACCOUNT_SLUG: 'netlify-integration-testing'
7273
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
7374
# NETLIFY_TEST_GITHUB_TOKEN is used to avoid reaching GitHub API limits in exec-fetcher.js
7475
NETLIFY_TEST_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package-lock.json

Lines changed: 48 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,20 @@
5959
"dependencies": {
6060
"@fastify/static": "9.0.0",
6161
"@netlify/ai": "0.3.4",
62-
"@netlify/api": "14.0.13",
62+
"@netlify/api": "14.0.14",
6363
"@netlify/blobs": "10.1.0",
64-
"@netlify/build": "35.5.14",
64+
"@netlify/build": "35.7.1",
6565
"@netlify/build-info": "10.3.0",
66-
"@netlify/config": "24.3.0",
66+
"@netlify/config": "24.4.0",
6767
"@netlify/dev-utils": "4.3.2",
68-
"@netlify/edge-bundler": "14.9.5",
68+
"@netlify/edge-bundler": "14.9.8",
6969
"@netlify/edge-functions": "3.0.3",
7070
"@netlify/edge-functions-bootstrap": "2.17.1",
7171
"@netlify/headers-parser": "9.0.2",
7272
"@netlify/images": "1.2.5",
7373
"@netlify/local-functions-proxy": "2.0.3",
7474
"@netlify/redirect-parser": "15.0.3",
75-
"@netlify/zip-it-and-ship-it": "14.3.1",
75+
"@netlify/zip-it-and-ship-it": "14.3.2",
7676
"@octokit/rest": "22.0.0",
7777
"@opentelemetry/api": "1.8.0",
7878
"@pnpm/tabtab": "0.5.4",

tests/integration/commands/deploy/deploy.test.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { fileURLToPath } from 'url'
55
import { load } from 'cheerio'
66
import execa from 'execa'
77
import fetch from 'node-fetch'
8-
import { afterAll, beforeAll, describe, expect, test } from 'vitest'
8+
import { afterAll, beforeAll, describe, expect, test, vi } from 'vitest'
99

1010
import { callCli } from '../../utils/call-cli.js'
1111
import { createLiveTestSite, generateSiteName } from '../../utils/create-live-test-site.js'
@@ -86,7 +86,13 @@ const context: { account: unknown; siteId: string } = {
8686
account: undefined,
8787
}
8888

89-
describe.skipIf(process.env.NETLIFY_TEST_DISABLE_LIVE === 'true').concurrent('commands/deploy', () => {
89+
const disableLiveTests = process.env.NETLIFY_TEST_DISABLE_LIVE === 'true'
90+
91+
// Running multiple entire build + deploy cycles concurrently results in a lot of network requests that may
92+
// cause resource contention anyway, so lower the default concurrency from 5 to 3.
93+
vi.setConfig({ maxConcurrency: 3 })
94+
95+
describe.skipIf(disableLiveTests).concurrent('commands/deploy', { timeout: 300_000 }, () => {
9096
beforeAll(async () => {
9197
const { account, siteId } = await createLiveTestSite(SITE_NAME)
9298
context.siteId = siteId

0 commit comments

Comments
 (0)