Skip to content

[TRI-1366] fix: JobRun needs an internal boolean column, to reflect the value in Job #557

Description

@ericallam

We use internal jobs for things like webhook registration, and those jobs have internal = true set in the database. We also need to add an internal column to JobRun that is set to true when the job it's associated with is internal = true. This is just denormalization, so when we do usage queries (in the new usage page) we can easily eliminate internal runs from the usage. The migration for this should upgrade existing runs to the correct internal value.

TRI-1366

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/serverIssues related to the Trigger.dev serverbugSomething isn't working🎃 hacktoberfest💎💎 250 pointsThis issue is worth 250 points in the hacktoberfest leaderboard

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions