Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions .github/workflows/conformance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
push:
branches:
- main
paths:
- 'handwritten/storage/**'
# paths:
# - 'handwritten/storage/**'
pull_request:
paths:
- 'handwritten/storage/**'
# paths:
# - 'handwritten/storage/**'
name: conformance
jobs:
conformance-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 18 in .github/workflows/conformance-test.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

conformance-test.yaml:18: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

Check warning on line 21 in .github/workflows/conformance-test.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

conformance-test.yaml:21: action's hash pin has mismatched or missing version comment: points to commit 249970729cb0
with:
node-version: 14
- run: node --version
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
push:
branches:
- main
paths:
- 'handwritten/bigtable/**'
# paths:
# - 'handwritten/bigtable/**'
pull_request:
paths:
- 'handwritten/bigtable/**'
# paths:
# - 'handwritten/bigtable/**'
name: conformance
jobs:
conformance:
Expand All @@ -36,16 +36,16 @@
matrix:
node: [ 18, 20 ]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 39 in .github/workflows/conformance.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

conformance.yaml:39: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
persist-credentials: false
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 42 in .github/workflows/conformance.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

conformance.yaml:42: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
repository: googleapis/cloud-bigtable-clients-test
ref: main
path: handwritten/bigtable/cloud-bigtable-clients-test
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

Check warning on line 48 in .github/workflows/conformance.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

conformance.yaml:48: action's hash pin has mismatched or missing version comment: points to commit 249970729cb0
with:
node-version: ${{ matrix.node }}
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/generator-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
push:
branches:
- main
paths:
- 'core/generator/**'
- '.github/workflows/generator-tests.yaml'
# paths:
# - 'core/generator/**'
# - '.github/workflows/generator-tests.yaml'
pull_request:
paths:
- 'core/generator/**'
- '.github/workflows/generator-tests.yaml'
# paths:
# - 'core/generator/**'
# - '.github/workflows/generator-tests.yaml'
workflow_dispatch:

jobs:
Expand All @@ -21,7 +21,7 @@
runs-on: ubuntu-latest
container: gcr.io/gapic-images/googleapis:20250404
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

Check warning on line 24 in .github/workflows/generator-tests.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

generator-tests.yaml:24: action's hash pin has mismatched or missing version comment: points to commit fbc6f3992d24
with:
fetch-depth: 300
persist-credentials: false
Expand All @@ -37,7 +37,7 @@
key: ${{ runner.os }}-googleapis-20250422-${{ secrets.CACHE_VERSION }}

- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

Check warning on line 40 in .github/workflows/generator-tests.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

generator-tests.yaml:40: action's hash pin has mismatched or missing version comment: points to commit 249970729cb0
with:
node-version: 24.x

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mandatory-conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
push:
branches:
- main
paths:
- 'handwritten/bigtable/**'
# paths:
# - 'handwritten/bigtable/**'
pull_request:
paths:
- 'handwritten/bigtable/**'
# paths:
# - 'handwritten/bigtable/**'
name: mandatory-conformance
jobs:
mandatory-conformance:
Expand All @@ -36,16 +36,16 @@
matrix:
node: [ 18, 20 ]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 39 in .github/workflows/mandatory-conformance.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

mandatory-conformance.yaml:39: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
persist-credentials: false
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 42 in .github/workflows/mandatory-conformance.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

mandatory-conformance.yaml:42: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
repository: googleapis/cloud-bigtable-clients-test
ref: v0.0.3
path: handwritten/bigtable/cloud-bigtable-clients-test
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

Check warning on line 48 in .github/workflows/mandatory-conformance.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

mandatory-conformance.yaml:48: action's hash pin has mismatched or missing version comment: points to commit 249970729cb0
with:
node-version: ${{ matrix.node }}
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
Expand Down
1 change: 1 addition & 0 deletions handwritten/bigquery-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/bigquery-storage"
}

1 change: 1 addition & 0 deletions handwritten/bigquery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/bigquery"
}

1 change: 1 addition & 0 deletions handwritten/bigtable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/bigtable"
}

18 changes: 14 additions & 4 deletions handwritten/bigtable/src/client-side-metrics/exporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,24 @@ function getInterval(
| DataPoint<Histogram>
| DataPoint<ExponentialHistogram>,
) {
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,
},
};
}
Expand Down
1 change: 1 addition & 0 deletions handwritten/cloud-profiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/cloud-profiler"
}

1 change: 1 addition & 0 deletions handwritten/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/datastore"
}

1 change: 1 addition & 0 deletions handwritten/error-reporting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/error-reporting"
}

1 change: 1 addition & 0 deletions handwritten/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/firestore"
}

1 change: 1 addition & 0 deletions handwritten/google-cloud-dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/google-cloud-dns"
}

1 change: 1 addition & 0 deletions handwritten/logging-bunyan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging-bunyan"
}

1 change: 1 addition & 0 deletions handwritten/logging-winston/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging-winston"
}

1 change: 1 addition & 0 deletions handwritten/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging"
}

1 change: 1 addition & 0 deletions handwritten/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/pubsub"
}

1 change: 1 addition & 0 deletions handwritten/spanner-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@
"node": ">=18"
}
}

1 change: 1 addition & 0 deletions handwritten/spanner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/spanner"
}

1 change: 1 addition & 0 deletions handwritten/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,4 @@
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/storage"
}

Loading