-
Notifications
You must be signed in to change notification settings - Fork 612
dataconnect: create python script to post comments about scheduled runs #6880
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
Conversation
…ing issue via trksmnkncd_notification_issue=6863 in the PR body
Vertex AI Mock Responses Check
|
Test Results 1 064 files + 998 1 064 suites +998 34m 38s ⏱️ + 33m 22s For more details on these failures, see this check. Results for commit 802fa36. ± Comparison against base commit 51b4a1c. ♻️ This comment has been updated with latest results. |
… readonly variable`
Size Report 1Affected ProductsNo changes between base commit (51b4a1c) and merge commit (0c395d0).Test Logs |
Coverage Report 1Affected Products
Test Logs |
…rom_pr_body ]]` (remove the `$`)
…oneybe/dataconnect/CiNotifyPython
…b/actions/dataconnect-send-notifications/action.yml
…plications for little benefit
…ove secrets into main workflow and explicitly specify shell:bash
📝 PRs merging into main branchOur main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released. |
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.
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- firebase-dataconnect/ci/requirements.txt: Language not supported
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.
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- firebase-dataconnect/ci/requirements.txt: Language not supported
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.
Pull Request Overview
This PR introduces a set of Python scripts and updates to GitHub Actions workflows to enable posting comments about scheduled runs based on GitHub PR information. Key changes include:
- A new utility module (util.py) to fetch PR details using the GitHub CLI.
- Scripts for calculating the GitHub Issue number from PR bodies and posting job results as comments.
- Updates to CI configuration files and workflows for testing, linting, formatting, and notifications.
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
firebase-dataconnect/ci/util.py | Adds functions to fetch PR info using gh and extract PR numbers from refs. |
firebase-dataconnect/ci/pyproject.toml | Configures project metadata, Python version requirements, and linting rules. |
firebase-dataconnect/ci/post_comment_for_job_results.py | Implements logic to post comments on GitHub issues with job results. |
firebase-dataconnect/ci/calculate_github_issue_for_commenting.py | Adds functionality to determine the GitHub Issue for commenting from PR bodies. |
firebase-dataconnect/ci/calculate_github_issue_for_commenting_test.py | Provides tests covering PR ref and issue key extraction logic. |
firebase-dataconnect/ci/README.md | Documents the purpose and usage of CI scripts. |
.github/workflows/dataconnect_demo_app.yml | Updates workflow to integrate Python version configuration and notifications. |
.github/workflows/dataconnect.yml | Enhances workflows with new Python CI jobs and notification steps. |
.github/actions/dataconnect-send-notifications/action.yml | Defines a composite action for setting up notifications based on job results. |
Files not reviewed (1)
- firebase-dataconnect/ci/requirements.txt: Language not supported
d94dcd7
to
802fa36
Compare
trksmnkncd_notification_issue=6863