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

Fixing CI for DM2 #12652

Merged
merged 16 commits into from
Jul 17, 2023
Merged

Fixing CI for DM2 #12652

merged 16 commits into from
Jul 17, 2023

Conversation

d61h6k4
Copy link
Contributor

@d61h6k4 d61h6k4 commented Jul 11, 2023

Summary

@d61h6k4 d61h6k4 requested a review from a team as a code owner July 11, 2023 10:48
@d61h6k4
Copy link
Contributor Author

d61h6k4 commented Jul 13, 2023

Still, 2 test cases fail:

  • the test tests/test_server.py::test_get_tracker_with_query_param_include_events_all was fixed here e895752
  • no fix of the test tests/shared/test_shared.py::test_shared_package_is_independent

@m-vdb
Copy link
Collaborator

m-vdb commented Jul 17, 2023

@tmbo I had to push this commit to fix the rasa/server.py tests. I've seen your discussion with Anca here that talks about this, but it wasn't resolved. I'll watch out for the CI checks to go green, but from your perspective, is this code change ok?

@m-vdb m-vdb removed request for a team, tmbo and twerkmeister July 17, 2023 11:47
@github-actions
Copy link
Contributor

🚀 A preview of the docs have been deployed at the following URL: https://12652--rasahq-docs-rasa-v2.netlify.app/docs/rasa

@m-vdb m-vdb changed the title Fixing CI of the dm2 Fixing CI for DM2 Jul 17, 2023
@m-vdb m-vdb requested a review from twerkmeister July 17, 2023 13:55
Copy link
Contributor

@twerkmeister twerkmeister left a comment

Choose a reason for hiding this comment

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

Just a question for now - most of it looks good, although some of the importer stuff is also so hard to understand 😅

Comment on lines +722 to +726
tracker = (
await app.ctx.agent.processor.fetch_full_tracker_with_initial_session(
conversation_id,
output_channel=CollectingOutputChannel(),
)
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this change necessary? :)

Copy link
Contributor

Choose a reason for hiding this comment

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

I see this is related to your comment above @m-vdb, I read the linked convo but can't tell what's the right way from that.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I reverted it back to the way it was prior to changes on the dm2 branch, cf. this comment. Does it make sense?

Copy link
Member

Choose a reason for hiding this comment

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

yes this change is good 👍

@@ -75,9 +75,11 @@ def test_load_from_dict(
)

assert isinstance(actual, E2EImporter)
assert isinstance(actual.importer, ResponsesSyncImporter)
assert isinstance(actual._importer._importer, ResponsesSyncImporter)
Copy link
Contributor

Choose a reason for hiding this comment

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

😵‍💫

Copy link
Collaborator

Choose a reason for hiding this comment

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

that's one of Danil's changes. Not sure exactly why, I presume it's because some of the importer underlying code changed?

Copy link
Collaborator

Choose a reason for hiding this comment

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

ah yeah we added FlowSyncImporter in the mix

@m-vdb m-vdb merged commit 77d9b5a into dm2 Jul 17, 2023
94 of 95 checks passed
@m-vdb m-vdb deleted the ENG-365-fix-CI branch July 17, 2023 14:28
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.

4 participants