Skip to content

Show progress of upgrading the database schema. - #2

Merged
michaelnoonan merged 6 commits into
masterfrom
enh-showdbupgrade
Jun 5, 2017
Merged

Show progress of upgrading the database schema.#2
michaelnoonan merged 6 commits into
masterfrom
enh-showdbupgrade

Conversation

@michaelnoonan

Copy link
Copy Markdown
Contributor

This allows the logs folder to be opened if a command fails.
Historically, we've used ArgumentException to report command argument validation problems, and ignore the stack trace. If an "unexpected" ArgumentException is thrown, we lose all the stack trace information. We should actually use a special exception like ControlledFailureException to achieve the same result, and allow ArgumentExceptions from other places to flow unencumbered.
Recent changes means the home directory does not need to be configured separately to creating the instance.

@matt-richardson matt-richardson 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.

LGTM

@michaelnoonan
michaelnoonan merged commit 1d6bbd9 into master Jun 5, 2017
@michaelnoonan
michaelnoonan deleted the enh-showdbupgrade branch June 5, 2017 23:21
jimmyp added a commit that referenced this pull request Jun 5, 2026
…hAbandon) + review fixes

#1 Move abandon-support back onto the version (option A). The selector picks ScriptServiceVersion2WithAbandon
   when the Tentacle advertised AbandonScript, else ScriptServiceVersion2; the factory routes both to the V2
   executor; the executor stamps the selected version onto the CommandContext, so the orchestrator gates on
   ScripServiceVersionUsed.SupportsAbandon. Reverts the CommandContext flag / capture-once / selector tuple.
   Capability string is nameof(IScriptServiceV2.AbandonScript) on both sides (server advertise + client check,
   unit fixture, integration test). Deleted the mocked selector unit test (redundant with the version approach).
#2 CapabilitiesServiceV2Test: restore the count assertions (abandon-aware).
#3 ClientScriptExecutionAbandon: capture each spawned PID and force-kill in TearDown so nothing leaks on CI.
#4 SilentProcessRunnerFixture: add AbandonToken_WhenProcessCanNotBeKilled (asserts the process is still
   running, then cleans it up).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants