Skip to content

Add a workflow to report (issue & PR) queue status#497

Open
rkratky wants to merge 4 commits into
ubuntu:mainfrom
rkratky:issue-bot
Open

Add a workflow to report (issue & PR) queue status#497
rkratky wants to merge 4 commits into
ubuntu:mainfrom
rkratky:issue-bot

Conversation

@rkratky

@rkratky rkratky commented Mar 27, 2026

Copy link
Copy Markdown
Collaborator

Description

  • Python script that gathers info on issue & PR queue status
    • sends a message to Canonical Mattermost & Ubuntu Matrix
  • GH Action workflow to run weekly on Mondays
  • Brief README

Disclosure: Written in large parts by AI


Checklist


This will be ready for merging upon approval by members of #devel:ubuntu.com on Matrix.

@rkratky rkratky requested a review from s-makin as a code owner March 27, 2026 09:46
@rkratky rkratky added enhancement New feature or request tooling labels Mar 27, 2026

@j5awry j5awry left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

approving -- the comments are non-blocking and things we can consider and iterate on.

Comment thread .github/scripts/queue-report.py Outdated
Formatted Markdown string.
"""
today = datetime.now(timezone.utc).strftime("%Y-%m-%d")
return (

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

won't block, but a future improvement may be to move this to a markdown file with templating rather than inline block in a return.

minimally sticking it in the config section, and having a default value or something similar would make future changes easier. i know i wouldn't first think to look in a return statement for the entire chunk

Comment thread .github/scripts/queue-report.py Outdated
"""
today = datetime.now(timezone.utc).strftime("%Y-%m-%d")
return (
f"📋 Ubuntu Project Docs — Issue & PR Queue ({today})\n"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

same as above. without the docstring, i wouldn't have realized this was for Matrix either.

and what happens if we send markdown as plaintext? it seems like most annoying bit is the table formatting. I don't want to overcomplicate the code, so maybe having 2 renderings is fine. but having them be in a config spot still makes more sense to me.

Comment thread .github/scripts/queue-report.py Outdated
table_foot = "</tbody></table>"

return (
f"<h2>📋 Ubuntu Project Docs — Issue &amp; PR Queue ({today})</h2>"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

i wonder if it's better to use a markdown-to-html library and just maintain a plaintext and a markdown version, and trust md -> html works?

i don't like having three strings of the same thing in different formats. we should be able to simplify and automate that somehow.

@s-makin

s-makin commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

This will be ready for merging upon approval by members of #devel:ubuntu.com on Matrix.

I couldn't find any discussion about this PR on Matrix, what's the current status re: being able to merge?

rkratky added 3 commits July 2, 2026 14:31
  * Python script that gathers info on issue & PR queue status
  * + sends a message to Canonical Mattermost & Ubuntu Matrix
  * GH Action workflow to run weekly on Mondays
  * Brief README
@rkratky

rkratky commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator Author

@j5awry I believe I addressed your comments. Could you please have another look?

@rkratky rkratky requested a review from j5awry July 2, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants