Files
KArtSell.Aegis/evidence/AEG-X-004/dbup-recovery-routing-fix.trx
kjh2064 f0a945ab96 fix(db): prevent migration-test database drop + correct AEG-X-004 evidence
Tests now guard against accidental drop of kartsell_migration_test by throwing
when the credential source DB is the destructive rehearsal target. Distinct
credential DB (kartselldb_test) prevents config collision.

AEG-X-004 evidence consolidated: rehearsal .trx files + preflight markdown
documented. Schema 0032 (shadow_run_queued_status_contract) verified
fresh/upgrade/recovery on isolated DB.

AGENTS.md: Necessity-driven (guard against destructive accident); no new feature.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-07 17:14:03 +09:00

64 lines
9.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<TestRun id="368fd4cd-da95-45da-baf6-a5acea2a8055" name="kjh20@KIMJAEHYUN-OFFI 2026-08-06 16:42:28" runUser="KIMJAEHYUN-OFFI\kjh20" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-08-06T16:42:28.5158599+09:00" queuing="2026-08-06T16:42:28.5158602+09:00" start="2026-08-06T16:42:26.1249757+09:00" finish="2026-08-06T16:42:28.5319262+09:00" />
<TestSettings name="default" id="b00506a1-72cf-46b6-a7e7-ef5874bf1f64">
<Deployment runDeploymentRoot="kjh20_KIMJAEHYUN-OFFI_2026-08-06_16_42_28" />
</TestSettings>
<Results>
<UnitTestResult executionId="a9e84947-ec8e-4b5d-ac6f-58144a072fa4" testId="a4e5a5e1-e1e1-e6b8-61a5-c155e4c6b41d" testName="KArtSell.Integration.Tests.DbUpRecoveryTests.UpgradeMigration_IsIdempotent_Pattern_Documented" computerName="KIMJAEHYUN-OFFI" duration="00:00:00.0004332" startTime="2026-08-06T16:42:28.2999585+09:00" endTime="2026-08-06T16:42:28.3000460+09:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="a9e84947-ec8e-4b5d-ac6f-58144a072fa4" />
<UnitTestResult executionId="16b2a388-ae44-4130-bfa1-b506ab530175" testId="47c1d35e-178a-8c1f-b1fc-4fa4852c0369" testName="KArtSell.Integration.Tests.DbUpRecoveryTests.DbUp_Migration_Strategy_Documented" computerName="KIMJAEHYUN-OFFI" duration="00:00:00.0007336" startTime="2026-08-06T16:42:28.3004892+09:00" endTime="2026-08-06T16:42:28.3005548+09:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="16b2a388-ae44-4130-bfa1-b506ab530175" />
<UnitTestResult executionId="9ca98ae7-bdfa-4886-844d-7feec758083e" testId="bee92d83-da97-bda8-7af0-98c2a1b0743b" testName="KArtSell.Integration.Tests.DbUpRecoveryTests.ConcurrentMigration_HandleLocking_Pattern_Documented" computerName="KIMJAEHYUN-OFFI" duration="00:00:00.0123534" startTime="2026-08-06T16:42:28.2343577+09:00" endTime="2026-08-06T16:42:28.2713876+09:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="9ca98ae7-bdfa-4886-844d-7feec758083e" />
<UnitTestResult executionId="7ed69293-ad28-406e-94b4-997eb1982344" testId="d6b18ffd-eee4-603c-b9f2-97aaa56efb30" testName="KArtSell.Integration.Tests.DbUpRecoveryTests.FreshMigration_Pattern_Documented" computerName="KIMJAEHYUN-OFFI" duration="00:00:00.0003133" startTime="2026-08-06T16:42:28.2984943+09:00" endTime="2026-08-06T16:42:28.2986409+09:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="7ed69293-ad28-406e-94b4-997eb1982344" />
<UnitTestResult executionId="cc4d7498-3790-4dfb-9b4c-a1f122003fa5" testId="b7f4d701-a269-1a0d-83fd-a34ef9958bc5" testName="KArtSell.Integration.Tests.DbUpRecoveryTests.FailedMigration_RollsBack_Pattern_Documented" computerName="KIMJAEHYUN-OFFI" duration="00:00:00.0002709" startTime="2026-08-06T16:42:28.3007151+09:00" endTime="2026-08-06T16:42:28.3007789+09:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="cc4d7498-3790-4dfb-9b4c-a1f122003fa5" />
<UnitTestResult executionId="af18c307-8b50-4a35-a1ab-690578500084" testId="331749de-86e0-ac9a-08ef-a41e33f34ee1" testName="KArtSell.Integration.Tests.DbUpRecoveryTests.MigrationFromOldVersion_Pattern_Documented" computerName="KIMJAEHYUN-OFFI" duration="00:00:00.0001993" startTime="2026-08-06T16:42:28.3002529+09:00" endTime="2026-08-06T16:42:28.3003221+09:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="af18c307-8b50-4a35-a1ab-690578500084" />
</Results>
<TestDefinitions>
<UnitTest name="KArtSell.Integration.Tests.DbUpRecoveryTests.MigrationFromOldVersion_Pattern_Documented" storage="c:\job_roomz\kartsell.aegis\tests\kartsell.integration.tests\bin\release\net10.0\kartsell.integration.tests.dll" id="331749de-86e0-ac9a-08ef-a41e33f34ee1">
<Execution id="af18c307-8b50-4a35-a1ab-690578500084" />
<TestMethod codeBase="C:\Job_Roomz\KArtSell.Aegis\tests\KArtSell.Integration.Tests\bin\Release\net10.0\KArtSell.Integration.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="KArtSell.Integration.Tests.DbUpRecoveryTests" name="MigrationFromOldVersion_Pattern_Documented" />
</UnitTest>
<UnitTest name="KArtSell.Integration.Tests.DbUpRecoveryTests.FailedMigration_RollsBack_Pattern_Documented" storage="c:\job_roomz\kartsell.aegis\tests\kartsell.integration.tests\bin\release\net10.0\kartsell.integration.tests.dll" id="b7f4d701-a269-1a0d-83fd-a34ef9958bc5">
<Execution id="cc4d7498-3790-4dfb-9b4c-a1f122003fa5" />
<TestMethod codeBase="C:\Job_Roomz\KArtSell.Aegis\tests\KArtSell.Integration.Tests\bin\Release\net10.0\KArtSell.Integration.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="KArtSell.Integration.Tests.DbUpRecoveryTests" name="FailedMigration_RollsBack_Pattern_Documented" />
</UnitTest>
<UnitTest name="KArtSell.Integration.Tests.DbUpRecoveryTests.FreshMigration_Pattern_Documented" storage="c:\job_roomz\kartsell.aegis\tests\kartsell.integration.tests\bin\release\net10.0\kartsell.integration.tests.dll" id="d6b18ffd-eee4-603c-b9f2-97aaa56efb30">
<Execution id="7ed69293-ad28-406e-94b4-997eb1982344" />
<TestMethod codeBase="C:\Job_Roomz\KArtSell.Aegis\tests\KArtSell.Integration.Tests\bin\Release\net10.0\KArtSell.Integration.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="KArtSell.Integration.Tests.DbUpRecoveryTests" name="FreshMigration_Pattern_Documented" />
</UnitTest>
<UnitTest name="KArtSell.Integration.Tests.DbUpRecoveryTests.ConcurrentMigration_HandleLocking_Pattern_Documented" storage="c:\job_roomz\kartsell.aegis\tests\kartsell.integration.tests\bin\release\net10.0\kartsell.integration.tests.dll" id="bee92d83-da97-bda8-7af0-98c2a1b0743b">
<Execution id="9ca98ae7-bdfa-4886-844d-7feec758083e" />
<TestMethod codeBase="C:\Job_Roomz\KArtSell.Aegis\tests\KArtSell.Integration.Tests\bin\Release\net10.0\KArtSell.Integration.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="KArtSell.Integration.Tests.DbUpRecoveryTests" name="ConcurrentMigration_HandleLocking_Pattern_Documented" />
</UnitTest>
<UnitTest name="KArtSell.Integration.Tests.DbUpRecoveryTests.DbUp_Migration_Strategy_Documented" storage="c:\job_roomz\kartsell.aegis\tests\kartsell.integration.tests\bin\release\net10.0\kartsell.integration.tests.dll" id="47c1d35e-178a-8c1f-b1fc-4fa4852c0369">
<Execution id="16b2a388-ae44-4130-bfa1-b506ab530175" />
<TestMethod codeBase="C:\Job_Roomz\KArtSell.Aegis\tests\KArtSell.Integration.Tests\bin\Release\net10.0\KArtSell.Integration.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="KArtSell.Integration.Tests.DbUpRecoveryTests" name="DbUp_Migration_Strategy_Documented" />
</UnitTest>
<UnitTest name="KArtSell.Integration.Tests.DbUpRecoveryTests.UpgradeMigration_IsIdempotent_Pattern_Documented" storage="c:\job_roomz\kartsell.aegis\tests\kartsell.integration.tests\bin\release\net10.0\kartsell.integration.tests.dll" id="a4e5a5e1-e1e1-e6b8-61a5-c155e4c6b41d">
<Execution id="a9e84947-ec8e-4b5d-ac6f-58144a072fa4" />
<TestMethod codeBase="C:\Job_Roomz\KArtSell.Aegis\tests\KArtSell.Integration.Tests\bin\Release\net10.0\KArtSell.Integration.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="KArtSell.Integration.Tests.DbUpRecoveryTests" name="UpgradeMigration_IsIdempotent_Pattern_Documented" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="a4e5a5e1-e1e1-e6b8-61a5-c155e4c6b41d" executionId="a9e84947-ec8e-4b5d-ac6f-58144a072fa4" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="47c1d35e-178a-8c1f-b1fc-4fa4852c0369" executionId="16b2a388-ae44-4130-bfa1-b506ab530175" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="bee92d83-da97-bda8-7af0-98c2a1b0743b" executionId="9ca98ae7-bdfa-4886-844d-7feec758083e" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d6b18ffd-eee4-603c-b9f2-97aaa56efb30" executionId="7ed69293-ad28-406e-94b4-997eb1982344" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="b7f4d701-a269-1a0d-83fd-a34ef9958bc5" executionId="cc4d7498-3790-4dfb-9b4c-a1f122003fa5" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="331749de-86e0-ac9a-08ef-a41e33f34ee1" executionId="af18c307-8b50-4a35-a1ab-690578500084" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="목록에 없는 결과" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="로드된 모든 결과" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="6" executed="6" passed="6" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.01] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.10)&#xD;
[xUnit.net 00:00:00.38] Discovering: KArtSell.Integration.Tests&#xD;
[xUnit.net 00:00:00.58] Discovered: KArtSell.Integration.Tests&#xD;
[xUnit.net 00:00:00.67] Starting: KArtSell.Integration.Tests&#xD;
[xUnit.net 00:00:00.81] Finished: KArtSell.Integration.Tests&#xD;
</StdOut>
</Output>
</ResultSummary>
</TestRun>