-
-
Notifications
You must be signed in to change notification settings - Fork 739
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
Remove st2resultstracker from st2ctl, the development environment and the st2actions setup #5108
Remove st2resultstracker from st2ctl, the development environment and the st2actions setup #5108
Conversation
It looks like we have a circular dependency between this PR and StackStorm/st2-packages#683 now. The st2resultstracker is a service managed via the debian/rules file. So the post_install job fails. In my opinion, it would pass once StackStorm/st2-packages#683 is merged. I could also try to revert some of the deletions I made as part of this PR and see what it takes to pass the tests but this would lead to an intransparent state of the resultstracker configurations and service definitions in the codebase. So, for now, I'd like to avoid it. Please let me know what you prefer or if you have another idea. |
Agreed with @blag to keep this PR as it is and merge both PRs on monday. The Exchange pack CI builds do have a higher priority and we want them to succeed over the weekend. See https://stackstorm-community.slack.com/archives/CSBELJ78A/p1608330230290400 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
I left a change request in the st2-packages
PR before we can merge it.
Besides of that, we'll need st2docs update https://github.com/StackStorm/st2docs/search?q=st2resultstracker to ensure the full service removal.
Hi, I addressed the comment in the other PR and updated both branches so that they're up-to-date with the corresponding master. I'll take care of st2docs as well. Edit: Took care of the docs; see StackStorm/st2docs#1045 |
Looks like https://travis-ci.org/github/StackStorm/st2/jobs/751261368#L1513-L1537 CI is not happy about the The PR needs a bit more work to make sure engine doesn't pick up |
…t2 into winem-remove-st2resultstracker
Is the querier at all still relevant? To me, it looks like it's only used to check the state asynchronously. So I would also remove the whole st2common.query module: https://github.com/StackStorm/st2/tree/master/st2common/st2common/query Please let me know if I miss anything and it's also needed for other cases as well. I couldn't find any use of st2common.query.base that still seems to be relevant. |
Ok, removing the whole query module causes many test failures related to actionchains for example which is kind of what I expected. See: https://travis-ci.org/github/StackStorm/st2/jobs/754918090#L1954 So I'm sure I missed something and will check the st2 code again to get an idea how to proceed here. I'm happy about any guidance, sharing the task or contributions. Edit: Now the tests that failed pass but the ci-unit run fails due to a timeout of 300 seconds. I guess I am on a good way and know how to proceed here. But it's still true, that any helping hand is welcome. :) |
0f4fea4
to
03aafce
Compare
…e code (this is where I'll proceed tomorrow)
Oh, nice! Travis unit/integration tests are now ✔️ Looks like we're good here after fixing the |
Working on fixing the end-to-end tests today. |
I did a last review today and would keep it as it is - given that the E2E-tests pass as well. As a follow up to this topic we might discuss if the code for asynchronous runners (everything around the ActionExecutionState incl the db model, API, etc.) is still needed. But that's out of scope for this one. And tbh I'm super happy that I got this done. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a query to confirm why a particular test was removed - see comments.
This removes the references to the st2resultstracker service while keeping the code base of the resultstracker.
close #5070