[WIP] Implement first half of startup/config/error-handling stabilization#5
Merged
danielsobrado merged 1 commit intoMar 27, 2026
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot stopped work on behalf of
danielsobrado due to an error
March 27, 2026 07:59
danielsobrado
approved these changes
Mar 27, 2026
This was referenced Mar 27, 2026
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.
Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.
Original prompt
Create a real implementation pull request in
danielsobrado/P2P-Market-Datato replace the previously merged planning-only PRs. This PR should implement the first half of the pending fixes: startup/config/error-handling stabilization.The previous PRs #3 and #4 appear to have merged without code changes, so this PR must contain actual source changes.
Goals
Make startup deterministic, testable, and consistent across entrypoints.
Scope
Likely files:
app.gomain.gocmd/app/main.gopkg/config/...Required implementation work
Remove
logger.Fatal/process-terminating behavior from non-top-level lifecycle code.main()should decide whether to exit.Unify configuration loading across Wails and CLI entrypoints.
NewApp()if possible.Make Wails log level configurable instead of always returning DEBUG.
Stop constructing partial ad hoc
ScriptConfigstructs in CLI startup.Improve startup failure cleanup/error propagation.
Add/update tests for key startup/config failure paths.
Acceptance criteria
Important
This PR must contain real code changes, not only a plan or checklist.
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: Is there anything else pending?
Assistant: Yes — there is still pending work.
What’s done:
What’s still pending:
Pending by area
Pending PR work
PR 1 — startup/config/error handling
Status: requested, but not confirmed complete
PR 2 — script execution lifecycle hardening
Status: still pending creation
Additional issues still pending unless bundled into PR 2
P2P correctness fixes
Migration/tooling safety
Frontend script UX consistency
Short answer
Yes — there is still pending work.
At minimum:
If you want, I can now redefine PR 2 to include all remaining items, so the 2-PR plan truly covers everything.
User: Go ahead
Assistant: I’ve submitted the second PR request covering the remaining fixes, so the pending implementation work is now queued in 2 PRs.
Still pending overall:
So the short answer is: yes, there’s still pending work operationally, but no additional PR requests are pending from my side right now.
Assistant: The pull request for hardening script execution and fixing remaining runtime, P2P, migration, and frontend issues is being created now.
You can track its status here: PR Link.
Once both PRs are ready, please review and merge them to address the full scope of recommended fixes. Let me know if there’s anything else you’d like to adjust!
User: Anything pending now?
Assistant: Yes — a few things are still pending.
Current status
https://github.com/danielsobrado/P2P-Market-Data/pull/3, so that one appears to exist.What’s still pending
PR 1 confirmation
Review/merge
Validation after merge
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.