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

feat: implement replay feature without backup and validation #12

Merged
merged 6 commits into from
Jun 30, 2021

Conversation

mauliksoneji
Copy link
Member

No description provided.

@mauliksoneji mauliksoneji force-pushed the DBTCH-1024 branch 2 times, most recently from 4549dbc to 05dd697 Compare June 21, 2021 08:55
coverage.txt Outdated Show resolved Hide resolved
@mauliksoneji mauliksoneji force-pushed the DBTCH-1024 branch 5 times, most recently from 31b9b43 to 6cb3706 Compare June 22, 2021 09:47
@coveralls
Copy link

coveralls commented Jun 22, 2021

Pull Request Test Coverage Report for Build 985870115

  • 194 of 257 (75.49%) changed or added relevant lines in 10 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.7%) to 64.241%

Changes Missing Coverage Covered Lines Changed/Added Lines %
job/replay.go 29 30 96.67%
job/replay_worker.go 31 33 93.94%
ext/scheduler/airflow2/airflow.go 24 30 80.0%
utils/uuid.go 0 6 0.0%
ext/scheduler/airflow/airflow.go 27 39 69.23%
api/handler/v1/runtime.go 18 36 50.0%
job/replay_manager.go 49 67 73.13%
Totals Coverage Status
Change from base Build 981793747: 0.7%
Covered Lines: 3399
Relevant Lines: 5291

💛 - Coveralls

@mauliksoneji mauliksoneji force-pushed the DBTCH-1024 branch 3 times, most recently from 623f0cf to d7f3627 Compare June 28, 2021 14:01
@mauliksoneji mauliksoneji requested a review from kushsharma June 29, 2021 06:16
api/handler/v1/runtime.go Outdated Show resolved Hide resolved
api/handler/v1/runtime.go Outdated Show resolved Hide resolved
cmd/replay.go Outdated Show resolved Hide resolved
cmd/replay.go Outdated Show resolved Hide resolved
cmd/replay.go Outdated Show resolved Hide resolved
store/postgres/replay_repository.go Outdated Show resolved Hide resolved
store/postgres/replay_repository.go Outdated Show resolved Hide resolved
job/replay_worker.go Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@mauliksoneji mauliksoneji force-pushed the DBTCH-1024 branch 2 times, most recently from 02d85dd to b76c2e1 Compare June 29, 2021 12:00
models/replay.go Outdated Show resolved Hide resolved
assert.Equal(t, errMessage, err.Error())
})
t.Run("should throw an error when scheduler throws an error", func(t *testing.T) {
logger.Init(logger.ERROR)
Copy link
Member

Choose a reason for hiding this comment

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

We can do this at the top of the test file with InitWithWriter and write could be ioutil.Discard

Copy link
Member

Choose a reason for hiding this comment

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

this doesn't look fixed?

job/replay_worker_test.go Outdated Show resolved Hide resolved
config/loader.go Outdated Show resolved Hide resolved
assert.Equal(t, errMessage, err.Error())
})
t.Run("should throw an error when scheduler throws an error", func(t *testing.T) {
logger.Init(logger.ERROR)
Copy link
Member

Choose a reason for hiding this comment

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

this doesn't look fixed?

@kushsharma kushsharma merged commit 57a3c9f into main Jun 30, 2021
@mauliksoneji mauliksoneji deleted the DBTCH-1024 branch June 30, 2021 12:22
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.

3 participants