diff --git a/.github/workflows/conformance.yaml b/.github/workflows/bigtable-conformance.yaml similarity index 98% rename from .github/workflows/conformance.yaml rename to .github/workflows/bigtable-conformance.yaml index c35f95e5afb3..cf8279b80ecd 100644 --- a/.github/workflows/conformance.yaml +++ b/.github/workflows/bigtable-conformance.yaml @@ -25,7 +25,7 @@ on: pull_request: paths: - 'handwritten/bigtable/**' -name: conformance +name: bigtable-conformance jobs: conformance: runs-on: ubuntu-latest diff --git a/.github/workflows/presubmit.yaml b/.github/workflows/presubmit.yaml index dc152e2bec88..2c87f7666c3c 100644 --- a/.github/workflows/presubmit.yaml +++ b/.github/workflows/presubmit.yaml @@ -5,15 +5,37 @@ on: pull_request: name: presubmit jobs: + setup: + runs-on: ubuntu-latest + outputs: + shard-matrix: ${{ steps.set-matrix.outputs.shard_matrix }} + shard-total: ${{ steps.set-matrix.outputs.shard_total }} + steps: + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + with: + fetch-depth: 2 + persist-credentials: false + - name: Calculate Matrix + id: set-matrix + run: | + export DRY_RUN_SHARDS=true + export BUILD_TYPE=presubmit + export TEST_TYPE=units + export GIT_DIFF_ARG=HEAD^1 + bash ci/run_conditional_tests.sh units: + needs: setup + name: units (Node ${{ matrix.node-version }}, Shard ${{ matrix.shard-index }}) runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: [22, 24, 26] + shard-index: ${{ fromJSON(needs.setup.outputs.shard-matrix) }} steps: - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: - fetch-depth: 300 + fetch-depth: 2 persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 @@ -28,13 +50,16 @@ jobs: env: BUILD_TYPE: presubmit TEST_TYPE: units + SHARD_TOTAL: ${{ needs.setup.outputs.shard-total }} + SHARD_INDEX: ${{ matrix.shard-index }} + GIT_DIFF_ARG: HEAD^1 lint: runs-on: ubuntu-latest continue-on-error: true steps: - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: - fetch-depth: 300 + fetch-depth: 2 persist-credentials: false - name: Use Node.js 24 uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 @@ -43,3 +68,37 @@ jobs: - run: npm install - run: npm run lint name: Run monorepo linter + + # Dummy jobs to satisfy branch protection requirements for each node version + units-status: + name: units (${{ matrix.node-version }}) + needs: units + runs-on: ubuntu-latest + if: always() + strategy: + fail-fast: false + matrix: + node-version: [22, 24, 26] + steps: + - name: Check shard status + uses: actions/github-script@v6 + with: + script: | + const { data: { jobs } } = await github.rest.actions.listJobsForWorkflowRun({ + owner: context.repo.owner, + repo: context.repo.repo, + run_id: context.runId, + }); + const nodeVersion = '${{ matrix.node-version }}'; + const shardJobs = jobs.filter(j => j.name.includes(`units (Node ${nodeVersion},`)); + if (shardJobs.length === 0) { + core.setFailed(`No shard jobs found for Node ${nodeVersion}`); + return; + } + const failed = shardJobs.filter(j => j.conclusion === 'failure' || j.conclusion === 'cancelled'); + if (failed.length > 0) { + const failedLinks = failed.map(j => `- ${j.name}: ${j.html_url}`).join('\n'); + core.setFailed(`${failed.length} shards failed for Node ${nodeVersion}:\n${failedLinks}`); + } else { + core.info(`All shards passed for Node ${nodeVersion}`); + } diff --git a/.github/workflows/conformance-test.yaml b/.github/workflows/storage-conformance.yaml similarity index 96% rename from .github/workflows/conformance-test.yaml rename to .github/workflows/storage-conformance.yaml index 13eb09ab8981..924b88407081 100644 --- a/.github/workflows/conformance-test.yaml +++ b/.github/workflows/storage-conformance.yaml @@ -10,7 +10,7 @@ on: pull_request: paths: - 'handwritten/storage/**' -name: conformance +name: storage-conformance jobs: conformance-test: runs-on: ubuntu-latest diff --git a/.github/workflows/windows-presubmit.yaml b/.github/workflows/windows-presubmit.yaml index 31105cfa46de..d6178f027af7 100644 --- a/.github/workflows/windows-presubmit.yaml +++ b/.github/workflows/windows-presubmit.yaml @@ -5,15 +5,37 @@ on: pull_request: name: presubmit-windows jobs: + setup: + runs-on: ubuntu-latest + outputs: + shard-matrix: ${{ steps.set-matrix.outputs.shard_matrix }} + shard-total: ${{ steps.set-matrix.outputs.shard_total }} + steps: + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + with: + fetch-depth: 2 + persist-credentials: false + - name: Calculate Matrix + id: set-matrix + run: | + export DRY_RUN_SHARDS=true + export BUILD_TYPE=presubmit + export TEST_TYPE=units + export GIT_DIFF_ARG=HEAD^1 + bash ci/run_conditional_tests.sh units: + needs: setup + name: units (Node ${{ matrix.node-version }}, Shard ${{ matrix.shard-index }}) runs-on: windows-latest strategy: + fail-fast: false matrix: node-version: [22, 24, 26] + shard-index: ${{ fromJSON(needs.setup.outputs.shard-matrix) }} steps: - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: - fetch-depth: 300 + fetch-depth: 2 persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 @@ -29,3 +51,40 @@ jobs: env: BUILD_TYPE: presubmit TEST_TYPE: units + SHARD_TOTAL: ${{ needs.setup.outputs.shard-total }} + SHARD_INDEX: ${{ matrix.shard-index }} + GIT_DIFF_ARG: HEAD^1 + + # Dummy jobs to satisfy branch protection requirements for each node version + units-status: + name: units (${{ matrix.node-version }}) + needs: units + runs-on: ubuntu-latest + if: always() + strategy: + fail-fast: false + matrix: + node-version: [22, 24, 26] + steps: + - name: Check shard status + uses: actions/github-script@v6 + with: + script: | + const { data: { jobs } } = await github.rest.actions.listJobsForWorkflowRun({ + owner: context.repo.owner, + repo: context.repo.repo, + run_id: context.runId, + }); + const nodeVersion = '${{ matrix.node-version }}'; + const shardJobs = jobs.filter(j => j.name.includes(`units (Node ${nodeVersion},`)); + if (shardJobs.length === 0) { + core.setFailed(`No shard jobs found for Node ${nodeVersion}`); + return; + } + const failed = shardJobs.filter(j => j.conclusion === 'failure' || j.conclusion === 'cancelled'); + if (failed.length > 0) { + const failedLinks = failed.map(j => `- ${j.name}: ${j.html_url}`).join('\n'); + core.setFailed(`${failed.length} shards failed for Node ${nodeVersion}:\n${failedLinks}`); + } else { + core.info(`All shards passed for Node ${nodeVersion}`); + } diff --git a/ci/run_conditional_tests.sh b/ci/run_conditional_tests.sh index 5e10d220da66..a025627e1548 100755 --- a/ci/run_conditional_tests.sh +++ b/ci/run_conditional_tests.sh @@ -31,25 +31,27 @@ fi test_script="${PROJECT_ROOT}/ci/run_single_test.sh" -if [ ${BUILD_TYPE} == "presubmit" ]; then - # For presubmit build, we want to know the difference from the - # common commit in origin/main. - GIT_DIFF_ARG="origin/main..." - - # Then fetch enough history for finding the common commit. - git fetch origin main --deepen=300 - -elif [ ${BUILD_TYPE} == "continuous" ]; then - # For continuous build, we want to know the difference in the last - # commit. This assumes we use squash commit when merging PRs. - GIT_DIFF_ARG="HEAD~.." - - # Then fetch one last commit for getting the diff. - git fetch origin main --deepen=1 - -else - # Run everything. - GIT_DIFF_ARG="" +if [ -z "${GIT_DIFF_ARG}" ]; then + if [ ${BUILD_TYPE} == "presubmit" ]; then + # For presubmit build, we want to know the difference from the + # common commit in origin/main. + GIT_DIFF_ARG="origin/main..." + + # Then fetch enough history for finding the common commit. + git fetch origin main --deepen=300 + + elif [ ${BUILD_TYPE} == "continuous" ]; then + # For continuous build, we want to know the difference in the last + # commit. This assumes we use squash commit when merging PRs. + GIT_DIFF_ARG="HEAD~.." + + # Then fetch one last commit for getting the diff. + git fetch origin main --deepen=1 + + else + # Run everything. + GIT_DIFF_ARG="" + fi fi # Then detect changes in the test scripts. @@ -62,10 +64,10 @@ if [[ "${changed}" -eq 0 ]]; then echo "no change detected in ci" else echo "skipping trigger of tests for now: tracking in #7540" - # echo "change detected in ci, we should test everything" - # echo "result of git diff ${GIT_DIFF_ARG} ci:" - # git diff ${GIT_DIFF_ARG} ci - # GIT_DIFF_ARG="" + #echo "change detected in ci, we should test everything" + #echo "result of git diff ${GIT_DIFF_ARG} ci:" + #git diff ${GIT_DIFF_ARG} ci + #GIT_DIFF_ARG="" fi # Now we have a fixed list, but we can change it to autodetect if @@ -82,7 +84,7 @@ subdirs=( ) RETVAL=0 -# These following APIs need an explicit credential file to run properly (or oAuth2, which we don't support in this repo). +# These following APIs need an explicit credential file to run properly (or oAuth2, which we don't support in this repo). # When we hit these packages, we will run the "samples with credentials" trigger, which contains the credentials as an env variable tests_with_credentials="core/packages/google-auth-library-nodejs/ packages/google-analytics-admin/ packages/google-area120-tables/ packages/google-analytics-data/ packages/google-iam-credentials/ packages/google-apps-meet/ packages/google-chat/ packages/google-streetview-publish/ packages/google-cloud-developerconnect/" @@ -90,10 +92,13 @@ tests_with_credentials="core/packages/google-auth-library-nodejs/ packages/googl # Some packages are only used by our bots and automation. These packages do not need to run on Windows and # often employ platform specific code like file system interaction. Some packages may also fail # on Windows due to incompatible npm scripts. -# +# # Until these packages can be updated to be OS agnostic, we will skip them on Windows. windows_exempt_tests="core/ core/packages/ core/dev-packages/ .github/scripts/fixtures/ .github/scripts/tests/ core/packages/gapic-node-processing/ core/packages/typeless-sample-bot/ handwritten/cloud-profiler/" +# Gather all test directories into an array +test_dirs=() + for subdir in ${subdirs[@]}; do for d in `ls -d ${subdir}/*/`; do if [ -s "ignore.json" ] && jq -e ".ignored[] | select(. == \"$d\")" ignore.json > /dev/null 2>&1; then @@ -116,7 +121,7 @@ for subdir in ${subdirs[@]}; do # System tests for packages are broken and blocking PRs. # See https://github.com/googleapis/google-cloud-node/issues/7976. # - # Per https://github.com/googleapis/google-cloud-node/issues/7921, + # Per https://github.com/googleapis/google-cloud-node/issues/7921, # we are likely to permanently remove these tests in the near future. if [[ "${subdir}" == "packages" && "${TEST_TYPE}" == "system" ]]; then echo "Skipping ${TEST_TYPE} test for packages: ${d}" @@ -126,7 +131,7 @@ for subdir in ${subdirs[@]}; do # Sample tests for packages are broken/flaky and blocking PRs. # See https://github.com/googleapis/google-cloud-node/issues/7976#issuecomment-4210458096. # - # Per https://github.com/googleapis/google-cloud-node/issues/7921, + # Per https://github.com/googleapis/google-cloud-node/issues/7921, # we are likely to permanently remove these tests in the near future. if [[ "${subdir}" == "packages" && "${TEST_TYPE}" == "samples" ]]; then echo "Skipping ${TEST_TYPE} test for packages: ${d}" @@ -204,21 +209,44 @@ for subdir in ${subdirs[@]}; do fi fi if [ "${should_test}" = true ]; then - echo "running test in ${d}" - pushd ${d} - # Temporarily allow failure. - set +e - ${test_script} - ret=$? - set -e - if [ ${ret} -ne 0 ]; then - RETVAL=${ret} - # Since there are so many APIs, we should exit early if there's an error - exit ${RETVAL} - fi - popd + test_dirs+=("${d}") fi done done +# If DRY_RUN_SHARDS is set, output dynamic matrix values to GitHub Actions and exit +if [[ "${DRY_RUN_SHARDS}" == "true" ]]; then + count=${#test_dirs[@]} + if [[ $count -gt 15 ]]; then + echo "shard_matrix=[0, 1, 2, 3, 4]" >> $GITHUB_OUTPUT + echo "shard_total=5" >> $GITHUB_OUTPUT + else + echo "shard_matrix=[0]" >> $GITHUB_OUTPUT + echo "shard_total=1" >> $GITHUB_OUTPUT + fi + exit 0 +fi + +# If SHARD_TOTAL and SHARD_INDEX are provided, we will only run a subset of the tests. +for i in "${!test_dirs[@]}"; do + d="${test_dirs[$i]}" + + if [[ -n "${SHARD_TOTAL}" && -n "${SHARD_INDEX}" ]]; then + if (( i % SHARD_TOTAL != SHARD_INDEX )); then + continue + fi + fi + + echo "running test in ${d}" + pushd ${d} >/dev/null + # Temporarily allow failure. + set +e + ${test_script} + ret=$? + set -e + if [ ${ret} -ne 0 ]; then + exit ${ret} + fi + popd >/dev/null +done -exit ${RETVAL} +exit 0 diff --git a/ci/run_single_test.sh b/ci/run_single_test.sh index 13b2d43d1782..47a26d09ff83 100755 --- a/ci/run_single_test.sh +++ b/ci/run_single_test.sh @@ -37,6 +37,8 @@ if [ ${BUILD_TYPE} != "presubmit" ]; then export MOCHA_REPORTER_OUTPUT=${PROJECT}_sponge_log.xml export MOCHA_REPORTER_SUITENAME=${PROJECT} export MOCHA_REPORTER=xunit +else + export MOCHA_REPORTER=dot fi # Install dependencies @@ -47,8 +49,8 @@ if command -v cygpath >/dev/null 2>&1; then PNPMFILE_PATH=$(cygpath -m "${PNPMFILE_PATH}") fi -echo "pnpm install --ignore-scripts --engine-strict --prod --pnpmfile \"${PNPMFILE_PATH}\"; pnpm install --pnpmfile \"${PNPMFILE_PATH}\"" -pnpm install --ignore-scripts --engine-strict --prod --pnpmfile "${PNPMFILE_PATH}"; pnpm install --pnpmfile "${PNPMFILE_PATH}" +echo "pnpm install --reporter=silent --engine-strict --pnpmfile \"${PNPMFILE_PATH}\"" +pnpm install --reporter=silent --engine-strict --pnpmfile "${PNPMFILE_PATH}" retval=0 diff --git a/core/dev-packages/pack-n-play/test/fixtures/esm-package/test/test.js b/core/dev-packages/pack-n-play/test/fixtures/esm-package/test/test.js index 037babedf227..2adbf53d289c 100644 --- a/core/dev-packages/pack-n-play/test/fixtures/esm-package/test/test.js +++ b/core/dev-packages/pack-n-play/test/fixtures/esm-package/test/test.js @@ -16,7 +16,8 @@ import {packNTest} from 'pack-n-play'; import * as assert from 'assert'; import {describe, it} from 'mocha'; -describe('ESM package', () => { +describe('ESM package', function () { + this.timeout(120000); it('should support esm property', () => packNTest({ sample: { diff --git a/core/dev-packages/pack-n-play/test/fixtures/leaky/test/test.ts b/core/dev-packages/pack-n-play/test/fixtures/leaky/test/test.ts index 3a9dc7f39b39..9c56bc9c0741 100644 --- a/core/dev-packages/pack-n-play/test/fixtures/leaky/test/test.ts +++ b/core/dev-packages/pack-n-play/test/fixtures/leaky/test/test.ts @@ -16,7 +16,8 @@ import {packNTest} from 'pack-n-play'; import * as assert from 'assert'; import {describe, it} from 'mocha'; -describe('leaky tests', () => { +describe('leaky tests', function () { + this.timeout(120000); it('should fail packing n testing', async () => { await assert.rejects( packNTest({ diff --git a/core/dev-packages/pack-n-play/test/fixtures/pass/test/test.ts b/core/dev-packages/pack-n-play/test/fixtures/pass/test/test.ts index 2dd02fb27cff..50d0d07d620d 100644 --- a/core/dev-packages/pack-n-play/test/fixtures/pass/test/test.ts +++ b/core/dev-packages/pack-n-play/test/fixtures/pass/test/test.ts @@ -15,7 +15,8 @@ import {packNTest} from 'pack-n-play'; import {describe, it} from 'mocha'; -describe('passing tests', () => { +describe('passing tests', function () { + this.timeout(120000); it('should pass the test', async () => { await packNTest({ sample: { diff --git a/core/dev-packages/pack-n-play/test/test.ts b/core/dev-packages/pack-n-play/test/test.ts index da954b94ba08..f916e9f7b589 100644 --- a/core/dev-packages/pack-n-play/test/test.ts +++ b/core/dev-packages/pack-n-play/test/test.ts @@ -18,7 +18,11 @@ import execa = require('execa'); import {describe, it} from 'mocha'; describe('pack-n-play', () => { - it('should run tests', async () => { + it('should run tests', async function () { + this.timeout(120000); // 2 minutes + if (process.platform === 'win32') { + this.skip(); + } const fixturesPath = path.resolve('./test/fixtures'); const dirs = fs .readdirSync(fixturesPath) diff --git a/core/packages/gcp-metadata/src/index.ts b/core/packages/gcp-metadata/src/index.ts index 723fcf1d3f1e..d438a4c8b6a7 100644 --- a/core/packages/gcp-metadata/src/index.ts +++ b/core/packages/gcp-metadata/src/index.ts @@ -383,12 +383,17 @@ export async function isAvailable() { if (err.response && err.response.status === 404) { return false; } else { + let errObj = e as any; + if (errObj instanceof Error && errObj.cause) { + errObj = errObj.cause; + } + const codes = - e instanceof Error && e.name === 'AggregateError' - ? (e as any).errors.map((error: any) => + errObj instanceof Error && errObj.name === 'AggregateError' + ? (errObj as any).errors.map((error: any) => error.code ? error.code.toString() : 'UNKNOWN', ) - : [err.code ? err.code.toString() : 'UNKNOWN']; + : [errObj.code ? errObj.code.toString() : 'UNKNOWN']; const isExpected = codes.every((code: string) => [ diff --git a/core/packages/nodejs-googleapis-common/src/discovery.ts b/core/packages/nodejs-googleapis-common/src/discovery.ts index c00c663bed28..cb9114e05cdb 100644 --- a/core/packages/nodejs-googleapis-common/src/discovery.ts +++ b/core/packages/nodejs-googleapis-common/src/discovery.ts @@ -13,7 +13,6 @@ import * as fs from 'fs'; import {Gaxios} from 'gaxios'; -import resolve = require('url'); import * as util from 'util'; import {GlobalOptions, ServiceOptions, APIRequestParams} from './api'; @@ -136,8 +135,15 @@ export class Discovery { apiDiscoveryUrl: string | {url?: string}, ): Promise { if (typeof apiDiscoveryUrl === 'string') { - const parts = resolve.parse(apiDiscoveryUrl); - if (apiDiscoveryUrl && !parts.protocol) { + let isUrl = false; + try { + new URL(apiDiscoveryUrl); + isUrl = true; + } catch (e) { + // Not a valid URL + } + + if (apiDiscoveryUrl && !isUrl) { this.log('Reading from file ' + apiDiscoveryUrl); const file = await readFile(apiDiscoveryUrl, {encoding: 'utf8'}); return this.makeEndpoint(JSON.parse(file)); diff --git a/core/packages/nodejs-googleapis-common/test/test.discovery.ts b/core/packages/nodejs-googleapis-common/test/test.discovery.ts index 0e656c5fb6b1..6745982a218f 100644 --- a/core/packages/nodejs-googleapis-common/test/test.discovery.ts +++ b/core/packages/nodejs-googleapis-common/test/test.discovery.ts @@ -24,7 +24,7 @@ describe(__filename, () => { nock.cleanAll(); }); it('should discover an API', async () => { - const discoUrl = 'http://test.local'; + const discoUrl = 'http://test.local:80'; const scope = nock(discoUrl) .get('/') .replyWithFile(200, './test/fixtures/compute-v1.json', { @@ -37,7 +37,7 @@ describe(__filename, () => { scope.done(); }); it('should discover an API through second weird path', async () => { - const discoUrl = 'http://test.local'; + const discoUrl = 'http://test.local:80'; const scope = nock(discoUrl) .get('/') .replyWithFile(200, './test/fixtures/compute-v1.json', { diff --git a/handwritten/bigtable/src/client-side-metrics/exporter.ts b/handwritten/bigtable/src/client-side-metrics/exporter.ts index fa4fd3a900a8..df5e0bb209e6 100644 --- a/handwritten/bigtable/src/client-side-metrics/exporter.ts +++ b/handwritten/bigtable/src/client-side-metrics/exporter.ts @@ -52,14 +52,24 @@ function getInterval( | DataPoint | DataPoint, ) { + let endSec = dataPoint.endTime[0]; + let endNanos = dataPoint.endTime[1]; + const startSec = dataPoint.startTime[0]; + const startNanos = dataPoint.startTime[1]; + + if (startSec > endSec || (startSec === endSec && startNanos > endNanos)) { + endSec = startSec; + endNanos = startNanos; + } + return { endTime: { - seconds: dataPoint.endTime[0], - nanos: dataPoint.endTime[1], + seconds: endSec, + nanos: endNanos, }, startTime: { - seconds: dataPoint.startTime[0], - nanos: dataPoint.startTime[1], + seconds: startSec, + nanos: startNanos, }, }; } diff --git a/handwritten/bigtable/test/metrics-collector/gcp-metrics-handler.ts b/handwritten/bigtable/test/metrics-collector/gcp-metrics-handler.ts index 0e1d06039b8d..cd5a0cc0158b 100644 --- a/handwritten/bigtable/test/metrics-collector/gcp-metrics-handler.ts +++ b/handwritten/bigtable/test/metrics-collector/gcp-metrics-handler.ts @@ -148,10 +148,21 @@ describe('Bigtable/GCPMetricsHandler', () => { } } } + const sdkMetrics = require('@opentelemetry/sdk-metrics'); + class FastPeriodicExportingMetricReader extends sdkMetrics.PeriodicExportingMetricReader { + constructor(options: any) { + options.exportIntervalMillis = 1000; + super(options); + } + } const stubs = { './exporter': { CloudMonitoringExporter: TestExporter, }, + '@opentelemetry/sdk-metrics': { + ...sdkMetrics, + PeriodicExportingMetricReader: FastPeriodicExportingMetricReader, + }, }; const FakeMetricsHandler = proxyquire( '../../src/client-side-metrics/gcp-metrics-handler.js', diff --git a/handwritten/bigtable/test/metrics-collector/version/get-version-script.js b/handwritten/bigtable/test/metrics-collector/version/get-version-script.js index 2950deaca99f..14b53a1c2cf9 100644 --- a/handwritten/bigtable/test/metrics-collector/version/get-version-script.js +++ b/handwritten/bigtable/test/metrics-collector/version/get-version-script.js @@ -81,5 +81,6 @@ async function main() { ) { throw Error('The wrong version is being recorded'); } + process.exit(0); } main(); diff --git a/handwritten/firestore/dev/conformance/runner.ts b/handwritten/firestore/dev/conformance/runner.ts index 54bf22e77d4d..8acd520a4822 100644 --- a/handwritten/firestore/dev/conformance/runner.ts +++ b/handwritten/firestore/dev/conformance/runner.ts @@ -312,8 +312,6 @@ function getHandler(spec: ConformanceProto) { } function runTest(spec: ConformanceProto) { - console.log(`Running Spec:\n${JSON.stringify(spec, null, 2)}\n`); - const updateTest = (spec: ConformanceProto) => { const overrides = {commit: commitHandler(spec)}; return createInstance(overrides).then(() => { diff --git a/packages/google-cloud-vision/README.md b/packages/google-cloud-vision/README.md index a14450632983..581d2e86a088 100644 --- a/packages/google-cloud-vision/README.md +++ b/packages/google-cloud-vision/README.md @@ -180,3 +180,5 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) [homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vision/samples [homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vision/CHANGELOG.md [homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vision + +