Repository navigation
fix(ui): Secrets feedback confuses save counts and name rules - #199464
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesClarifies partial-import confirmations, explains valid secret names, and makes save and warning counts grammatically neutral. Example: Import AUDIT_URL=https://service.example.test when the write commits but runtime refresh returns an error.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR corrects misleading Secrets feedback still present on main, with no actionable defects found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherSettings → Secrets validates drafts and sends mutations through the existing store owner; Gateway responses and inventory reads become localized confirmations and recovery messages. flowchart LR
A[Secrets dialogs] --> B[Draft validation]
B --> C[Secrets store owner]
C --> D[Gateway secret store]
D --> E[Receipts and inventory]
E --> C
C --> F[Localized feedback]
Technical reviewBest possible solution: Keep the correction in the existing English catalog and preserve the current receipt, validation, and recovery owners. Do we have a high-confidence way to reproduce the issue? The Gateway’s committed-write error path and the UI’s successful-response counter establish the misleading-count scenario, and supplied before screenshots show both wording problems; no target code was executed during this review. Is this the best way to solve the issue? Four catalog replacements are the smallest complete fix: they state known receipt counts, describe the unchanged name grammar, and avoid pluralization errors without adding state or parsing errors. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d8964fd14953. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0, Tests +37. Total +37 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed November 15, 2026, 7:48 PM ET / November 16, 2026, 00:48 UTC (Revision 2). |
Baseline-Refresh: a064860df0f6ad4a38d945eace3d17d628e4ef40 Co-authored-by: vyctorbrzezowski <[email protected]>
|
Integrated current main’s receipt-handling update through the native workflow and preserved that production owner unchanged. Reproduced the new consumer’s stale text expectation and corrected that one line. All 14 store cases plus 535 standard UI canaries pass, along with all eight full built-app Secrets browser cases. These retain acknowledged-write/read-failure recovery and cover saved-but-error feedback without a second write. Targeted lint/format passed; all four published images were inspected. No live secret-store mutation was performed. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
vyctorbrzezowski
left a comment
There was a problem hiding this comment.
Integrated verified main through the native baseline workflow, preserving the landed receipt-handling owner unchanged. Reproduced and fixed its additional stale text expectation. All 14 store cases plus 535 UI canaries pass, as do eight full built-app Secrets cases. Independent review confirmed name grammar, confirmed-save semantics, acknowledged-write recovery and Retry without a second write. Four screenshots inspected. No live secret-store mutation performed.
|
Merged via squash auto-merge.
|
…aw#199464) * fix(ui): Secrets feedback confuses save counts and name rules Co-authored-by: vyctorbrzezowski <[email protected]> * test(ui): preserve receipt coverage with updated save wording --------- Co-authored-by: vyctorbrzezowski <[email protected]>
Related: #199116, #199414.
What Problem This Solves
Fixes: Secrets presents pre-error save confirmations as the final saved count, and invalid-name errors prescribe an example instead of explaining the actual rules.
User Impact
Partial imports now identify the count as confirmed saves before the error, preserving the existing instruction to check the list before retrying. Name errors explain the existing 1–128-character grammar. Completed-import and runtime-warning labels also work for a count of one. Validation, write behavior, permissions and secret protection are unchanged.
Why This Change Was Made
A write can already be saved when its runtime refresh fails. The owner counts successful responses, so zero confirmations before that error does not mean zero entries were saved. This change states the fact the owner actually knows instead of parsing error text or inferring protected values from inventory metadata.
Only four English strings change. The branch now includes current main’s read-state and confirmed-write recovery work from #199116 and #199414. That receipt-handling owner is preserved unchanged; its additional partial-count expectation was updated to the new wording.
Evidence
Partial-import feedback
Before
After
Name validation
Before
After
Contributor: @vyctorbrzezowski directed the comprehensive wording and interaction audit.
Work sessions
Linked for team reference; these sessions aren’t public.