Repository navigation
Conversation
Co-authored-by: turingzi <jiazi009@users.noreply.github.com>
This branch has not been deployed
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
DingTalk CLI stores its OAuth credentials separately from
DWS_CONFIG_DIR. On a shared host, a connector instance could therefore inherit another instance's login.Bind configuration and file-backed credentials to the server-owned instance ID, override
DWS_KEYCHAIN_DIR, and use a fresh directory namespace to avoid legacy token fallback. Restrict cleanup to the instance's own directory. Optional custom client credentials and intentional connector sharing keep their existing behavior.Existing instances need reauthorization after upgrading; old credentials are left untouched. Native Windows authorization reports an unsupported backend because dws's HKCU storage cannot be isolated by its directory settings. Instance deletion remains possible without touching shared registry credentials; Windows users can run Octop in a Linux container.
Target branch
developType of change
Test plan
make all PYTEST_JOBS=4against the current upstream base: 5113 passed, 35 skipped; Ruff and mypy passedcd dashboard && npm run buildThe binary test uses no real accounts or messages. Real-provider refresh/revocation and native macOS/Windows binary acceptance are outside that test.
Visual evidence
Screenshot of a local validation report rendered from saved execution results (not a product UI screenshot):
Checklist
CHANGELOG.md