NokiaTube | New address | Mode Phone | On high quality
Skip to content

Tags

Tags

v2026.11.24

Toggle v2026.11.24's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(monitoring): show all datasources in freshness bar gauge and link…

… linter findings (#6423)

## Overview

Updates the **3. Vulnerability Data Quality & Ecosystem Health** Plutono
dashboard (`data-quality-drift.json`) so all upstream datasources'
freshness are shown in the horizontal bar gauge (rather than capping to
`topk(20)`), and adds a direct link from **Active Linter Findings** to
`test.osv.dev/linter`.

*Note: This PR was AI-assisted.*

## Details

- **Upstream Feed Freshness (`id: 9`)**: Removed the `topk(20, ...)` cap
from **Feed Ingestion Staleness** while preserving the `$source`
template filter:
  ```promql
sort_desc((time() - max by (source)
(osv_importer_last_new_record_timestamp_seconds{source=~"$source"})) /
3600)
  ```
Updated the panel title to `Feed Ingestion Staleness — All Sources
(Hours Since Last New Record)`. Because `BarGaugePanel` passes
`minVizHeight: 10` to `VizRepeater`, all 46 configured upstream
datasources remain readable and vertically scrollable stalest-first.
- **Active Linter Findings (`id: 3`)**: Added a description and
panel/field link to `https://test.osv.dev/linter`.

## Testing

- Queried `osv_importer_last_new_record_timestamp_seconds` against live
`oss-vdb-test` GMP to confirm all 46/46 sources from `source_test.yaml`
are returned.
- Verified `BarGaugePanel` / `VizRepeater` vertical scrolling in Plutono
v7.5.52 and previewed locally (`make run-grafana-local`).
- Validated JSON parsing (`python3 -m json.tool`) and Kustomize
rendering (`kubectl kustomize
deployment/clouddeploy/gke-workers/environments/oss-vdb-test`).

<!-- AI-PR -->

v2026.11.20

Toggle v2026.11.20's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: ignore database_specific when highlighting linter findings (#6407)

## Overview

Fixes finding-to-JSON path highlighting on the `/linter` report page so
values inside `database_specific` (and unrelated fields) are not
highlighted when inspecting `RNG:002` and other quote-matched linter
findings.

## Details

- **`RNG:002` overlapping events (`overlapping event: "..."`)**: Added
`findOverlappingEventPaths` to scope highlighting to
`affected[].ranges[].events[]` entries where both `introduced` and
`fixed` match the overlapping value (falling back to matching range
`events` entries if needed), avoiding false highlights inside
`database_specific` (such as `extracted_events`) or `versions`.
- **`RNG:002` unexpected range type (`unexpected range type "..." for
{...}`)**: Handled before generic quote matching and returned early so
quoted keys/values inside the embedded range JSON (including
`database_specific`) are not highlighted across the record.
- **Generic quoted-value lookups (`PKG:*`, etc.)**: Filtered out paths
traversing `database_specific`, while preserving explicit schema paths
(`SCH:001`).

## Testing

- Verified syntax with `node --check website/frontend3/src/linter.js`
and ran `poetry run ./tools/lint_and_format.sh`.
- Verified `extractPathsFromFinding` against `RNG:002` (overlapping
event and unexpected range type), `PKG:001`, `SCH:001`, and `REC:002`
records containing matching values in `database_specific`.

<!-- AI-PR -->

v2026.11.17

Toggle v2026.11.17's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(ci): switch remaining Cloud Build configs to CLOUD_LOGGING_ONLY (…

…#6374)

## Overview

Switches the remaining four custom-service-account Cloud Build
configurations off `logsBucket: gs://oss-vdb-tf/...` onto `options:
logging: CLOUD_LOGGING_ONLY` (matching `deployment/deploy-prod.yaml` and
`tools/apitester/cloudbuild.yaml`).

## Details

Storing Cloud Build step logs in `gs://oss-vdb-tf` coupled non-Terraform
workflows (`sync-source-repo`, `sync-repo-allowlist`) to the production
Terraform state bucket and required granting GCS read+write access on
log objects rather than write-only Cloud Logging
(`roles/logging.logWriter`). `oss-vdb`'s `_Default` Cloud Logging bucket
retains logs for 365 days and renders identically in Cloud Build Console
and GitHub checks.

| File | Trigger(s) | Change |
| :--- | :--- | :--- |
| `tools/sourcerepo-sync/source_build.yaml` | `sync-source-repo`
(`deployment@oss-vdb`) | Replace `logsBucket:
gs://oss-vdb-tf/source-sync-logs` with `options: logging:
CLOUD_LOGGING_ONLY` |
| `go/cmd/tools/repo-allowlist-sync/repo_allowlist_build.yaml` |
`sync-repo-allowlist` (`deployment@oss-vdb`) | Replace `logsBucket:
gs://oss-vdb-tf/source-sync-logs` with `options: logging:
CLOUD_LOGGING_ONLY` |
| `deployment/build-and-stage.yaml` | `build-and-stage`
(`deployment@oss-vdb`) | Remove `logsBucket: gs://oss-vdb-tf/apply-logs`
and add `logging: CLOUD_LOGGING_ONLY` under `options:` |
| `deployment/terraform/cloudbuild-tf-plan.yaml` | `terraform-plan`
(`terraform-plan@oss-vdb`) | Replace `logsBucket:
gs://oss-vdb-tf/plan-logs` with `options: logging: CLOUD_LOGGING_ONLY`
(`roles/logging.logWriter` granted to `terraform-plan@oss-vdb`) |

## Testing

- Granted `roles/logging.logWriter` to
`[email protected]` on `oss-vdb`
(`deployment@oss-vdb` already holds log write access and uses
`CLOUD_LOGGING_ONLY` in `deployment/deploy-prod.yaml`).
- `terraform-plan` Cloud Build check on this PR exercises
`deployment/terraform/cloudbuild-tf-plan.yaml` directly with
`CLOUD_LOGGING_ONLY`.
- Ran `poetry run tools/lint_and_format.sh`.

agy

v2026.11.10

Toggle v2026.11.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(goose): remove unsupported role startup option from connection st…

…ring (#6312)

Removes `options=-crole=cloudsqlsuperuser` from the `goose` PostgreSQL
connection string in `docker/goose/entrypoint.bash` (which is rejected
by Cloud SQL / PgBouncer as an unsupported startup parameter) and
documents configuring `ALTER ROLE ... SET role = 'cloudsqlsuperuser'` in
`deployment/README.md`.

<!-- AI-PR -->
agy

v2026.11.03

Toggle v2026.11.03's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: set up terraform for real postgres (#6280)

Experiment db seems to be doing good, time to set up the real deal:
- Extract the OSV API terraform stuff from the `osv` terraform module to
a dedicated `osv_api` module (with `moved` blocks to retain the state
across them), so that it's easier to avoid setting up postgres read
replicas in `private-osv`, which does not run the API
- Create the Postgres database in `osv_pipeline` module (and moved a few
resources from the `temp` module which would cause problems if we tried
to recreate them)
- `oss-vdb` and `oss-vdb-test` are created in `us-central1` so we can
have the API read-replicas in the same region as the Cloud Run,
`private-osv` is in `us-west2`.
- The primary machine (for writes) is probably a bit undersized at the
moment (only 4 CPUs / 2 on private) - I'll look at how much we end up
actually needing when the dual writes is up and running.
- We have 2x16 CPU read pools for the prod API, based on performance
from the experiment (which was happy with 1x32)
- Document the postgres password generation steps in the README

v2026.10.27

Toggle v2026.10.27's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): bump filelock from 3.32.7 to 4.2.4 (#6236)

For vulnerabilities...

v2026.10.20

Toggle v2026.10.20's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: stop OSS-Fuzz workers writing directly to the main database (…

…#6172)

Enabling some database migration by fully separating OSS-Fuzz concerns
from main OSV database stuff.
- OSS-Fuzz vulns now are imported into the main OSV database via the git
repo like a regular datasource, rather than writing vulns directly
- The `OSS-Fuzz` pipeline now only writes `Bug` entities (and commits
them to the oss-fuzz-vulns repo)
- Removed a bunch of now unused code: `Bug._post_put_hook` and
`AffectedCommits` writing functions, PyPi notification, put_if_newer.
- Withdrawn OSS-Fuzz records are now published to the oss-fuzz-vulns
repo (if they had already been published to the repo before) so we don't
accidentally drop those updates (though I'm not sure if that would ever
happen)

This needs to be merged carefully, so as to not muck up the database.
What needs to happen is this:
1. Pause most/all cron jobs to pause updates
2. Merge this PR, which should create a new `SourceRepository`
3. Set the last synced commit of the new source repo to the latest
oss-fuzz-vulns commit
4. Run a script (that I have locally) to update all the `OSV-` records
`source` to the new `oss-fuzz-vulns` source
5. Resume all cron jobs
6. ???
7. Profit

I'm on release next week, so I can manage this stuff.

v2026.10.13

Toggle v2026.10.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
test: update apitester snapshots (#6145)

The snapshots have changed, probably due to OSV advisories being
changed.
Please review the differences to make sure that they're expected!

v2026.10.07

Toggle v2026.10.07's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(bindings/go): add ExperimentalQueryUbuntuPackageMapping client m…

…ethod (#6136)

> [!NOTE]
> Stacked on top of #6135.

Adds `ExperimentalQueryUbuntuPackageMapping` to `osvdev.OSVClient` in
`bindings/go` for calling `POST
/v1experimental/ubuntu/binary-to-source`.

- Automatically chunks requests with more than
`MaxPackagesPerUbuntuMappingRequest` (1000) binary names and executes
them concurrently while preserving input order.
- Adds unit tests for single-batch queries, automatic chunking (>1000
packages), and error propagation.

<!-- AI-PR -->

v2026.09.29

Toggle v2026.09.29's commit message

Verified

This tag was signed with the committer’s verified signature.
Release