Create dependency update issue template #576

Open
opened 2026-09-16 13:15:17 +01:00 by Vylpes · 2 comments
Owner

Story Points: 3


Part of milestone 3.6.0 — standardize how release dependency-update epics are opened on Forgejo (aligned with past epics like #523).

Context

Today the repo only has a single generic .gitea/ISSUE_TEMPLATE.md (Epic / Story Points / AC scaffolding). Product owner wants a dedicated Dependency updates chooser that:

  • Auto-applies org label type/dependencies (id 222)
  • Pre-fills the release checklist below
Investigate what dependencies need updating, update the non-breaking changes, create new tickets for breaking changes and milestone to this release. `yarn audit` should return 0 vulnerabilities

Related (not a blocker): #563 copies the Cursor dependency-update skill; this ticket is the Forgejo issue template only.

User story

AS a maintainer cutting a vylbot release
I WANT a dependency-update issue template in the repo
SO THAT each release epic is created with the right label and checklist without manual copy/paste.

Acceptance criteria

  1. Template chooser
    GIVEN .gitea/ISSUE_TEMPLATE/ (and/or .forgejo/ISSUE_TEMPLATE/) on the default branch
    WHEN a user opens New Issue on Forgejo
    THEN they can pick Dependency updates alongside the existing generic planning template (current .gitea/ISSUE_TEMPLATE.md content must remain available).

  2. Auto-label
    GIVEN the user creates an issue via the Dependency updates template
    WHEN the issue is submitted
    THEN Forgejo applies label type/dependencies automatically (no manual label step).

  3. Pre-filled body
    GIVEN the dependency template
    WHEN the issue form loads
    THEN the description includes the checklist text above (verbatim), plus the usual planning header fields used elsewhere (Epic: \, Story Points:) so Smithy planning can run on child work.

  4. Suggested title
    GIVEN the dependency template
    WHEN the form opens
    THEN the title field is pre-filled or prompted as {release} Dependency Updates (e.g. 3.6.0 Dependency Updates, matching #523).

  5. Generic template unchanged
    GIVEN the generic (non-dependency) template
    WHEN used to open an issue
    THEN it does not apply type/dependencies and behaviour matches today's single-file template.

  6. Implementation format
    GIVEN Forgejo issue-template support
    WHEN the template is merged
    THEN labels are declared via template metadata (labels: in YAML form template or YAML front matter in .md), not a post-create webhook or bot.

  7. Documentation
    GIVEN merged templates
    WHEN a contributor reads CONTRIBUTING.md
    THEN a short section explains when to use Dependency updates (start of each release dependency pass) and that breaking bumps should be split into separate issues / epics per the checklist.

  8. Manual verification
    GIVEN templates on main
    WHEN a maintainer smoke-tests New Issue → Dependency updates on Forgejo
    THEN the created issue has type/dependencies and the checklist body (screenshot or issue link acceptable as QA evidence).

Subtasks

  • Migrate .gitea/ISSUE_TEMPLATE.md into .gitea/ISSUE_TEMPLATE/ multi-template layout without losing the generic planning scaffold
  • Add Dependency updates template with type/dependencies label metadata and pre-filled checklist + title hint
  • Smoke-test issue creation in Forgejo UI (label + body)
  • Document dependency template usage in CONTRIBUTING.md

Notes

  • Prefer .gitea/ISSUE_TEMPLATE/ (Forgejo-compatible with existing .gitea/ PR template); use .forgejo/ISSUE_TEMPLATE/ instead only if required for the picker on this instance—verify in UI.
  • Breaking dependency work continues to use per-package issues (see archived random-bunny pattern) linked to the release epic.
  • Milestone for the epic should be set to the target release when the issue is opened (template may prompt; not auto-set).
Story Points: 3 --- Part of milestone **3.6.0** — standardize how release dependency-update epics are opened on Forgejo (aligned with past epics like [#523](https://git.vylpes.xyz/RabbitLabs/vylbot-app/issues/523)). ## Context Today the repo only has a single generic [`.gitea/ISSUE_TEMPLATE.md`](https://git.vylpes.xyz/RabbitLabs/vylbot-app/src/branch/main/.gitea/ISSUE_TEMPLATE.md) (Epic / Story Points / AC scaffolding). Product owner wants a dedicated **Dependency updates** chooser that: - Auto-applies org label `type/dependencies` (id **222**) - Pre-fills the release checklist below ``` Investigate what dependencies need updating, update the non-breaking changes, create new tickets for breaking changes and milestone to this release. `yarn audit` should return 0 vulnerabilities ``` Related (not a blocker): [#563](https://git.vylpes.xyz/RabbitLabs/vylbot-app/issues/563) copies the Cursor dependency-update **skill**; this ticket is the Forgejo **issue template** only. ## User story **AS** a maintainer cutting a vylbot release **I WANT** a dependency-update issue template in the repo **SO THAT** each release epic is created with the right label and checklist without manual copy/paste. ## Acceptance criteria 1. **Template chooser** **GIVEN** `.gitea/ISSUE_TEMPLATE/` (and/or `.forgejo/ISSUE_TEMPLATE/`) on the default branch **WHEN** a user opens **New Issue** on Forgejo **THEN** they can pick **Dependency updates** alongside the existing generic planning template (current `.gitea/ISSUE_TEMPLATE.md` content must remain available). 2. **Auto-label** **GIVEN** the user creates an issue via the **Dependency updates** template **WHEN** the issue is submitted **THEN** Forgejo applies label `type/dependencies` automatically (no manual label step). 3. **Pre-filled body** **GIVEN** the dependency template **WHEN** the issue form loads **THEN** the description includes the checklist text above (verbatim), plus the usual planning header fields used elsewhere (`Epic: \`, `Story Points:`) so Smithy planning can run on child work. 4. **Suggested title** **GIVEN** the dependency template **WHEN** the form opens **THEN** the title field is pre-filled or prompted as `{release} Dependency Updates` (e.g. `3.6.0 Dependency Updates`, matching [#523](https://git.vylpes.xyz/RabbitLabs/vylbot-app/issues/523)). 5. **Generic template unchanged** **GIVEN** the generic (non-dependency) template **WHEN** used to open an issue **THEN** it does **not** apply `type/dependencies` and behaviour matches today's single-file template. 6. **Implementation format** **GIVEN** Forgejo issue-template support **WHEN** the template is merged **THEN** labels are declared via template metadata (`labels:` in YAML form template or YAML front matter in `.md`), not a post-create webhook or bot. 7. **Documentation** **GIVEN** merged templates **WHEN** a contributor reads `CONTRIBUTING.md` **THEN** a short section explains when to use **Dependency updates** (start of each release dependency pass) and that breaking bumps should be split into separate issues / epics per the checklist. 8. **Manual verification** **GIVEN** templates on `main` **WHEN** a maintainer smoke-tests **New Issue → Dependency updates** on Forgejo **THEN** the created issue has `type/dependencies` and the checklist body (screenshot or issue link acceptable as QA evidence). ## Subtasks - [ ] Migrate `.gitea/ISSUE_TEMPLATE.md` into `.gitea/ISSUE_TEMPLATE/` multi-template layout without losing the generic planning scaffold - [ ] Add **Dependency updates** template with `type/dependencies` label metadata and pre-filled checklist + title hint - [ ] Smoke-test issue creation in Forgejo UI (label + body) - [ ] Document dependency template usage in `CONTRIBUTING.md` ## Notes - Prefer `.gitea/ISSUE_TEMPLATE/` (Forgejo-compatible with existing `.gitea/` PR template); use `.forgejo/ISSUE_TEMPLATE/` instead only if required for the picker on this instance—verify in UI. - Breaking dependency work continues to use per-package issues (see archived `random-bunny` pattern) linked to the release epic. - Milestone for the epic should be set to the target release when the issue is opened (template may prompt; not auto-set).
Vylpes added this to the 3.6.0 milestone 2026-09-19 19:04:16 +01:00
Smithy-bot stopped working 2026-11-11 11:01:42 +00:00
54 seconds
Member

Story point estimate: 3

Factor Notes
Scope Repo config only: multi-template layout, one labeled form template, CONTRIBUTING.md note — no application code
Risk Low; Forgejo/Gitea template YAML is well documented; AC #6 forbids webhooks
Verification Manual UI smoke-test called out in AC; no automated CI gate
Subtasks Four atomic items already listed; each is ~½–1 point of focused work

Comparable to other template/docs-only changes (e.g. calculator PKGBUILD metadata). 5 would apply if we had to build custom automation or reconcile divergent .gitea vs .forgejo paths across environments without UI verification.

## Story point estimate: **3** | Factor | Notes | |--------|--------| | Scope | Repo config only: multi-template layout, one labeled form template, `CONTRIBUTING.md` note — no application code | | Risk | Low; Forgejo/Gitea template YAML is well documented; AC #6 forbids webhooks | | Verification | Manual UI smoke-test called out in AC; no automated CI gate | | Subtasks | Four atomic items already listed; each is ~½–1 point of focused work | Comparable to other template/docs-only changes (e.g. calculator PKGBUILD metadata). **5** would apply if we had to build custom automation or reconcile divergent `.gitea` vs `.forgejo` paths across environments without UI verification.
Smithy-bot stopped working 2026-11-12 11:05:36 +00:00
9 seconds
Smithy-bot added spent time 2026-11-12 11:05:41 +00:00
2 minutes
Member

Test Plan

Id Description Expected Results Actual Results Notes
576-0001 On default branch after merge, open New Issue on Forgejo Chooser shows Dependency updates and the generic planning template
576-0002 Select Dependency updates and inspect the form (do not submit yet) Title hint/pre-fill matches {release} Dependency Updates; body includes the verbatim checklist plus Epic: \ / Story Points: scaffolding
576-0003 Submit an issue via Dependency updates Created issue has type/dependencies with no manual label step; checklist text is present Close or leave as disposable smoke issue
576-0004 Create an issue via the generic planning template Issue does not get type/dependencies; body matches the prior generic scaffold behaviour
576-0005 Inspect dependency template source in the repo (.gitea/ISSUE_TEMPLATE/ or .forgejo/ISSUE_TEMPLATE/) type/dependencies is declared in template metadata (labels: / front matter), not via webhook/bot
576-0006 Open CONTRIBUTING.md Short section covers when to use Dependency updates and that breaking bumps become separate tickets
576-0007 Confirm generic scaffold still available after multi-template migration Epic / Story Points / AC scaffolding from the old single-file template remains selectable
## Test Plan | Id | Description | Expected Results | Actual Results | Notes | |----|-------------|------------------|----------------|-------| | 576-0001 | On default branch after merge, open **New Issue** on Forgejo | Chooser shows **Dependency updates** and the generic planning template | | | | 576-0002 | Select **Dependency updates** and inspect the form (do not submit yet) | Title hint/pre-fill matches `{release} Dependency Updates`; body includes the verbatim checklist plus `Epic: \` / `Story Points:` scaffolding | | | | 576-0003 | Submit an issue via **Dependency updates** | Created issue has `type/dependencies` with no manual label step; checklist text is present | | Close or leave as disposable smoke issue | | 576-0004 | Create an issue via the **generic** planning template | Issue does **not** get `type/dependencies`; body matches the prior generic scaffold behaviour | | | | 576-0005 | Inspect dependency template source in the repo (`.gitea/ISSUE_TEMPLATE/` or `.forgejo/ISSUE_TEMPLATE/`) | `type/dependencies` is declared in template metadata (`labels:` / front matter), not via webhook/bot | | | | 576-0006 | Open `CONTRIBUTING.md` | Short section covers when to use **Dependency updates** and that breaking bumps become separate tickets | | | | 576-0007 | Confirm generic scaffold still available after multi-template migration | Epic / Story Points / AC scaffolding from the old single-file template remains selectable | | |
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 3 minutes 3 seconds
Smithy-bot
3 minutes 3 seconds
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
RabbitLabs/vylbot-app#576
No description provided.