Model query-language support by product and version in products.yml

Abierto
#8,049 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, typescript, yaml

Línea de trabajo

Start by reading data/products.yml and tracing its consumers: layouts/partials/footer/modals/influxdb-version-detector.html, assets/js/influxdb-version-detector.ts, helper-scripts/build-agent-instructions.js, and layouts/partials/footer/search.html. Verify InfluxDB 1 OSS, Enterprise, and Cloud claims against authoritative evidence, especially Flux's version and enablement requirements. The work is done when the documented schema, migration, consumer audit, validation, and regression checks satisfy the acceptance criteria.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Problem

data/products.yml is the docs repository's source for product query-language information, but its current shape cannot express all the qualifications needed for accurate documentation.

The influxdb entry covers both OSS v1 and v2 and has one detector_config.query_languages map and one supports_flux flag. The map can't say that a language applies only to certain versions or requires configuration. A reader or generator that treats the entry as an unqualified capability can produce misleading family-wide copy.

For example, the InfluxDB 1 positioning review found an FAQ stating that all InfluxDB 1 products support Flux. The metadata lists Flux for OSS and Enterprise, but the separate Cloud 1 entry lists only InfluxQL. Existing Flux installation documentation says Flux is included in InfluxDB v1.8 and later and disabled by default. The absence of Flux from a detector entry alone doesn't establish that a product doesn't support it.

Current consumers and constraints

  • Product data stores detector language names and connection parameters under detector_config.query_languages. It also stores supports_flux separately.
  • The version detector template serializes detector_config; the detector reads its language keys and connection parameters.
  • Agent instruction generation derives language names from those keys.
  • Search configuration uses supports_flux to decide whether to include Flux search results. That behavior isn't necessarily identical to a product's query-language capability. Preserve it deliberately rather than assuming the fields are interchangeable.

Proposed work

Design and document a canonical representation of query-language support by product flavor and applicable version. It should be able to represent a verified minimum release, configuration prerequisites, and source evidence. Distinguish supported, unsupported, and unknown or unverified states; a missing entry must not silently assert lack of support. Treat the exact schema and migration strategy as design decisions, not a prescribed YAML layout.

Separate capability facts from detector-specific connection fields where appropriate, or define a clear relationship between them. Audit all consumers before changing their contracts. Preserve detector behavior, generated agent instructions, and search filtering unless an intentional change is separately verified. Establish how authors and reviewers check capability claims against the canonical data and supporting evidence without requiring brittle automatic checks of arbitrary prose.

Use InfluxDB 1 as a concrete initial case: verify the applicable OSS and Enterprise versions and Flux enablement requirements against the linked documentation, and explicitly resolve Cloud 1 support from authoritative evidence rather than inferring it from an omitted detector language. Do not change a product capability claim based solely on the current metadata.

Acceptance criteria

  • The schema and authoring guidance define flavor, version range, support state, prerequisites, and evidence, including the meaning of missing data.
  • Verified InfluxDB 1 OSS, Enterprise, and Cloud entries demonstrate the model; unresolved claims remain explicitly unknown.
  • A documented consumer audit covers the version detector, generated agent instructions, search, and any other uses found during implementation.
  • Existing detector language selection and connection parameters, generated instructions, and search behavior remain correct after migration.
  • Validation catches malformed entries and contradictory or incomplete modeled states; tests cover version boundaries, conditional support, unknown support, and consumer compatibility.
  • Repository content and agent guidance explain when and how to consult or update this data. Generated instruction adapters are regenerated and validated if their sources change.
  • Relevant build and regression checks pass, with any checks that require a browser recorded.

Scope

This issue covers capability metadata and its consumers. It doesn't require a broad rewrite of product documentation or a change to product support policy. The InfluxDB 1 FAQ correction is being handled separately in the positioning work.

Lenguaje dominante
JavaScript
Estrellas
83
Forks
334
Merge medio
1 d 21 h
PR fusionados (30 d)
106

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de influxdata/docs-v2

Todos los issues de influxdata/docs-v2

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.