Skip to content

EPIC: Repository maintenance frictions clean-up #2190

Closed as not planned
Closed as not planned

Description

@da2ce7

Goal

Turn a verified inventory of small repository maintenance frictions into a set of domain-clustered, independently reviewable subissues, so each friction is fixed in its own small pull request and under the EPIC that already owns its domain. This EPIC is planning-only: it changes no code, configuration, or documentation outside its own specification and the subissue specifications it produces.

Why

Routine work keeps running into the same small defects: a developer-tool test suite red on develop since it was moved, three such suites that no orchestrator runs, sixteen specifications for closed issues still in the open backlog, a workflow trigger that starts a job on branches it immediately refuses, and documentation pointing at binaries that have since moved into a package. None was large enough to justify its own issue when it was found and none blocks a feature, so each has survived several release cycles. Individually they are noise; collectively they are a standing tax on every contributor and agent who reads a stale path, re-diagnoses a red test, or scrolls past a run that was never going to succeed.

Fixing them in one pull request was the first proposal and was rejected: a single change touching workflows, shell fixtures, Rust source, documentation, and sixteen directory moves is hard to review and hard to revert item by item, and it hides the items that belong to an EPIC that already owns their surface.

Scope

  • Keep the verified inventory as the durable record behind every subissue, with each item's evidence held in the subissue specification that owns it.
  • Assign every inventory item to the EPIC whose own stated scope covers it, and record the argument for that assignment.
  • Produce one draft subissue specification per item or group of items sharing a domain, each sized for one focused pull request.
  • Create the GitHub subissues from the approved drafts, attach them to their parent EPIC, and move each specification into docs/issues/open/.
  • Track completion until every inventory item is delivered or explicitly closed as won't-fix.

Out of scope: fixing any friction in this EPIC's own pull request; re-verifying the inventory; archival automation, which is #1774; external-link triage, which is #2185; the Docker E2E repair, which is #2179; folder-style spec migration, which is #2159; and the long-term check-harness architecture, which is EPIC #2003.

Subissues planned

Owned by this EPIC:

  1. Narrow the container workflow release-branch trigger
  2. Correct stale documentation references left by completed moves and decisions
  3. Archive the issue specifications of closed issues
  4. Remove the unquotable character-type generic from the workspace-coupling tool
  5. Widen the allowed-actions allowlist entry that pins an exact patch version
  6. Resolve the two dependency update pull requests stalled since August

Handed to EPIC #2003, under its stated exception for low-risk, additive, independently verifiable work:

  1. Repair the project dictionary formatter test suite
  2. Run the developer-tool test suites in CI

Standalone, with no parent, because it is a behavioural change to a user-facing error path and the configuration overhaul EPIC that would have owned it is closed:

  1. Report an unsupported configuration schema version instead of an unknown-field error

Spec

docs/issues/open/2190-maintenance-frictions-cleanup/EPIC.md, under review in #2193.

Activity

  1. added 4 commits that reference this issue on Sep 10, 2026
  2. changed the title [-]Repository maintenance frictions clean-up[/-] [+]EPIC: Repository maintenance frictions clean-up[/+] on Sep 10, 2026
  3. added
    EPIC
    on Sep 10, 2026
  4. added 7 commits that reference this issue on Sep 10, 2026
  5. 65 remaining items

  6. da2ce7 commented on Sep 24, 2026

    @da2ce7
    ContributorAuthor

    Test commands and names in the testing guidance that no longer match the code at develop fa698c43 (2026-09-24).

    MySQL driver tests without their feature.

    • packages/AGENTS.md:143-144 gives TORRUST_TRACKER_CORE_RUN_MYSQL_DRIVER_TEST=true cargo test -p torrust-tracker-core.
    • .github/skills/dev/git-workflow/run-pre-commit-checks/SKILL.md:135-138 says MySQL tests "require a running instance and a feature flag". It then gives TORRUST_TRACKER_CORE_RUN_MYSQL_DRIVER_TEST=true cargo test --package bittorrent-tracker-core, which sets no feature.
    • The test module compiles only under #[cfg(all(test, feature = "db-compatibility-tests"))] (packages/tracker-core/src/databases/driver/mysql/mod.rs:77).
    • CI passes the feature: cargo test -p torrust-tracker-core --features db-compatibility-tests run_mysql_driver_tests -- --nocapture (.github/workflows/db-compatibility.yaml:62).

    Neither documented command compiles that module.

    Package name. Two skills use bittorrent-tracker-core:

    • .github/skills/dev/git-workflow/run-pre-commit-checks/SKILL.md:138
    • .github/skills/dev/testing/write-unit-test/SKILL.md:341: "cargo test -p bittorrent-tracker-core"

    The package is torrust-tracker-core (packages/tracker-core/Cargo.toml:9; AGENTS.md:80).

    Clock vocabulary in write-unit-test.

    • The skill's description (.github/skills/dev/testing/write-unit-test/SKILL.md:3) and its principle list (SKILL.md:168: "use MockClock instead of real time") name MockClock. It appears on those two lines only.
    • The body teaches clock::Stopped, which appears on seven lines, from "Phase 2: Deterministic Time with clock::Stopped" (SKILL.md:353) onward.
    • SKILL.md:355 says "The clock workspace package provides clock::Stopped". Root AGENTS.md:89 lists clock (torrust-clock) among the "Extracted packages — previously part of this workspace, now in their own standalone repositories".

    The description line carries the skill's trigger text ("Use when adding tests for domain entities…", SKILL.md:3).

    Question for the EPIC: are these three items in scope for the planned stale-reference subissue, or for a separate testing-guidance issue?

  7. added 11 commits that reference this issue on Oct 8, 2026
  8. josecelano commented on Oct 9, 2026

    @josecelano
    Member

    Thanks for the work here. We’re closing this PR and #2190 because the current shape combines too many unrelated maintenance concerns into one EPIC and set of drafts.

    Please use this PR, #2190, and your existing branch as reference material. Before opening new work, review every friction described here and check whether it has already been fixed, superseded, or captured in another issue or specification.

    For each friction that remains open, decide where it naturally belongs: a subissue of an existing EPIC when its scope clearly fits, a standalone issue when it is independent, or a new domain EPIC only if several items share a real long-term concern.

    Then follow the repository’s create-issue workflow for each remaining friction from a clean, current develop: draft its specification, get it reviewed, create the GitHub issue, and open a dedicated spec-only branch/PR ({issue-number}-{short-description}-spec). Combine items only when they share the same root cause and must change together.

  9. da2ce7 commented on Nov 26, 2026

    @da2ce7
    ContributorAuthor

    This EPIC was closed as not planned in October 2026 because it brought too many unrelated maintenance concerns together in one plan and one set of draft specifications; its draft specification in #2193 was closed with it and not merged. No change landed under it, and the frictions described here remain useful as reference. If one of them is still getting in the way, a new issue focused on that single friction is the clearest way to raise it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EPIC

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions