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

Make reporting replay system deploys #3397

Merged
merged 24 commits into from Jun 11, 2021

Conversation

zsluedem
Copy link
Collaborator

@zsluedem zsluedem commented May 3, 2021

Overview

Make reporting replay system deploys and adds parameter forceReplay to trace API method to execute reporting replay even when exists in cache.

Related #2981

Reporting API is now also available together with other methods on web and admin /api/trace route. Old reporting/trace is not changed.

Please make sure that this PR:

Bors cheat-sheet:

  • bors r+ runs integration tests and merges the PR (if it's approved),
  • bors try runs integration tests for the PR,
  • bors delegate+ enables non-maintainer PR authors to run the above.

@zsluedem zsluedem linked an issue May 3, 2021 that may be closed by this pull request
@zsluedem zsluedem force-pushed the ISSUE-2981-reporting-replay-sysdem-deploys-2 branch from 1eb3df7 to e43bfdf Compare May 3, 2021 13:46
@zsluedem
Copy link
Collaborator Author

zsluedem commented May 3, 2021

bors try

bors bot added a commit that referenced this pull request May 3, 2021
@bors
Copy link
Contributor

bors bot commented May 3, 2021

try

Build succeeded:

@zsluedem zsluedem force-pushed the ISSUE-2981-reporting-replay-sysdem-deploys-2 branch from e43bfdf to 1f70dd1 Compare May 4, 2021 03:54
@zsluedem
Copy link
Collaborator Author

zsluedem commented May 4, 2021

bors try

bors bot added a commit that referenced this pull request May 4, 2021
@bors
Copy link
Contributor

bors bot commented May 4, 2021

try

Build failed:

@zsluedem
Copy link
Collaborator Author

zsluedem commented May 4, 2021

bors try

bors bot added a commit that referenced this pull request May 4, 2021
@bors
Copy link
Contributor

bors bot commented May 4, 2021

try

Build failed:

@tgrospic tgrospic added this to In progress in Core team via automation May 6, 2021
@zsluedem zsluedem force-pushed the ISSUE-2981-reporting-replay-sysdem-deploys-2 branch 2 times, most recently from 149e581 to 331b887 Compare May 7, 2021 06:30
@zsluedem zsluedem requested review from nzpr and tgrospic and removed request for nzpr May 7, 2021 06:30
@zsluedem zsluedem requested a review from nzpr May 7, 2021 06:56
@tgrospic tgrospic moved this from In progress to Review in progress in Core team May 8, 2021
@tgrospic tgrospic removed their assignment May 23, 2021
@zsluedem zsluedem force-pushed the ISSUE-2981-reporting-replay-sysdem-deploys-2 branch from 331b887 to 6dd5687 Compare May 25, 2021 07:40
@zsluedem zsluedem requested a review from tgrospic May 25, 2021 07:41
@zsluedem zsluedem assigned tgrospic and nzpr and unassigned nzpr Jun 2, 2021
@tgrospic tgrospic changed the title Make reporting replay sysdem deploys Make reporting replay system deploys Jun 2, 2021
@tgrospic tgrospic assigned zsluedem, nzpr and tgrospic and unassigned nzpr, tgrospic and zsluedem Jun 2, 2021
@tgrospic
Copy link
Collaborator

tgrospic commented Jun 4, 2021

As we discussed on standup. Let's keep reporting API on external and internal the same with force parameter included. Reporting is protected with config flag.

} yield SystemDeployReportResult(term.systemDeploy, r)
}

checkPoint <- runtime.createCheckpoint
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

createCheckpoint here would store the items again which is not neccessary at all. All we need here is the proof while the history current implementation is difficult to change the storing part we would leave that into another pr.

@tgrospic tgrospic removed their assignment Jun 8, 2021
Copy link
Collaborator

@tgrospic tgrospic left a comment

Choose a reason for hiding this comment

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

Nice refactoring!

Copy link
Collaborator

@nzpr nzpr left a comment

Choose a reason for hiding this comment

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

LGTM

@zsluedem
Copy link
Collaborator Author

bors merge

@bors
Copy link
Contributor

bors bot commented Jun 11, 2021

Build succeeded:

@bors bors bot merged commit 44f0672 into rchain:dev Jun 11, 2021
Core team automation moved this from Review in progress to Done Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

make reporting api replay system deploys
3 participants