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

Auto-response for bug reports during holiday break #11152

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

dbeatty10
Copy link
Contributor

Problem

The team that maintains dbt-core will be out of the office for Christmas and our Global Week of Rest, from December 25, 2024, through January 3, 2025.

Any bugs opened during this time will not get an immediate response.

Solution

During the company holiday, generate an automatic comment for new issues that are labeled with the bug label upon opening. Also include this auto-response for the two days leading up to Christmas as well as the weekend following the Global Week of Rest:

image

🎩

Testing was done in this private repo:

Examples for testing start and end dates was in issues like these:

Checklist

  • I have read the contributing guide and understand what's expected of me.
  • I have run this code in development, and it appears to resolve the stated issue.
  • This PR includes tests, or tests are not required or relevant for this PR.
  • This PR has no interface changes (e.g., macros, CLI, logs, JSON artifacts, config files, adapter interface, etc.) or this PR has already received feedback and approval from Product or DX.
  • [N/A] This PR includes type annotations for new and modified functions.

@dbeatty10 dbeatty10 requested a review from a team as a code owner December 14, 2024 02:02
@cla-bot cla-bot bot added the cla:yes label Dec 14, 2024
Comment on lines +31 to +32
start_date="2024-12-23"
end_date="2025-01-05"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Start and end dates are configurable here

Copy link

codecov bot commented Dec 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.86%. Comparing base (7df04b0) to head (d757a9b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11152      +/-   ##
==========================================
- Coverage   88.92%   88.86%   -0.06%     
==========================================
  Files         187      187              
  Lines       23974    23974              
==========================================
- Hits        21318    21305      -13     
- Misses       2656     2669      +13     
Flag Coverage Δ
integration 86.17% <ø> (-0.13%) ⬇️
unit 61.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Unit Tests 61.97% <ø> (ø)
Integration Tests 86.17% <ø> (-0.13%) ⬇️

Copy link
Member

@emmyoop emmyoop left a comment

Choose a reason for hiding this comment

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

Looks good. We can iterate on this to make it more accessible to more repos in the future.

@emmyoop emmyoop merged commit a175793 into main Dec 17, 2024
57 checks passed
@emmyoop emmyoop deleted the dbeatty/holiday-ho-ho-h-OOO branch December 17, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants