Skip to content

fix: correct difyctl sign-in restart and draft readiness guidance - #1144

Merged
RiskeyL merged 2 commits into
mainfrom
fix/cli-signin-and-release-check
Oct 28, 2026
Merged

RiskeyL merged 2 commits into
mainfrom
fix/cli-signin-and-release-check

Conversation

@RiskeyL

@RiskeyL RiskeyL commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Two CLI pages said something that doesn't match how Dify 1.18.0 and difyctl 1.18.0 behave. Both were reproduced on a local 1.18.0 server with the 1.18.0 release binary.

Use difyctl in Scripts and CI § Sign In from a Script

  • Before: starting another login "discards this one, so approving its code no longer signs you in", which reads as if approving the old code were harmless.
  • Now: the old code can still be approved until it expires, and approving it after you've signed in with the new code signs you out. The page says to make sure no one approves it.

Create and Update Apps from DSL Files § Update an App, steps 7 and 8

  • Before: "A run that passes has status: ended", and a ready: false release check is fixed by following its hints.
  • Now: when a node fails and its Error Handling setting lets the run finish, the test still shows status: ended, but the release check stays ready: false, and running the test again doesn't change it. Step 7 says a run that finishes has status: ended. Step 8 says what that ready: false means, how to find the node by the test's run_id, and what to do: fix the node, or test with an input no node fails on.

en, zh, and ja ship together. The shared pages reach the Cloud docs when release/cloud-1.18.0 merges into main; a trial merge of this branch with it is clean.

Closes DC-421

Copilot AI balanced review requested due to automatic review settings October 27, 2026 07:18
@mintlify

mintlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
dify-ce-cloud-docs 🟢 Ready View Preview Oct 27, 2026, 7:19 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@RiskeyL RiskeyL added the backport-to-release/1.18.0 Backport this PR to release/1.18.0 label Oct 27, 2026
@RiskeyL
RiskeyL merged commit 32c2f95 into main Oct 28, 2026
2 of 4 checks passed
@RiskeyL
RiskeyL deleted the fix/cli-signin-and-release-check branch October 28, 2026 03:20
@RiskeyL

RiskeyL commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

💚 All backports created successfully

Status Branch Result
✅ release/1.18.0

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

RiskeyL added a commit that referenced this pull request Oct 28, 2026
) (#1149)

* fix: warn against approving a discarded difyctl sign-in code

* fix: explain why a draft test with a handled node failure isn't ready

(cherry picked from commit 32c2f95)

This branch was successfully deployed

1 active deployment
staging — ba924e18 Deployed Oct 27, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-release/1.18.0 Backport this PR to release/1.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants