Skip to content

Investigate exception error when saving Job without associated repo #20

Open
@tallysmartins

Description

@tallysmartins

Steps to reproduce:

  1. Try to create a job without a repository associated.

elixir

ElixirBench.Benchmarks.create_job(%ElixirBench.Repos.Repo{}, %{branch_name: "mm/benche", commit_sha: "ABC123"})
  1. This raises a Postgrex.Error exception, but should return {:error, reason} requiring a valid repo_id to create the Job

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions