Generated from
who-iris/processes/iris-cdn-nightly.bpmnbygen-processes-viz.ts— do not edit here. All processes · who-iris processes
IRIS CDN nightly change ingest
Process_IrisCdnNightly · strict (defaulted) · 9 step(s)
Every night: ask the IRIS DSpace REST API which items changed since the last published run, ingest only those, rebuild the whole graph (sorted output keeps unchanged partitions byte-identical), and publish a signed release. A night with no changes publishes nothing and commits nothing.
How it connects
- Called by: no call activity names this process
- Calls: Sign and publish an IRIS CDN release, Package and distribute partitioned W3C N-Quads and named queries
- Presented on: no docs page section shows this diagram
- Running instances: none recorded
Lanes — who acts
Steps
4 of 9 step(s) carry no documentation — activity-documented lists them.
| step | lane | skill / sub-process | what it does |
|---|---|---|---|
Read the cursor of the last published runTask_ReadCursor | Build pipeline | iris-rest-feed | state/cursor.json in the Cloudflare git repository: the lastModified of the newest item in the last VERIFIED release. |
List items changed since the cursorTask_ListChanged | Build pipeline | iris-rest-feed | scripts/iris-cdn/rest-feed.ts changedSince: a Discovery search for lastModified at or after the cursor, sorted by dc.date.accessioned (IRIS rejects a lastModified sort), paged until an item is older than the cursor. Inclusive of the cursor second, de-duplicated by uuid, returned oldest first. |
Fetch the changed records and bitstream listsTask_FetchChanged | Build pipeline | iris-rest-feediris-dspace | — |
Fetch only bitstreams whose checksum changedTask_FetchNewBytes | Build pipeline | iris-cdn-exporter | — |
Write canonical records into the libraryTask_WriteRecords | Build pipeline | iris-cdn-exporter | A record whose canonical bytes equal the held ones is not rewritten. A touched-but-unchanged item therefore produces no diff. |
Rebuild the whole graph (sorted output)Call_Rebuild | Build pipeline | calls Package and distribute partitioned W3C N-Quads and named queriesiris-oxigraphnquads-distribution | — |
Sign and publish the releaseCall_SignPublish | Build pipeline | calls Sign and publish an IRIS CDN releaseiris-cdn-signing | — |
Commit the advanced cursorTask_AdvanceCursor | Build pipeline | iris-rest-feed | Only after the release verified. A failed night leaves the cursor where it was, so the next night re-reads the same window. |
Review the run report; open beans for anomaliesTask_Review | IRIS CDN Exporter (agent) | iris-cdn-exporter | Anomalies: a change count far from the recent median, quarantined bitstreams, a verification that came back unknown, a partition over its size ceiling. |
Decisions
1 of 1 decision(s) carry no documentation — gateway-documented lists them.
| decision | what decides it | branches |
|---|---|---|
Anything changed?GW_Any | — | no → Nothing published, nothing committed yes → Fetch the changed records and bitstream lists |