ADO_Server_Diagnostics_2025 cannot be run as published: missing Common.psm1 and two analyzers incompatible with Elasticsearch 8
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start with ADO_Server_Diagnostics_2025/Common.psm1 and Troubleshooting/Utils/Common.psm1, then inspect Analyzers/Test-ElasticsearchHealth.psm1 and Test-IndicesHaveUnsupportedMappings.psm1 against Elasticsearch 8.14.1. Read Troubleshooting/readme.txt and locate every Invoke-Sqlcmd call before running Repair-Search.ps1. Done means a published 25H2 run completes all analyzers, documents the actual parameters, and handles the stated SQL TLS condition.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
-
ADO_Server_Diagnostics_2025/Common.psm1is missing from the repository. The scripts in the root of that folder import it and fail. We had to copy the file fromAzure_DevOps_Server_2022. -
ADO_Server_Diagnostics_2025/Troubleshooting/Utils/Common.psm1is also missing. TheUtilsfolder in that path contains onlyAlgorithms.ps1, while the 2022 equivalent contains both files.Repair-Search.ps1cannot start without it. -
Analyzers/Test-ElasticsearchHealth.psm1crashes on Elasticsearch 8. Line 109 throwsIndexOutOfRangeException. The aggregation built earlier in the function groups by the_typefield, which was removed in Elasticsearch 8, somappings.bucketscomes back empty and$mappings[0]is out of bounds. Azure DevOps Server 25H2 installs Elasticsearch 8.14.1, so this analyzer can never complete on a supported 25H2 deployment. -
Analyzers/Test-IndicesHaveUnsupportedMappings.psm1throws on Elasticsearch 8. Line 78 raisesGET _mapping/<type> failed with status code [400] unexpectedly. The_mapping/{type}endpoint was removed in Elasticsearch 8 and now returns HTTP 400 (no handler found for uri) instead of the HTTP 404 the script expects. Suggested fix: treat 400 the same as 404, or skip this analyzer entirely on Elasticsearch 8, since the function's own comment notes there is only one mapping per index in current releases.Because analyzers 3 and 4 run in the middle of the sequence, their exceptions abort
Repair-Search.ps1before the remaining analyzers execute. We had to patch both files locally to get a complete run. -
Troubleshooting/readme.txtdocuments parameter names that do not exist. The actual parameters ofRepair-Search.ps1are-SQLServerInstance,-ConfigurationDatabaseName,-CollectionDatabaseName,-CollectionName,-ElasticsearchServiceUrl,-ElasticsearchServiceCredentialand-EntityType. -
Invoke-Sqlcmdcalls fail against SQL Server instances without a trusted TLS certificate. Version 22.x of theSqlServerPowerShell module encrypts connections by default, so every call fails withThe certificate chain was issued by an authority that is not trusted. Setting$PSDefaultParameterValuesin the caller's session does not help, because the calls are made from inside the module scope. We had to add-TrustServerCertificateto everyInvoke-Sqlcmdcall in the scripts.
- Lenguaje dominante
- PowerShell
- Estrellas
- 57
- Forks
- 68
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 microsoft/Code-Search
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
microsoft/Code-Search#122 ·
-
Azure_DevOps_Server_2025 missingAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
microsoft/Code-Search#98 · 2 comentarios · 2 reacciones ·
-
Code Search extensionAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 15/100
microsoft/Code-Search#97 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
microsoft/Code-Search#96 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 30/100
microsoft/Code-Search#95 · 1 comentario ·
Todos los issues de microsoft/Code-Search
Issues similares
-
sdk-typescript vector-store
Dificultad 2/5 Medio día Aptitud para principiantes 82/100
mem0ai/mem0#7495 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días
-
[MOVIE]: Close (2022)Abiertorequest-theme
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
LizardByte/ThemerrDB#8723 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug bug:behavior clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster maturity:stable no-stale P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openclaw/openclaw#160875 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
API Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ProjectSidewalk/SidewalkWebpage#5556 ·
Los mantenedores suelen responder en 1 día