Repository navigation
Release Projecto 1.0.9: fix audit findings and terminal recovery - #4
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5cbf411b4b
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const settings = await settingsStore.getSettings(); | ||
| await syncOpenAtLogin(settings.launchOnStartup); | ||
| await subscriptionService.initialize(); | ||
| void subscriptionService.initialize().catch((error) => logMainProcessError("Initial subscription verification failed", error)); |
There was a problem hiding this comment.
Await startup verification before accepting new authentication
When an existing session is restored, this allows its verification request to remain in flight while the window and protocol handler become available. If the user completes sign-in for another account before that request finishes, the stale request can subsequently overwrite the new subscription state; an old-session 401 is worse because handleUnauthorizedSession saves the captured old record with no token, immediately signing the new user back out. Keep initialization serialized with startup as before, or discard verification results when the persisted session has changed.
Useful? React with 👍 / 👎.
| ` printf '%s\\n' "$projecto_exit_code" > ${quoteBash(path.join(this.runsDirectory, `${runId}.exit.tmp`))}`, | ||
| ` mv -- ${quoteBash(path.join(this.runsDirectory, `${runId}.exit.tmp`))} ${quoteBash(path.join(this.runsDirectory, `${runId}.exit`))}`, |
There was a problem hiding this comment.
Finalize runs when changing to the command directory fails
For a Linux or macOS command whose configured relative cwd does not exist, the generated script exits at the earlier cd ... || exit 1 before either trap is installed. Consequently this new exit file is never written, while the tailer no longer times out and only emits an idle warning, leaving the run and project terminal session active indefinitely until the user manually stops it. Install the finalization trap before changing directories or explicitly write a failure status on that path.
Useful? React with 👍 / 👎.
| - Version: `1.0.8` | ||
| - Installer: `Projecto-1.0.8.Setup.exe` |
There was a problem hiding this comment.
Update the documented build target to 1.0.9
This commit sets the package and generated installer version to 1.0.9, but the release instructions still identify 1.0.8 as the current target and tell maintainers to publish the 1.0.8 artifacts. Following this section would update the website or release feed with the wrong installer name and version; the version, filename, and publication note should match 1.0.9.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7c8875e562
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| name: "Full Dev Workspace", | ||
| description: | ||
| "Run every saved project command, then open the browser and editor.", | ||
| "Run all commands enabled for profile launch, then open the browser and editor. Run dependency installation separately first.", |
There was a problem hiding this comment.
Limit Full Dev Workspace to launch-enabled commands
When a project contains setup commands marked runOnLaunch: false, selecting this renamed preset still assigns allCommandIds, so launching it runs dependency installation despite the new description explicitly saying to run installation separately. Build the preset from runnableCommandIds so its behavior matches the advertised workflow.
Useful? React with 👍 / 👎.
Projecto could lose concurrent edits, start overlapping terminals, accept unsolicited sign-in callbacks and report successful commands as failures. Version 1.0.9 serializes storage and launch changes, binds desktop sign-in to a pending verifier, tracks terminal exit separately from output and bounds retained logs. Failed focus/stop operations now retain ownership until process exit is confirmed, preventing duplicate launches.
The shared protocol is vendored for clean-checkout builds. Saved disabled commands remain disabled, stale UI responses are ignored, account metadata is isolated and privileged IPC is restricted to the main application document.
Validation: 113 desktop tests, TypeScript and lint passed, including GitHub CI for the final commit. The Windows x64 installer and Squirrel package were rebuilt from source tree c5532288769a5f9455c3297e1d763df1ccf2ebb8. Package contents include the final terminal fix; production CSP, Squirrel RELEASES SHA-1/size and installer SHA-256 were verified. Windows binaries are unsigned because no signing certificate is configured.