User story
As a CIEL Lab maintainer, I want HEAD exports to be generated faster by reusing the previous HEAD export and applying only changed resources so nightly jobs and manual test refreshes do not depend on a full export processing every time.
Use case
CIEL Lab currently uses HEAD export to populate/update its local data in a nightly job. In staging/production, generating a HEAD export can take at least ~2 hours, which creates a bottleneck when the refresh must be triggered manually multiple times during testing.
Requirements
Acceptance criteria
If I had a webhook available, I could already handle some of these updates locally instead of depending on a refresh process based on the export file.
More details (collapsible)
Context
CIEL Lab currently uses HEAD export to populate local data through a nightly job. This creates a bottleneck, especially during testing when the refresh must be triggered manually more than once.
Recent observed timing:
- staging HEAD export on 2026-05-31 01:44:06 UTC: 7218s
- production/staging: currently at least ~2h
- local environment: ~20min
Related permission improvements:
Slack reference:
Implementation direction discussed:
- The first export remains expensive.
- Subsequent exports should be generated from an existing export plus changed resources.
- Timestamps, IDs, and checksums are already present in exports.
- OCL API should be used to fetch resources updated since a timestamp.
- Any gaps in the API should be handled as small follow-up enhancements.
User story
As a CIEL Lab maintainer, I want HEAD exports to be generated faster by reusing the previous HEAD export and applying only changed resources so nightly jobs and manual test refreshes do not depend on a full export processing every time.
Use case
CIEL Lab currently uses HEAD export to populate/update its local data in a nightly job. In staging/production, generating a HEAD export can take at least ~2 hours, which creates a bottleneck when the refresh must be triggered manually multiple times during testing.
Requirements
Acceptance criteria
If I had a webhook available, I could already handle some of these updates locally instead of depending on a refresh process based on the export file.
More details (collapsible)
Context
CIEL Lab currently uses HEAD export to populate local data through a nightly job. This creates a bottleneck, especially during testing when the refresh must be triggered manually more than once.
Recent observed timing:
Related permission improvements:
Slack reference:
Implementation direction discussed: