Skip to content

slack permission tests are enterprise only #4463

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

Merged
merged 3 commits into from
Apr 6, 2025
Merged

Conversation

rkuo-danswer
Copy link
Contributor

Description

Fixes DAN-1759.
https://linear.app/danswer/issue/DAN-1759/fix-slack-permission-tests-being-in-mit-tests

How Has This Been Tested?

[Describe the tests you ran to verify your changes]

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

Copy link

vercel bot commented Apr 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 6, 2025 10:27pm

@rkuo-danswer rkuo-danswer marked this pull request as ready for review April 6, 2025 21:29
@rkuo-danswer rkuo-danswer requested a review from a team as a code owner April 6, 2025 21:29
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR narrows Slack permission sync tests to enterprise environments by adding explicit skip conditions, ensuring tests run only when enterprise features are enabled.

  • Updated skipif conditions in backend/tests/integration/connector_job_tests/slack/test_permission_sync.py for precise environment checks.
  • Retained clear flakiness notes (DAN-789) to guide future troubleshooting.
  • Explicitly limits test execution to avoid false positives in non-enterprise setups.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@rkuo-danswer rkuo-danswer merged commit bb73bb2 into main Apr 6, 2025
10 of 11 checks passed
@rkuo-danswer rkuo-danswer deleted the bugfix/mit-slack-tests branch April 9, 2025 21:50
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.

1 participant