Repository navigation
refactor(api): always export App packages as version 2 - #45353
Merged
Merged
Conversation
Remove conditional package version selection for App exports, including nested workflow packages. Accept version 2 manifests without workflow tools while preserving legacy version 1 imports and rejecting version 1 workflow tool bundles.
Contributor
Pyrefly Type Coverage
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #45353 +/- ##
=======================================
Coverage 89.77% 89.77%
=======================================
Files 6239 6239
Lines 390902 390902
Branches 79285 79285
=======================================
+ Hits 350933 350937 +4
+ Misses 33870 33868 -2
+ Partials 6099 6097 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
laipz8200
marked this pull request as ready for review
November 2, 2026 19:12
laipz8200
enabled auto-merge
November 2, 2026 19:12
41tair
approved these changes
Nov 3, 2026
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
App (
dify.app).ifpkgexports currently emit version 1 without bundled workflow tools and version 2 with them. Always emit version 2, including for nested workflow packages, and allow version 2 manifests without workflow tools. Existing version 1 imports remain supported; version 1 packages containing workflow tools remain invalid.Older builds with the previous strict manifest rule require the importer update to accept tool-free version 2 packages. The separate
dify.roster-agentformat is outside this change.Fixes #45352
Screenshots
Not applicable; this changes package serialization.
Checklist