Repository navigation
REQ 030
REQ-030: add-project.yml upserts exactly one entry per project name, even with pre-existing duplicates
add-project.yml shall upsert exactly one entry per project name in PROJECTS_OVERRIDE, replacing an existing entry with the same name rather than appending a duplicate, even if more than one pre-existing entry already shares that name.
Prevents a re-registration of an already-known project from accumulating duplicate, conflicting entries in the shared repository variable other projects also depend on.
A registration attempt for a project name that already has one or more entries in PROJECTS_OVERRIDE results in PROJECTS_OVERRIDE containing exactly one entry for that name afterward, with its fields replaced by the new attempt's values.
Code review of add-project.yml's upsert step: every existing entry matching name is filtered out before the fresh entry is appended, so the result always has exactly one entry for that name regardless of how many pre-existing duplicates there were.
Software-Requirements-Specification
High
Code review of the filter-all-matches-then-append upsert logic
.github/workflows/add-project.yml upsert step
Verified (manual)