LoRA source resolver rejects shared cache blobs accepted by serving-artifact validation
Los mantenedores suelen responder en 1 día
@draarivpatel-ui ya está trabajando en esto.
Desde el 24/11/2026.
- #1022 de @draarivpatel-ui — abierto
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- backend, machine-learning
Línea de trabajo
Empieza en packages/sie_server/src/sie_server/adapters/_lora_source.py en _check_files; compara sus layouts permitidos con _is_cache_owned_file en el mismo módulo y la comprobación en packages/sie_server/src/sie_server/config/serving_artifacts.py. Reconstruye el fixture local del issue con la revisión de 40 caracteres y el nombre de blob de 64 caracteres, y luego llama a resolve_lora_source sobre el snapshot. Hecho significa que el blob de caché compartido se acepta mientras un objetivo no relacionado sigue lanzando el error de escape, con una prueba que cubre ambos casos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hullo folks,
I’m doing some research for Tessl Code Review and ran it against your repo. It flagged a potential issue, and I figured it made sense to share it with you:
What happens
A LoRA snapshot whose weight file resolves into the cache-level shared blob store is rejected as an escaping artifact. The same layout is explicitly accepted by the serving-artifact ownership check.
This surfaced during a retrospective review of #833. I rechecked the resolver at 1518299.
Reproduction
Create this small local fixture, using a 40-character hex revision and a 64-character hex blob name:
cache/
models--test--adapter/
snapshots/<revision>/
adapter_config.json
adapter_model.safetensors -> ../../blobs/weights
blobs/weights -> ../../blobs/bb/<64 b characters>
blobs/bb/<64 b characters>
Then call resolve_lora_source(str(snapshot)).
Observed with the unchanged resolver and temporary files:
- A regular weight file in the repository's own
blobs/directory is accepted. - Replacing that file with a link into the shared
cache/blobs/bb/<hash>store raisesValueError: LoRA artifact escapes its declared directory or repository blobs. _is_cache_owned_file(shared_blob, repository)returnsTruefor that same target.- An unrelated target outside both permitted layouts is correctly rejected.
Expected behavior
The LoRA resolver should accept the cache-owned shared-blob layout while continuing to reject unrelated targets. Otherwise, an adapter already present in a layout supported elsewhere in SIE cannot pass load-time resolution.
The difference appears to be in _check_files: it permits only the snapshot and repository-local blobs. The serving-artifact check also recognizes the shared hash layout.
Validation was a local resolver test on macOS with Python 3.14.2, using the checkout's actual modules while bypassing unrelated package initialization. It did not download weights or run model inference.
Full transparency: I work at Tessl, and we've spotted that using Tessl Code Review - using repository-level context and specific review lenses that improve over time through feedback. That’s how this finding surfaced.
We’re just getting started and want to offer the tool free to open-source projects. If this is useful, happy to give you access.
Bap
- Lenguaje dominante
- Python
- Estrellas
- 3.5k
- Forks
- 328
- Merge medio
- 17 h 8 min
- PR fusionados (30 d)
- 108
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 superlinked/sie
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
superlinked/sie#1033 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
superlinked/sie#1013 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
superlinked/sie#969 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
superlinked/sie#892 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
superlinked/sie#851 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de superlinked/sie
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
reflex-dev/reflex#8026 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
apache/ponymail-foal#365 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
NousResearch/hermes-labs-plugins#116 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
gcivil-nyu-org/team-3-fall26#192 ·
Los mantenedores suelen responder en 1 día
-
[Study plan] Study sessions can be rescheduled to any length (e.g. 72 hours) with no length checkAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
gcivil-nyu-org/team-2-fall26#159 ·
Los mantenedores suelen responder en 1 día