Workspace attach: post a sanitized session attach report to the backend when the outcome settles
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
Direção de pesquisa
Comece no caminho de attach em engine-overlay.ts e encontre os padrões existentes de deduplicação de toasts e do cliente de API. Rastreie a flag do workspace, o diretório vinculado e o gating de credenciais antes de adicionar o POST fire-and-forget para /datamates/{id}/attach-reports. Está concluído quando os attach bem-sucedidos e malsucedidos, uma vez finalizados, enviarem um único relatório sanitizado por assinatura de anúncio, e as falhas forem registradas apenas uma vez.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Problem
When a workspace attach settles, the CLI is the only place that knows what the session actually received: which declared tool keys the engine served, which it could not and why (the engine's unfulfilled-keys report), the engine and CLI versions, whether a VS Code bridge was live — or that the engine was missing, too old, or failed to start. None of that reaches the backend, so the workspace page cannot show "your last session received …" or whether a linked project is ready.
Proposal
After the outcome settles in the attach path (engine-overlay.ts), post one session attach report to POST /datamates/{id}/attach-reports through the existing API client, fire-and-forget with a bounded timeout, once per announcement signature (the same dedupe the toast uses). Failed outcomes post too.
- Report: outcome kind; the binding identity the server row already holds (git remote, else project path); CLI version; engine version (null when missing); bridge state; declared and delivered keys; the engine's report; a timestamp.
- Sanitize before sending. Engine
detailstrings are raw error text and can contain paths or hosts. Reduce each to{code, command?}—codefrom recognised patterns (ENOENT,EACCES,ETIMEDOUT,ECONNREFUSED,invalid-url, elseother),command= the basename of the spawned command for spawn failures, nothing else. The full text stays local. - Gated like the rest of the overlay (workspace flag, bound directory, configured credentials); never blocks the turn; a failed post logs once and never surfaces to the user.
Out of scope
Rendering the report anywhere; the backend store (separate change).
- Linguagem predominante
- TypeScript
- Estrelas
- 813
- Forks
- 124
- Merge médio
- 1d 18h
- PRs com merge (30d)
- 70
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de AltimateAI/altimate-code
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
AltimateAI/altimate-code#1623 ·
Mantenedores costumam responder em até 1 dia
-
TUI hangs on a blank screen when a worker RPC request fails (e.g. --port already in use)Talvez já em andamento @devin-ai-integration assumiu há 4 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
AltimateAI/altimate-code#1616 ·
Mantenedores costumam responder em até 1 dia
-
fix(workspace): don't offer the engine install when a workspace declares no integration toolsAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
AltimateAI/altimate-code#1593 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
AltimateAI/altimate-code#1591 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
AltimateAI/altimate-code#1590 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de AltimateAI/altimate-code
Issues semelhantes
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
🎙️ task - drop the raw `./node_modules/.bin/rhachet roles boot` line from bhuild's feedback templateAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
ehmpathy/rhachet-roles-bhuild#639 ·
Mantenedores costumam responder em até 1 dia
-
e2e-failure ready-to-code
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
redhat-developer/rhdh-plugin-export-overlays#4650 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 13 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
omdsh-dev/DSH-better-sidebar#1098 ·
Mantenedores costumam responder em até 2 dias