Skip to content

[Project Setup] Support default base_os_version for generic LINUX jobs - #5588

Open
hunsche wants to merge 1 commit into
google:masterfrom
hunsche:fix/project-setup-base-os-version
Open

hunsche wants to merge 1 commit into
google:masterfrom
hunsche:fix/project-setup-base-os-version

Conversation

@hunsche

@hunsche hunsche commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Summary

For non-OSS-Fuzz deployments that ingest project definitions from GCS projects.json files, project_setup previously left job.base_os_version unset (None) on newly created Job entities. In multi-OS environments using filtered Pub/Sub subscriptions (e.g. jobs-linux-ubuntu-24-04), tasks for jobs without base_os_version are not routed to the versioned Linux worker subscription.

Changes

  • Allow specifying a default base_os_version per project_setup entry in project.yaml (or via the DEFAULT_BASE_OS_VERSION environment variable / per-project base_os_version field in projects.json).
  • Populate job.base_os_version for non-OSS-Fuzz jobs whose resolved platform targets LINUX (preserving None for non-Linux device queues such as ANDROID:*, and leaving OssFuzzProject routing behavior unchanged).
  • Extend GenericProjectSetupTest to cover LINUX vs. ANDROID* jobs.

@hunsche
hunsche requested a review from a team as a code owner November 9, 2026 19:18

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants