code: func getAllJobIDs(cfg *messages.ProjectConfig) stringset.Set {
  	out := stringset.New(len(cfg.Job) + len(cfg.Trigger))
  	for _, job := range cfg.Job {
  		if job.Id != "" {
  			out.Add(job.Id)
  		}
  	}
  	for _, job := range cfg.Trigger {
  		if job.Id != "" {
  			out.Add(job.Id)
  		}
  	}
  	return out
  }
docs: /// Helper functions.
  // getAllJobIDs returns a set of IDs of regular jobs and triggering jobs.
  //
  // Doesn't filter out disabled jobs. IDs don't include project prefixes, e.g.
  // they are just "job" instead of "project/job".