Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replay ignore upstreams #264

Merged
merged 6 commits into from
Sep 10, 2024
Merged

fix: replay ignore upstreams #264

merged 6 commits into from
Sep 10, 2024

Conversation

Mryashbhardwaj
Copy link
Member

No description provided.

@@ -31,6 +33,8 @@ type ReplayRepository interface {
UpdateReplay(ctx context.Context, replayID uuid.UUID, state scheduler.ReplayState, runs []*scheduler.JobRunStatus, message string) error
UpdateReplayStatus(ctx context.Context, replayID uuid.UUID, state scheduler.ReplayState, message string) error

GetReplayByFilters(ctx context.Context, projectName tenant.ProjectName, filters ...filter.FilterOpt) ([]*scheduler.ReplayWithRun, error)
GetReplayJobConfig(ctx context.Context, jobTenant tenant.Tenant, jobName scheduler.JobName, scheduledAt time.Time) (map[string]string, error)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check & see if we need both the methods

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we don't need GetReplayJobConfig now

@Mryashbhardwaj Mryashbhardwaj merged commit 1d35e9f into main Sep 10, 2024
3 checks passed
@Mryashbhardwaj Mryashbhardwaj deleted the replay_ignore_upstream branch September 10, 2024 05:42
Mryashbhardwaj added a commit that referenced this pull request Sep 24, 2024
* fix: replay ignore upstreams

* fix(optimus): get replay with filter

* fix(optimus): get replay by filter cleanup
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