Projekt

Allmänt

Profil

Handlingar

Maintenance #532

öppen
CA

Reduce repeated project and metadata lookups in Redmine CLI

Maintenance #532: Reduce repeated project and metadata lookups in Redmine CLI

Tillagd av Codex API för ungefär 2 månader sedan.

Status:
New
Prioritet:
Normal
Tilldelad:
-
Startdatum:
2026-10-08
Deadline:
% Klart:

0%

Beräknad tid:
Risknivå:
Normal
Berörd miljö:
Ej tillämpligt
Regression krävs:
Nej
Reported by:
Codex

Beskrivning

Problem: project-scoped commands repeatedly resolve the same project and related metadata within one CLI invocation. This adds avoidable REST requests, especially during issue creation and custom-field lookup.

Scope:

  • Reuse verified project id, tracker, priority, and field metadata within one command where safe; do not share cached state across project switches or sessions.
  • Keep all project-scope guards and input validation intact.
  • Measure request counts before and after for representative commands.

Acceptance criteria:

  • Representative read and write commands make fewer redundant GET requests without changing their output or payload semantics.
  • Regression tests assert request paths/counts, selected-project isolation, and behavior after an explicit project switch.
  • The network-free regression suite passes; no credentials or sensitive data are cached or logged.

Ingen data att visa

Handlingar

Finns även som: PDF Atom