Start with a release artifact
Dify’s October 23, 2026, announcement says version 1.18.0 makes.ifpkg the default app export. According to Dify, Workflow and Chatflow packages include inline Agents, Skills and files bound to those Agents’ configuration snapshots. The company says import recreates resources, remaps references and reports missing resources. These portability features make the exported package a useful starting point for a production release procedure. Sources: Dify on GitHub
Consider a proposed support-triage Chatflow with an inline Agent, a Skill containing a fixture file and a Workflow Tool. The tool would retrieve policy information and call a test ticketing endpoint. Use this example to define what must survive promotion: configuration, resource bindings, file handling and expected tool behavior. Record the source workspace, app identifier, selected version, export time, Dify build and package checksum. Store the exact artifact intended for staging, with a readable configuration export alongside it where available.
The package foundation pull request describes a versioned manifest, bounded archive validation, portable references and content digests. That description does not establish reproducible builds, cryptographic signing or complete runtime capture. Repeated and partial imports, secret inclusion and compatibility across versions remain questions for deployment testing. The procedure below is a proposed validation method, not a tested deployment or a guarantee of repeatable releases. Sources: Dify on GitHub
Choose the transfer mechanism deliberately
Use.ifpkg as the central artifact for this promotion procedure. Dify says icons, Site settings and node plugin dependencies participate in export, and Agent exports can target published versions. The announcement also says YAML remains available. Keep YAML as an inspectable configuration companion without assuming it carries the same resources as a package. The table below separates these exports from the repository’s JSON migration workflow. Sources: Dify on GitHub
Table
Transfer mechanisms and their roles
| Mechanism | Documented scope | Recommended role |
|---|---|---|
| .ifpkg app package | Dify says Workflow and Chatflow packages include inline Agents, Skills and files bound to those Agents’ configuration snapshots. Import remaps references. | Primary promotion artifact |
| YAML DSL | Dify says YAML remains an export option | Readable configuration companion |
| Cross-environment migration JSON | The guide covers Workflow and Chatflow apps and custom tool dependencies | Separate migration path with its own controls |
The JSON migration guide supports one source workspace and Workflow or Chatflow apps, with explicit identity and conflict strategies. Its wizard defaults to preserving identifiers and updating conflicts. Generating new identifiers produces mappings and rewrites references where possible. Review those defaults before using that workflow against an existing production destination. The guide documents these controls for JSON migration; they do not establish how package imports handle existing resources. Sources: Dify on GitHub
Stabilize the destination and map dependencies
Complete the platform upgrade before evaluating app promotion, so a runtime change does not obscure an application regression. Dify’s guidance calls for coordinated API, worker, Agent Backend and runtime upgrades. It also requires a nonempty local-sandbox token and an unchanged password-pepper setting. According to the announcement, older runtimes cannot read composition-v2 snapshots. Plan infrastructure rollback separately from restoring a previous app artifact. Sources: Dify on GitHub
Next, create a destination dependency inventory. For each dependency, record whether it travels with the artifact, needs rebinding or must be provisioned separately. Include the destination mapping while keeping secret values out of the review record. The JSON migration guide illustrates the distinction: built-in and plugin tools remain dependency metadata. In that workflow, custom API credentials need destination-side setup when secrets are excluded. Sources: Dify on GitHub
- Model and provider configuration, including selected models and parameters.
- Plugin versions, tool credentials and Model Context Protocol endpoints.
- Knowledge resources and their destination bindings.
- Sandbox configuration, file storage and fixture files.
- App environment variables, access settings and production endpoint mappings.
Import into staging and save the import result, warnings and destination identifiers. Dify says package import reports missing resources and remaps references. Resolve those reports before acceptance testing, then inspect the resulting bindings rather than assuming development identifiers survived. For the support-triage example, verify the policy resource, Skill fixture and ticketing endpoint individually. Sources: Dify on GitHub
Check saved settings and the published entry point
Inspect imported configuration immediately, then compare it again after saving and reloading. Issue #44556 reports upload limits and feature switches resetting during overwrite-import of YAML domain-specific language, or DSL, configuration. The reporter tested Dify 1.17.1 and an upstream commit from October 22, 2026. That report concerns DSL behavior, not a demonstrated defect in released 1.18 packages. Use it to guide checks of prompts, model parameters, tool mappings, upload limits, feature switches, environment variables and access settings after saving. Sources: GitHub
File handling deserves its own acceptance case. A Docker deployment report for Dify 1.14.2 describes a cross-workspace import retaining a workspace-specific default-file reference. The interface then stayed in a running state while the worker reported an invalid upload file. Treat this historical report as a reason to test destination-workspace files, not as evidence of a current package defect. Exercise the published interface or API that production callers will use, including retrieval of returned files. Sources: GitHub
- Run a fixed successful fixture and check the selected branch, policy result and ticketing side effect.
- Submit missing input and trigger a controlled tool failure to inspect error behavior.
- Exercise file input and output using destination-accessible resources.
- Test any pause and resume behavior the app uses.
- Record pass or fail, latency, side effects and run identifiers for each fixture.
Follow the first divergent tool invocation
When staging behaves differently, compare the same fixture across environments and locate the first meaningful divergence. The trace interface pull request describes navigation into a selected tool invocation from workflow, chat and history views. It also describes refreshing loop, iteration and human-input traces. Match the fixture, invocation and iteration before comparing child results. The table below suggests diagnostic checks rather than a guaranteed set of fields for every node. Sources: Dify on GitHub
Table
Diagnostic checks after app promotion
| Observation | Recommended next check |
|---|---|
| Different answer or branch | Compare inputs, prompt, model settings, context and tool result |
| Outer tool fails | Inspect the first failing child step, credentials and endpoint |
| Tool executes repeatedly | Match invocation and iteration to the fixture |
| Run pauses or appears stuck | Inspect child state and human-input history, then correlate logs |
| File output fails | Check resource mapping and caller access to the file |
| Console detail is unavailable | Check access to the source applications |
For a controlled demonstration, point staging’s ticketing tool at a test endpoint that returns a different response. Run the same fixture and inspect the child execution to locate where the result changes. Compare inputs, prompt, model configuration, retrieved context and tool output before attributing the difference to the package. This exercise checks whether the team can explain a known deployment difference.
An unavailable drilldown does not prove that a child execution never ran. The backend pull request scopes results to the tenant, workflow run and invocation, and requires access to every source application before returning internal details. Dify says nested usage and step totals may be approximate after a pause or stop. The announcement says external exports omit called Workflow Tool internals and their Agents because viewer authorization is unavailable; console drilldown remains available. Preserve run identifiers and arrange source-app access for incident responders. Sources: Dify on GitHub
Promote the tested artifact and define rollback
Once staging passes, promote the same artifact instead of re-exporting an evolving development draft. Record production-specific credentials and endpoint mappings without copying secret values into the review artifact. Keep the checksum, app identifiers, Dify and plugin versions, configuration changes, fixture revision, acceptance results and run identifiers together. Attach the previous known-good artifact and an app rollback procedure.
Measure promotion reliability separately from execution performance: repeat clean-workspace imports, then run fixed application fixtures. Record warm or cold state, concurrency, model, plugin versions, tracing configuration, repetitions, errors and latency distributions. Define rollback triggers around failed fixtures, unintended side effects, unacceptable latency or unresolved resource mappings before moving callers. After production-specific configuration changes, repeat acceptance checks through the published entry point and retain the resulting run identifiers.