oxidecomputer / oxidecomputer/buildomat

finer grained controls for what triggers a job

Open
#35 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
72
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Today, jobs are triggered whenever at least one of these actions occurs:

  • a push is made to the repository (any branch name)
  • a pull request is opened against the repository (from some other fork on GitHub)

Note that jobs are run for unique GitHub Check Suites, and there is generally a 1:1 relationship between a specific git commit (based on the commit hash) and a Check Suite; if a job would be triggered by both a pull request and a push to a branch, we still only run it at one time.

Occasionally a job will represent the combination of:

  • expensive to build and creates large output objects
  • is only needed for final integrated changes on the default branch, not for personal branches or pull requests

The per-job configuration should allow finer control over the events that will trigger a job to run, allowing for a list of patterns to match branch names, and the ability to ignore pull requests.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by tracing how jobs currently respond to push and pull-request events and where per-job configuration is parsed; define the configuration needed for branch patterns and ignoring pull requests, then verify that each event combination triggers the intended jobs without duplicate Check Suite runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.