Skip to content

Fix whatsapp login#1139

Merged
su8su merged 3 commits into
mainfrom
fix_whatsapp_login
Jul 1, 2026
Merged

Fix whatsapp login#1139
su8su merged 3 commits into
mainfrom
fix_whatsapp_login

Conversation

@su8su

@su8su su8su commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e5d98f7aff

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +352 to +356
writeFileSync(
fsPath(OPENCLAW_CONFIG_PATH),
`${JSON.stringify(config, null, 2)}\n`,
'utf-8',
);

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.

P2 Badge Serialize trusted install metadata writes

When this helper runs from plugin install/repair during startup or channel saves, it performs a read-modify-write on ~/.openclaw/openclaw.json outside the shared withConfigLock used by the other config writers. If another locked config update has already read the file and is awaiting its write, this synchronous write can be overwritten, dropping plugins.installs again and bringing back the WhatsApp trusted-install failure; route this update through the config mutex or a locked async helper.

Useful? React with 👍 / 👎.

@su8su
su8su merged commit 33694ef into main Jul 1, 2026
8 checks passed
@su8su
su8su deleted the fix_whatsapp_login branch July 1, 2026 10:54
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