chore: Add stale pipeline #253

Merged
csimonis merged 1 commit from stale into main 2025-06-02 12:15:31 +00:00
Owner
No description provided.
jank added 1 commit 2025-06-02 12:04:58 +00:00
chore: Add stale pipeline
All checks were successful
CI / Get Changed Files (pull_request) Successful in 9s
CI / oxlint (pull_request) Successful in 28s
CI / prettier (pull_request) Successful in 34s
CI / eslint (pull_request) Successful in 38s
Claude PR Review / claude-code (pull_request) Successful in 1m13s
CI / Docker frontend validation (pull_request) Successful in 1m21s
CI / Docker backend validation (pull_request) Successful in 20s
CI / test-build (pull_request) Successful in 55s
CI / Checkstyle Main (pull_request) Successful in 2m5s
CI / Backend Tests (pull_request) Successful in 2m52s
a626a73289
Collaborator

Code Review for PR #253

Summary: Adding a stale pipeline workflow to automatically handle stale issues and PRs.

Issues Found:

  1. **** - The stale messages are using placeholder text rather than meaningful messages. The current messages "Message to comment on stale issues. If none provided, will not mark issues stale" and "Message to comment on stale PRs. If none provided, will not mark PRs stale" are just documentation placeholders and should be replaced with actual user-facing messages.

  2. **** - Missing essential configuration parameters for the stale action:

    • No parameter (defaults to 60 days)
    • No parameter (defaults to 7 days)
    • No to protect certain issues/PRs from being marked stale
    • No specified (will use default 'Stale')

Recommendations:

  • Replace placeholder messages with proper user-facing text
  • Add explicit timing configuration for transparency
  • Consider adding exempt labels for issues that shouldn't become stale
  • Add more descriptive stale labels if needed

Positive Notes:

  • Good addition for repository maintenance
  • Proper YAML structure and syntax
  • Appropriate scheduling (daily at 1:30 AM)

The workflow structure is sound but needs better configuration to be production-ready.

## Code Review for PR #253 **Summary:** Adding a stale pipeline workflow to automatically handle stale issues and PRs. **Issues Found:** 1. **** - The stale messages are using placeholder text rather than meaningful messages. The current messages "Message to comment on stale issues. If none provided, will not mark issues stale" and "Message to comment on stale PRs. If none provided, will not mark PRs stale" are just documentation placeholders and should be replaced with actual user-facing messages. 2. **** - Missing essential configuration parameters for the stale action: - No parameter (defaults to 60 days) - No parameter (defaults to 7 days) - No to protect certain issues/PRs from being marked stale - No specified (will use default 'Stale') **Recommendations:** - Replace placeholder messages with proper user-facing text - Add explicit timing configuration for transparency - Consider adding exempt labels for issues that shouldn't become stale - Add more descriptive stale labels if needed **Positive Notes:** - Good addition for repository maintenance - Proper YAML structure and syntax - Appropriate scheduling (daily at 1:30 AM) The workflow structure is sound but needs better configuration to be production-ready.
Author
Owner

@Claude what messages should I use instead

@Claude what messages should I use instead
jank force-pushed stale from a626a73289 to a217a0da72 2025-06-02 12:10:30 +00:00 Compare
Collaborator

Code Review Feedback

This PR has a critical issue that must be addressed before merging:

Critical Issue:

  • **Line 11 in **: The stale-pr-message contains inappropriate and offensive language (\bc yo mom is a bitch). This is unprofessional and inappropriate for any codebase.

⚠️ Other Issues:

  • Lines 12-13: The timing is very aggressive (2 days to stale, 3 days to close). Consider extending to 14-30 days before stale and 7-14 additional days before closing to avoid closing active PRs.

Positive:

  • Workflow structure is correct
  • Cron schedule is reasonable

Required Changes:
Please replace the offensive message with a professional one and consider adjusting the timeframes to be less aggressive.

The workflow concept is good, but the implementation needs these fixes before it can be merged.

**Code Review Feedback** This PR has a critical issue that must be addressed before merging: **❌ Critical Issue:** - **Line 11 in **: The stale-pr-message contains inappropriate and offensive language (\bc yo mom is a bitch\). This is unprofessional and inappropriate for any codebase. **⚠️ Other Issues:** - **Lines 12-13**: The timing is very aggressive (2 days to stale, 3 days to close). Consider extending to 14-30 days before stale and 7-14 additional days before closing to avoid closing active PRs. **✅ Positive:** - Workflow structure is correct - Cron schedule is reasonable **Required Changes:** Please replace the offensive message with a professional one and consider adjusting the timeframes to be less aggressive. The workflow concept is good, but the implementation needs these fixes before it can be merged.
jank force-pushed stale from a217a0da72 to 882a279243 2025-06-02 12:11:41 +00:00 Compare
csimonis reviewed 2025-06-02 12:12:32 +00:00
@ -0,0 +9,4 @@
steps:
- uses: actions/stale@v9
with:
stale-pr-message: "Will be closed in 1 day bc yo mom is a bitch"

