Skip to content

docs(openspec): fix plan #2576 retry once on 401, real paths, tests - #3080

Merged
dan-petty merged 3 commits into
mainfrom
docs/2576-fix-plan
Nov 1, 2026
Merged

dan-petty merged 3 commits into
mainfrom
docs/2576-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Plan #2576 came from the Service in pull request #3002. An evaluation on 2026-11-01 found defects in it. This pull request fixes the plan in place. It changes only the change folder openspec/changes/2576-a-token-that-argo-cd-refuses/.

The corrected plan:

  • Retries one time on HTTP 401 when the admin password is stored, and ends with one clear message in each other case.
  • Has three behavior groups with real test paths and tests written first.
  • Puts the spec delta in the right capability, argo-sync-rollouts-teardown.
  • Has a Feasibility section with command output.
  • Names the callers left out of scope, so the follow-up is exact.

Plans #2576

@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Changes

  • Corrected proposal.md, design.md, tasks.md and the spec delta of change 2576.
  • Commit eda9909: retry once on HTTP 401, three behavior groups with real test paths, delta in argo-sync-rollouts-teardown, Feasibility with command output.
  • Second commit: names the callers left out of scope exactly.

Evaluation findings

  • Confirmed and fixed: wrong paths, wrong capability for the delta, missing Feasibility evidence, groups without real tests.
  • Confirmed in verification and fixed: the out-of-scope text named devops argo sync as a command with no retry. devops argo sync <name> without --fleet runs cd_apps_sync (src/devops_cli/commands/argo.py line 974) and gets the retry from group 2. The left-out callers are devops argo fleet sync (and devops argo sync --fleet) and devops argo gitops sync.
  • Not reproduced: none.

Follow-up

A follow-up issue for the left-out callers is still to be filed.

Verification

  • openspec validate 2576-a-token-that-argo-cd-refuses --strict: valid.
  • uv run devops openspec check: passed.
  • uv run pytest tests/invariants/test_change_folders.py -n 0 -q: 17 passed.

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 14:17
@dan-petty
dan-petty merged commit 2ae3772 into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2576-fix-plan branch November 1, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant