docs(academy): teach explicit .input reference in actor.json; auto-discovery is deprecated
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 82/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Área
- documentation
Línea de trabajo
Lee sources/academy/tutorials/apify_scrapers/getting_started.md, especialmente el ejemplo de esquema y las instrucciones que lo rodean en las líneas 8, 18 y 20–27. Añade la sección sugerida que explica ambas formas de .input y enlaza a la página de especificación del esquema de entrada; el trabajo estará hecho cuando el tutorial enseñe la vinculación explícita y advierta que la detección automática basada en el nombre del archivo está obsoleta.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
Users (and agents) who follow the academy tutorial sources/academy/tutorials/apify_scrapers/getting_started.md learn to create an INPUT_SCHEMA.json (or input_schema.json) file, but the tutorial never mentions the required .input reference in actor.json — the surrounding text (around lines 8, 18, and 20-27) teaches "create the schema file" in isolation.
The deprecation warning lives at input_schema/specification.md line 21, a page most getting-started readers won't visit:
Note: Placing INPUT_SCHEMA.json in the Actor's root is deprecated. Use
.actor/INPUT_SCHEMA.jsonand reference it explicitly fromactor.json.
As a result, agent-authored Actors ship a schema file without the actor.json linkage and continue to rely on filename-based auto-discovery, which is scheduled for removal.
Suggested change
Add a short section to the academy tutorial (right after the schema example) that teaches the two accepted forms:
### Reference the input schema from `actor.json`
Once you've written the schema file, reference it from `actor.json`:
**Form 1 — path reference (recommended):**
```json
{
"actorSpecification": 1,
"name": "my-actor",
"input": "./input_schema.json"
}
Form 2 — inline object:
{
"actorSpecification": 1,
"name": "my-actor",
"input": { /* schema contents */ }
}
Filename-based auto-discovery (dropping the .input field and hoping the platform finds INPUT_SCHEMA.json) is deprecated and will be removed in a future release. Always add the explicit .input reference.
Cross-reference the specification page for the full deprecation note.
## Related
- Companion PR against `apify/actor-templates` to add the same teaching to the `ts-empty` (and `js-empty`, `python-empty`) AGENTS.md Do-list.
- The overlay in the internal eval pack already teaches this — this issue closes the durable upstream side.
## Impact
Medium. Every agent-authored Actor that follows the academy tutorial ships without the `.input` reference. Forward-compatibility risk when Apify removes auto-discovery; also propagates the anti-pattern through every Actor those agents inspire.
---
_Surfaced during an evaluation of Apify surfaces for agent-driven Actor development._
- Lenguaje dominante
- JavaScript
- Estrellas
- 82
- Forks
- 240
- Merge medio
- 4 d 3 h
- PR fusionados (30 d)
- 40
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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.
Más de apify/apify-docs
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
apify/apify-docs#3071 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
apify/apify-docs#3049 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apify/apify-docs#2742 ·
Los mantenedores suelen responder en 1 día
-
low priority t-unblocking tech enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
apify/apify-docs#2451 ·
Los mantenedores suelen responder en 1 día
-
Add missing router docsAbiertot-builders t-docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
apify/apify-docs#1703 ·
Los mantenedores suelen responder en 1 día
Todos los issues de apify/apify-docs
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
pbakaus/impeccable#1055 ·
Los mantenedores suelen responder en 1 día
-
Add: EUROTV NEWSAbiertochannels:add check:passed
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día