Skip to content

Adding contributing guidelines#109

Merged
vishnuchalla merged 1 commit into
redhat-performance:mainfrom
vishnuchalla:contributing
May 26, 2026
Merged

Adding contributing guidelines#109
vishnuchalla merged 1 commit into
redhat-performance:mainfrom
vishnuchalla:contributing

Conversation

@vishnuchalla
Copy link
Copy Markdown
Collaborator

Description

Adding contributing guidelines for local development

Testing

Verified the markdown content in local

@vishnuchalla
Copy link
Copy Markdown
Collaborator Author

@Sandeepyadav93 Let me know if anything is missing. As you recently tried it out.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new CONTRIBUTING.md guide for setting up local development, configuring Slack/inference settings, running the app, and preparing PRs.

Changes:

  • Adds contributor setup instructions for virtualenv, dev dependencies, and pre-commit.
  • Documents local .env configuration and Slack test-channel setup.
  • Adds local run/test/check commands, PR checklist, style guidance, and troubleshooting notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CONTRIBUTING.md
Comment on lines +99 to +104
3. Under **OAuth & Permissions**, add these Bot Token Scopes:
- `channels:history` -- read channel messages
- `channels:read` -- list channels
- `chat:write` -- post messages
- `reactions:write` -- add emoji reactions
- `app_mentions:read` -- respond to @ mentions (needed for Socket Mode)
Comment thread CONTRIBUTING.md
Comment on lines +179 to +182
- **pytest** to verify tests pass
- **build** to confirm the package installs cleanly

All of these must pass before your PR can be merged.
Comment thread CONTRIBUTING.md
Create your `.env` by copying the template below and filling in your values:

```bash
# ---- .env ----
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey Vishnu,

The .env example Mohit provided also included the parameters below. Do we need these as well?

OPENSHIFT_INFERENCE_URL=
OPENSHIFT_INFERENCE_TOKEN=
OPENSHIFT_MODEL=

GENERIC_INFERENCE_URL=
GENERIC_INFERENCE_TOKEN=
GENERIC_MODEL=
DOCLING_INFERENCE_URL=
DOCLING_INFERENCE_TOKEN=
PRODUCT=
CI=
BUGZOOKA_NAMESPACE=

and it didn't had JEDI_BOT_SLACK_USER_ID=""

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I don't think so. Cross checked in the bugzooka deployed instance as well.

Comment thread CONTRIBUTING.md

Testing against a production channel is risky -- you don't want your development bot spamming real users. Instead, set up your own isolated test environment.

### Step 1: Create a Slack App
Copy link
Copy Markdown

@Sandeepyadav93 Sandeepyadav93 May 21, 2026

Choose a reason for hiding this comment

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

I wasn't aware that we needed to create our own app. When I ran into issues, I just invited the existing PerfScale Jedi app on my own test channel, and it worked well for me.

Do we really need to create a new app, or can we just reuse and invite the existing PerfScale Jedi?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

A line just below it says, if you don;'t have it already. But for us we have our own instance so can be ignored. Clarified it in the above sentence, if it helps.

Signed-off-by: Vishnu Challa <vchalla@redhat.com>
@Sandeepyadav93
Copy link
Copy Markdown

/lgtm

thanks!

@vishnuchalla vishnuchalla merged commit a9e759b into redhat-performance:main May 26, 2026
2 checks passed
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