brokered_connections: two reads carry no provider predicate (blocks the provider sunset flow)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- authorization, backend
Línea de trabajo
Start in server/src/plugins/store.ts at retireConnectionsFor and brokeredConnectionsFor, which lack the provider predicate the other selects use, and check the comments there that point to assertActivatable in server/src/index.ts. Done means both reads filter on the active broker provider and a test covering the offboarding sweep with a foreign-provider row shows it is neither revoked through the active broker nor audited as revoked. The fix is gated on the provider sunset flow, so confirm with maintainers before starting.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Two brokered_connections reads in server/src/plugins/store.ts carry no provider predicate, where the other 11 selects in that file all filter on the active broker:
retireConnectionsFor— the offboarding sweepbrokeredConnectionsFor— the settings-page read
Both are keyed (holder = 'person', userId) only.
Why it matters
retireConnectionsFor finds a person's connections and then calls the active broker's revoke() for each row it found. On a deployment holding rows from both providers, that is a revocation requested at the wrong vendor — which would not recognise the connection — while the audit row records vendorRevocationRequested about access that was never removed. A departed employee keeps live access and the record says otherwise.
brokeredConnectionsFor is milder: rows are resolved at the active provider's canonical URL, so another provider's connections are silently dropped from the settings page.
Why it is not urgent
Unreachable today. The startup activation refusal (assertActivatable, called from server/src/index.ts) refuses to boot when the configured provider differs from the provider on the existing rows, so a mixed deployment cannot start and neither read can see a foreign row.
Both sites were already unfiltered before the Arcade provider work began (base 7b1c20a) — this is pre-existing, not a regression.
Why it needs an issue rather than a fix now
The provider sunset flow is exactly the change that relaxes assertActivatable's refusal, and it turns both sites live. Whoever builds it must add the brokerProvider predicate to both reads. Both call sites now carry comments saying so and naming assertActivatable, but a comment is not a work item.
Also to correct
The design spec's inventory of provider-filtered sites lists the offboarding sweep among them. It is not one — the sweep has no provider filter at all. That line should be corrected when the sunset flow is specced.
Acceptance
- Both reads filter on the active broker provider.
- A test drives the offboarding sweep on a deployment holding a foreign-provider row and asserts it is not revoked through the active broker and not audited as revoked.
Context: filed from the Arcade provider PR (#770), which does not change either read.
- Lenguaje dominante
- TypeScript
- Estrellas
- 6.6k
- Forks
- 914
- Merge medio
- 19 h 22 min
- PR fusionados (30 d)
- 140
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CopilotKit/OpenBot
-
Wrong key location at startupPosiblemente ocupada @charan-rathore la tomó hace 2 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
CopilotKit/OpenBot#800 ·
Los mantenedores suelen responder en 1 día
-
setup-learning.ts fails on Windows with "spawn npx.cmd EINVAL"Posiblemente ocupada @Caldas la tomó hace 4 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
CopilotKit/OpenBot#792 ·
Los mantenedores suelen responder en 1 día
-
An HTML-only inbound email reaches its trigger with HTML character references left in the textPosiblemente ocupada @RaphaelFakhri la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
CopilotKit/OpenBot#806 ·
Los mantenedores suelen responder en 1 día
-
Remote AG-UI Bots can't use the browser in chat: `computer_*` calls refused as "unavailable for this headless turn"Posiblemente ocupada @charan-rathore la tomó hace 1 día. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
CopilotKit/OpenBot#804 ·
Los mantenedores suelen responder en 1 día
-
Five out-of-subject findings from PR #770's tier-3 review (credential-revoking tests, single-user boot gate, OAuth client rotation, shared-use atomicity, untyped server/tests)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 4/5 Más de una semana Aptitud para principiantes 22/100
CopilotKit/OpenBot#786 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CopilotKit/OpenBot
Issues similares
-
[Android] Nested transforms are composed in reverse orderPosiblemente ocupada @Danyalo la tomó hoy. AbiertoRepro provided
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
software-mansion/react-native-svg#3090 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
radix-ui/primitives#4228 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
rocketride-org/rocketride-server#2705 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
archon-ready archon-size-s archon-type-bug area: web
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
coleam00/Archon#4707 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
HarperFast/grafana-datasource#177 ·