Skip to content

fix(harmonyos): reuse account sessions and repair brand resources - #2801

Merged
wgqqqqq merged 2 commits into
GCWing:1.0.0-explorefrom
wgqqqqq:wgq/harmonyos-scan-account-session-reuse
Sep 5, 2026
Merged

wgqqqqq merged 2 commits into
GCWing:1.0.0-explorefrom
wgqqqqq:wgq/harmonyos-scan-account-session-reuse

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Sep 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • reuse an existing HarmonyOS cloud-account session when scanning an account-auth QR on the same relay instead of comparing mutable display usernames and prompting for the password again
  • keep the authenticated device directory as the authoritative check for the scanned desktop target, while retaining the cross-relay isolation introduced by fix(harmony): make remote connections resumable #2802
  • rename generated HarmonyOS brand resources to valid underscore-only identifiers and update the app/ability references
  • teach the brand generator to remove the invalid legacy names without duplicate cleanup entries, and add a regression test for HarmonyOS media identifiers

Verification

  • source scripts/ohos-env.sh && "$HVIGORW" --mode module -p module=entry@default -p ohos.test.type=LocalTest test --no-daemon
  • source scripts/ohos-env.sh && "$HVIGORW" --mode module -p product=default -p module=entry@default assembleHap --no-daemon
  • node --test scripts/generate-brand-assets.test.mjs
  • pnpm run harmony:architecture
  • pnpm run check:repo-hygiene
  • git diff --check

Remote scenarios

  • Remote control: covered by the HarmonyOS QR decision-policy tests; an authenticated controller proceeds through cloud device selection without password re-entry only on the matching relay.
  • Peer Device Mode: the selected device is still resolved through the authenticated directory; no transport fallback was added.
  • Remote workspace and Detached Dispatch: not affected.

Device/layout coverage

  • No in-app layout geometry changed. HarmonyOS resource compilation and the complete HAP build were verified locally.
  • Physical-device and foldable presentation were not exercised for this change.

AI-assisted: yes.

Testing level: focused HarmonyOS unit/build verification plus repository contract checks.

@wgqqqqq
wgqqqqq force-pushed the wgq/harmonyos-scan-account-session-reuse branch from 290d7ef to 5dad9df Compare September 5, 2026 04:46
@wgqqqqq
wgqqqqq merged commit 5c6ccf3 into GCWing:1.0.0-explore Sep 5, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant