You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once you have the sample modules and graphs, push them to your container registry. Replace `<YOUR_ACR_NAME>` with the name of your Azure Container Registry. To ensure the graphs and modules are visible in the operations experience web UI, add the `--config` and `--artifact-type` flags as shown in the following example:
142
+
Once you have the sample modules and graphs, push them to your container registry. Replace `<YOUR_ACR_NAME>` with the name of your Azure Container Registry.
143
+
144
+
> [!IMPORTANT]
145
+
> The operations experience discovers artifacts by their OCI **config** media type, not the layer media type. When you push artifacts to a registry, you must set the correct media types or the artifacts won't appear in the operations experience UI:
146
+
>
147
+
> | Artifact type | Required OCI config media type | Required layer media type |
> If you use a CI/CD pipeline or other tooling to copy artifacts between registries, verify that it preserves these media types. Some tools strip or replace artifact metadata during transfer, which causes the artifacts to silently disappear from the operations experience. For more information, see [Registry artifact requirements](#registry-artifact-requirements).
153
+
154
+
To ensure the graphs and modules are visible in the operations experience web UI, add the `--config` and `--artifact-type` flags as shown in the following example:
143
155
144
156
```bash
145
157
# Log in to your ACR
@@ -187,6 +199,64 @@ See [Develop WebAssembly modules for data flow graphs](../develop-edge-apps/howt
187
199
For detailed information about creating and configuring the YAML graph definitions that define your data processing workflows, see [Configure WebAssembly graph definitions](../develop-edge-apps/howto-configure-wasm-graph-definitions.md).
188
200
189
201
202
+
## Registry artifact requirements
203
+
204
+
The operations experience uses OCI artifact metadata to discover and display graphs and modules. Understanding these requirements is important when you build custom CI/CD pipelines, copy artifacts between registries, or troubleshoot missing artifacts in the UI.
205
+
206
+
### How artifact discovery works
207
+
208
+
When you push an artifact to a registry with ORAS, the OCI manifest includes two relevant fields:
209
+
210
+
-**Config media type**: Identifies what kind of artifact this is. The operations experience filters on this field to find graphs and modules.
211
+
-**Layer media type**: Describes the content format of the actual file (YAML or WASM).
212
+
213
+
The operations experience uses the config media type for discovery, not the layer media type. If the config media type is missing or incorrect, the artifact exists in the registry but doesn't appear in the UI.
214
+
215
+
### Required media types
216
+
217
+
| Artifact type | Config media type (`--config` or `--artifact-type`) | Layer media type |
If you use automated pipelines to copy or promote artifacts between registries (for example, from a staging registry to a production registry), verify that the pipeline preserves OCI artifact metadata. Some tools strip or replace the config media type during transfer, which causes artifacts to silently disappear from the operations experience.
242
+
243
+
To verify that an artifact has the correct metadata after transfer, inspect its manifest:
If `configMediaType` shows a generic value like `application/vnd.oci.empty.v1+json`, the metadata was stripped and the artifact needs to be re-pushed with the correct flags.
259
+
190
260
## Related content
191
261
192
262
-[Develop WebAssembly modules](howto-develop-wasm-modules.md) for writing operators in Rust and Python (includes end-to-end quickstart)
0 commit comments