Add Celery / Auth / Task Integration¶
This page comes after:
That order matters.
What This Page Is For¶
Use it when the computation now needs:
- async execution
- retry behavior
- queue selection
- auth or access decisions
- clearer operational boundaries
A Good Task Boundary¶
- Keep the analytical function separately callable.
- Log at the operational boundary.
- Retry where transient infrastructure failures actually matter.
Auth Comes After Meaning¶
Auth decisions are important, but they are still later than “does the computation actually do the right thing?”
When you add auth or access checks, keep them:
- explicit
- documented
- aligned with the intended audience of the route
For public data, see Public APIs.
For developer-facing computation surfaces, keep documentation consistent with Computing API Endpoints.
When To Stop Adding Layers¶
Not every computation needs every integration feature immediately.
If the computation is still evolving, it is often enough to stop at:
- local callable
- thin Django route
- basic task execution
and postpone:
- elaborate auth
- retries
- public metadata exposure
- dataset registration
until the workflow is stable.
When the workflow is stable enough to become a reusable platform surface, continue into Add and Integrate Public / New Data Resources.