CodeNomad/.github/workflows
Pascal André 70c9548f93
fix(permissions): ignore stale permission updates (#621)
## Summary
- Preserve the original V2 source when permission.updated changes an
already-pending request, so approval continues through the V2 reply API
instead of the legacy endpoint.
- Keep standalone permission.updated events as valid legacy requests for
older supported OpenCode binaries.
- Continue suppressing delayed post-reply updates through the existing
replied-request tombstone, preventing an approved request from
reappearing.

## Reproduced failure
The regression test fails on dev before the fix: permission.v2.asked
followed by permission.updated changes the request source to legacy, so
approval calls the legacy endpoint and never reaches the V2 reply API.

## Compatibility coverage
- V2 request plus permission.updated replies through V2
- delayed permission.updated after a successful local reply does not
re-enter the queue
- standalone legacy permission.updated remains visible and replies
through legacy

## Scope
This PR intentionally does not add speculative timeout, reconnect, or
modal-rendering changes. It only fixes the reproduced source-routing bug
and preserves verified legacy behavior.

## Validation
- npm run typecheck
- npm run build --workspace @codenomad/ui
- 144 existing runnable UI tests passed
- browser integration tests passed, including all permission lifecycle
regressions

Closes #566
2026-07-26 17:57:48 +01:00
..
build-and-upload.yml build: publish deb and portable tar.gz Linux artifacts (#492) 2026-07-12 19:29:33 +02:00
comment-pr-artifacts.yml fix(restore): simplify persistence and harden cross-platform cleanup (#602) 2026-07-17 22:17:15 +01:00
dev-release.yml ci: run dev prerelease nightly 2026-02-20 13:58:32 +00:00
manual-npm-publish.yml fix(ci): invoke pinned npm cli directly 2026-04-21 11:18:38 +01:00
pr-build.yml fix(permissions): ignore stale permission updates (#621) 2026-07-26 17:57:48 +01:00
release-ui.yml fix(desktop): restore managed Node server startup (#348) 2026-04-26 13:20:47 +01:00
release.yml chore(release): publish dev builds as codenomad-dev 2026-02-13 00:39:14 +00:00
restrict-non-dev-prs.yml fix(workflows): recheck non-dev PR authorization by author 2026-04-01 23:11:25 +01:00
reusable-release.yml fix: wire Winget automation into release pipeline (#551) 2026-06-13 17:51:24 +01:00
update-winget.yml fix: wire Winget automation into release pipeline (#551) 2026-06-13 17:51:24 +01:00