Skip to content

Conversation

@prajeeta15
Copy link
Contributor

Description:

Add automated reminder for assigned issues with no linked pull requests

This PR introduces a new ReminderBot workflow that automatically notifies contributors when an issue has been assigned for 7+ days but no pull request has been created. This helps ensure that issues do not remain assigned indefinitely without progress.

What’s included:

  • Added .github/scripts/issue_reminder_no_pr.sh
    • Scans all open issues with assignees
    • Checks if 7+ days have passed since the assignment
    • Ensures there are no open PRs linked to the issue
    • Posts the ReminderBot message if criteria are met
    • Prevents duplicate reminders by detecting prior bot comments
  • Added .github/workflows/bot-issue-reminder-no-pr.yml
    - Runs daily at 10:00 UTC
    - Supports manual triggering via workflow_dispatch
    - Uses GITHUB_TOKEN with appropriate permissions

The reminder message posted is:

"Hi, this is ReminderBot. This issue has been assigned but has had no pull request created. Are you still planning on working on the issue?
From the Python SDK Team"

Fixes #951

Notes for reviewer:

  • The workflow follows the existing bot architecture used across the repository. Script behavior can be tested locally using a personal access token and the GitHub API.

Signed-off-by: prajeeta pal <[email protected]>
@github-actions
Copy link

Hi, this is MergeConflictBot.
Your pull request cannot be merged because it contains merge conflicts.

Please resolve these conflicts locally and push the changes.

To assist you, please read:

Thank you for contributing!

From the Hiero Python SDK Team

@exploreriii exploreriii marked this pull request as draft December 10, 2025 15:23
prajeeta15 and others added 2 commits December 12, 2025 23:53
@prajeeta15 prajeeta15 marked this pull request as ready for review December 12, 2025 18:25
@exploreriii
Copy link
Contributor

Request review if available @hiero-ledger/hiero-sdk-python-triage

@Akshat8510
Copy link
Contributor

Hi @prajeeta15
looking great. If possible, could you dry-run it locally once just to be extra sure?

Copy link
Contributor

@exploreriii exploreriii left a comment

Choose a reason for hiding this comment

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

Hi @prajeeta15
Have you tested this on a fork?
Please follow https://github.com/hiero-ledger/hiero-sdk-python/blob/main/docs/sdk_developers/training/testing_forks.md

Please ensure it posts on your fork issues for the test, then send a link of the bot working correctly
you'll need to enable issues on your fork by clicking inside settings

@exploreriii exploreriii marked this pull request as draft December 13, 2025 07:37
@prajeeta15
Copy link
Contributor Author

prajeeta15 commented Dec 13, 2025

@prajeeta15 prajeeta15 marked this pull request as ready for review December 13, 2025 09:31
Copy link
Contributor

@exploreriii exploreriii left a comment

Choose a reason for hiding this comment

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

Hi @prajeeta15
Would you mind adding some more explicit safety nets?
Otherwise happy to approve this

@exploreriii exploreriii marked this pull request as draft December 13, 2025 09:52
@exploreriii
Copy link
Contributor

Hi @prajeeta15 what do you think? Should we ensure the DRY run variable works as intended?
Its not too important right now, I am the one that can trigger the script and know what it does..but would be nice to have as a guard for the future

@aceppaluni
Copy link
Contributor

@prajeeta15 This is great work!

I agree with the point about the DRY_RUN variable. The current behavior is technically correct, but making it explicit would improve clarity for future maintainers.

I don’t see this as blocking, but explicitly passing DRY_RUN=false on scheduled runs or clearly documenting the accepted values would make the intent easier to understand.

Otherwise, the script and workflow look solid to me.

prajeeta15 and others added 2 commits December 17, 2025 10:20
@prajeeta15 prajeeta15 marked this pull request as ready for review December 17, 2025 04:52
Copy link
Contributor

@exploreriii exploreriii left a comment

Choose a reason for hiding this comment

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

Hi @prajeeta15
I am unable to merge this - you have removed other people's changelog entries
https://github.com/hiero-ledger/hiero-sdk-python/pull/1027/changes#diff-9e7a22da35715c25129d7199f2530a872c4ad3d119722caea17a5ff57e570aec

I would recommend to copy in the code of the current main changelog to your branch, then add in just your change :)
While you do that, could you change the trigger time to 1pm
You use quite a few API calls, and since we have other bots, this may cause problems

Please first make sure to fetch from upstream and push to your origin main as described in rebasing.md

Thanks

@exploreriii exploreriii marked this pull request as draft December 17, 2025 09:47
Copy link
Contributor

@exploreriii exploreriii left a comment

Choose a reason for hiding this comment

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

Issue is outstanding, please look at your changelog submission here
https://github.com/hiero-ledger/hiero-sdk-python/pull/1027/changes#diff-9e7a22da35715c25129d7199f2530a872c4ad3d119722caea17a5ff57e570aec

merging will not resolve this using the editor, you must copy in the changelog i think

@prajeeta15
Copy link
Contributor Author

@exploreriii fixed the changelog.md issue. I might have missed them during "resolve conflicts"

@github-actions
Copy link

Hello, this is the Office Hour Bot.

This is a reminder that the Hiero Python SDK Office Hours are scheduled in approximately 4 hours (14:00 UTC).

This session provides an opportunity to ask questions regarding this Pull Request or receive assistance from a maintainer.

Details:

Disclaimer: This is an automated reminder. Please verify the schedule here to be notified of any changes.

@exploreriii exploreriii marked this pull request as ready for review December 17, 2025 10:43
@exploreriii exploreriii merged commit 9d70f3b into hiero-ledger:main Dec 17, 2025
15 checks passed
@exploreriii
Copy link
Contributor

Excellent work @prajeeta15 !!!!! and thank you!!!

@prajeeta15 prajeeta15 deleted the reminder branch December 23, 2025 09:24
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.

Create inactivity reminder bot for assigned issues with no pull requests

4 participants