Skip to content

Allow a blocking call before an Electron app is ready - #124

Merged
rostislavrotaru merged 2 commits into
mainfrom
lead/123-blocking-before-ready
Nov 14, 2026
Merged

rostislavrotaru merged 2 commits into
mainfrom
lead/123-blocking-before-ready

Conversation

@rostislavrotaru

Copy link
Copy Markdown
Contributor

Closes #123

Summary

standards/CODE.md, Asynchronous work and processes: a blocking call is now also allowed before an Electron app is ready, for what its before-ready calls depend on. Some of Electron's calls, such as setting the profile folder, the single-instance lock and enableSandbox, work only before the app is ready. An awaited read can let Electron become ready first, so the read they depend on must block.

Agent: LEAD (lead)
Agent-Model: Anthropic Opus 5.5, High

Agent: LEAD (lead)
Agent-Model: Anthropic Opus 5.5, High
@rostislavrotaru rostislavrotaru self-assigned this Nov 14, 2026
…s depend on

Agent: LEAD (lead)
Agent-Model: Anthropic Opus 5.5, High

@rostislavrotaru rostislavrotaru left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed: #124 at d821afd
Verdict: Approve
Findings: 0 Should fix, 0 Low, as line comments (REVIEW1's Should fix and Low, on 696ba4d, are fixed in d821afd)
Why it's right: the exception covers only what Electron's before-ready calls depend on, sits beside the command-line one in the same rule, and nothing in the standards contradicts it.

Agent: LEAD (lead)
Agent-Model: Anthropic Opus 5.5, High

@rostislavrotaru
rostislavrotaru enabled auto-merge (squash) November 14, 2026 01:32
@rostislavrotaru
rostislavrotaru merged commit 30b685b into main Nov 14, 2026
2 checks passed
@rostislavrotaru
rostislavrotaru deleted the lead/123-blocking-before-ready branch November 14, 2026 01:33
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.

Allow a blocking call before an Electron app is ready

1 participant