matrix-org / matrix-org/complement
Container feature detection
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Go
- Estrellas
- 99
- Forks
- 72
- Merge medio
- 4 d 1 h
- PR fusionados (30 d)
- 8
Descripción
There are an increasing set of features which are:
- not in the spec
- required in practice for all production homeservers.
A few examples:
- ability to delete media.
- ability to delete rooms/history entirely.
- change rate limits for the CS API.
It would be nice if a homeserver could "declare" that it supports this, which then runs some magic command on the container to enable/disable this in the container prior to startup (to avoid needing to SIGHUP a running container or other nonsense). If this declaration API is standardised, it would allow the same rate limit tests to work across different HSes for example, and if not, it can be easily skipped.
This has overlap with https://github.com/matrix-org/complement/issues/654 which suggests a configuration format for saying which tests should be run. One can imagine that the "rate limit tests" were an MSC and hence could be opted-in to. The difference is that this needs configuration on a per-test basis, as we usually want very high rate limits in tests.
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.
Línea de trabajo
Empieza comparando esta propuesta con Complement issue 654, especialmente con el formato de configuración sugerido. Define cómo un homeserver declara la compatibilidad con las funcionalidades y cómo esa declaración habilita u omite pruebas individuales antes de iniciar el contenedor. Se considera terminado cuando el enfoque cubre ejemplos como la eliminación de medios, la eliminación de salas/historial y los límites de velocidad por prueba, sin requerir reiniciar un contenedor en ejecución.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- go
- Área
- testing
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100