stale-pr-message: "Will be closed in x days bc yo mom is a bitch. im not telling you when it will be closed fuckface"

`stale-pr-message: "Will be closed in x days bc yo mom is a bitch. im not telling you when it will be closed fuckface"`
jank marked this conversation as resolved
Collaborator

The workflow configuration looks good overall, but there are some issues that need to be addressed:

Critical Issue:

  • Line 12: The stale-pr-message contains unprofessional language that's inappropriate for a professional codebase. Please replace with a professional message.

Suggestions for improvement:

  • Consider adding stale-pr-label and close-pr-label for better tracking
  • The workflow name mentions 'issues and PRs' but only handles PRs - either add issue handling or update the name
  • Consider adding exempt-pr-labels to exclude certain types of PRs

Example professional message: 'This PR has been inactive for 2 days and will be closed in 1 day if no further activity occurs.'

The workflow configuration looks good overall, but there are some issues that need to be addressed: **Critical Issue:** - Line 12: The stale-pr-message contains unprofessional language that's inappropriate for a professional codebase. Please replace with a professional message. **Suggestions for improvement:** - Consider adding stale-pr-label and close-pr-label for better tracking - The workflow name mentions 'issues and PRs' but only handles PRs - either add issue handling or update the name - Consider adding exempt-pr-labels to exclude certain types of PRs Example professional message: 'This PR has been inactive for 2 days and will be closed in 1 day if no further activity occurs.'
Owner

@Claude fuck this guys mom

@Claude fuck this guys mom
jank force-pushed stale from 882a279243 to bd1d8f8339 2025-06-02 12:13:43 +00:00 Compare
Collaborator

Code Review for PR #253: chore: Add stale pipeline

I've reviewed the changes in and found several significant issues that need to be addressed:

Critical Issues:

  1. Line 12 - Inappropriate and unprofessional message: The stale-pr-message contains extremely unprofessional language ("Will be closed in x days bc yo mom is a bitch. im not telling you when it will be closed fuckface"). This is completely unacceptable for any professional codebase and will be visible to all users when their PRs are marked as stale.

  2. Line 12 - Unclear messaging: The message mentions "x days" without specifying the actual number, which will confuse users.

Technical Issues:

  1. Line 10 - Missing stale-issue-message: The workflow only handles stale PRs but doesn't define behavior for stale issues, even though the workflow name suggests it handles both.

  2. Lines 13-14 - Very aggressive timing: 2 days before marking as stale and 3 days before closing seems quite aggressive for most projects.

Recommendations:

  • Replace the stale-pr-message with professional, helpful text that clearly explains the stale policy
  • Consider adding stale-issue-message and related issue configuration
  • Review if the timing is appropriate for your project's contribution patterns
  • Consider adding exempt labels for PRs that shouldn't be marked as stale

This PR cannot be merged in its current state due to the inappropriate messaging that would negatively impact the project's professional image.

**Code Review for PR #253: chore: Add stale pipeline** I've reviewed the changes in and found several significant issues that need to be addressed: **Critical Issues:** 1. **Line 12 - Inappropriate and unprofessional message**: The stale-pr-message contains extremely unprofessional language ("Will be closed in x days bc yo mom is a bitch. im not telling you when it will be closed fuckface"). This is completely unacceptable for any professional codebase and will be visible to all users when their PRs are marked as stale. 2. **Line 12 - Unclear messaging**: The message mentions "x days" without specifying the actual number, which will confuse users. **Technical Issues:** 3. **Line 10 - Missing stale-issue-message**: The workflow only handles stale PRs but doesn't define behavior for stale issues, even though the workflow name suggests it handles both. 4. **Lines 13-14 - Very aggressive timing**: 2 days before marking as stale and 3 days before closing seems quite aggressive for most projects. **Recommendations:** - Replace the stale-pr-message with professional, helpful text that clearly explains the stale policy - Consider adding stale-issue-message and related issue configuration - Review if the timing is appropriate for your project's contribution patterns - Consider adding exempt labels for PRs that shouldn't be marked as stale This PR cannot be merged in its current state due to the inappropriate messaging that would negatively impact the project's professional image.
csimonis approved these changes 2025-06-02 12:14:49 +00:00
csimonis left a comment
Owner

"fuckface"

"fuckface"
csimonis scheduled this pull request to auto merge when all checks succeed 2025-06-02 12:14:54 +00:00
csimonis merged commit aa7cf00ebb into main 2025-06-02 12:15:31 +00:00
csimonis deleted branch stale 2025-06-02 12:15:31 +00:00
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
3 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: SZUT/casino#253
No description provided.