99 lines
5.2 KiB
Plaintext
99 lines
5.2 KiB
Plaintext
OBJECT=ZYT_TO_EJ_INCREMENTAL_MEDICINE_SYNC
|
|
RESULT=NON_DESTRUCTIVE_INCREMENTAL_PUSH_IMPLEMENTED_AND_DRY_RUN_VERIFIED
|
|
NEXT=DEPLOY_BOTH_BRANCHES_THEN_RUN_APPLY_ONLY_AFTER_EXPLICIT_AUTHORIZATION
|
|
BRANCH_ZYT=codex/ej-medicine-incremental-sync
|
|
BRANCH_EJ=codex/ej-additive-medicine-import
|
|
ZYT_COMMIT=17e9e7b6b
|
|
ZYT_PUSH=origin/codex/ej-medicine-incremental-sync
|
|
EJ_COMMIT=2637ffa
|
|
EJ_PUSH=origin/codex/ej-additive-medicine-import
|
|
CHANGED_BRANCH_FIELD=ZYT ej-pharmacy:push-medicines add-only command + EJ medicine-imports unrelated-catalog preservation
|
|
|
|
ARTIFACTS:
|
|
MODIFIED_FILE=/Users/long/Work/zyt/artifacts/ej-medicine-incremental-sync/MODIFIED_FILE
|
|
DIFF_FILE=/Users/long/Work/zyt/artifacts/ej-medicine-incremental-sync/DIFF_FILE
|
|
VERIFICATION=/Users/long/Work/zyt/artifacts/ej-medicine-incremental-sync/VERIFICATION.txt
|
|
ROLLBACK=/Users/long/Work/zyt/artifacts/ej-medicine-incremental-sync/ROLLBACK.sh
|
|
|
|
ORIGINAL:
|
|
ZYT_BASE_COMMIT=27fbef9321c67f962e4d73f04a52272887c04f95
|
|
ZYT_CONSOLE_SHA256=c722a3445f5027edcec9bb5be0981252bb6b3c28ba6f27e87364cc6829e7be6c
|
|
ZYT_ROUTE_CONTRACTS_SHA256=d17a7d25b1903f5f4bb52740f068b493a6b7842b57adc4f503bf995e43d26d7e
|
|
EJ_BASE_COMMIT=a7439cc2e8c37dd6c32c926f0cc39c1a9c9b4b67
|
|
EJ_IMPORT_SERVICE_SHA256=70f2444db461be0773348814849eeec1742c622e8a807d4b50b2c1190f664b29
|
|
EJ_IMPORT_TEST_SHA256=f91eca5aeb6b493a345dfb79e30614356a83695cc0cd37fe2b8f3d58b0c80e6f
|
|
|
|
BASELINE_1:
|
|
COMMAND=cd /Users/long/Work/zyt/server && php tests/pharmacy/callback_auth_integration.php
|
|
INPUT=baseline checkout 27fbef9321c67f962e4d73f04a52272887c04f95
|
|
LITERAL_OUTPUT=zyt pharmacy callback/auth integration tests passed: 57
|
|
EXIT_STATUS=0
|
|
|
|
BASELINE_2:
|
|
COMMAND=cd /Users/long/Work/zyt/server && php tests/pharmacy/run.php
|
|
INPUT=baseline checkout 27fbef9321c67f962e4d73f04a52272887c04f95
|
|
LITERAL_OUTPUT=Fatal error: Uncaught RuntimeException: tracking correction must append a strict operation log containing old and new logistics values
|
|
EXIT_STATUS=255
|
|
BASELINE_STATUS=pre-existing unrelated tracking-log contract failure; identical after this change
|
|
|
|
BASELINE_3:
|
|
COMMAND=cd /Users/long/Work/ej/server && php tests/pharmacy/run.php
|
|
INPUT=baseline checkout a7439cc2e8c37dd6c32c926f0cc39c1a9c9b4b67
|
|
LITERAL_OUTPUT=pharmacy contract tests passed: 67; pharmacy domain contract tests passed: 41; admin pharmacy contracts passed; workflow template contracts passed: 14
|
|
EXIT_STATUS=0
|
|
|
|
MODIFIED_1:
|
|
COMMAND=php /Users/long/Work/zyt/server/tests/pharmacy/incremental_medicine_push.php
|
|
INPUT=callback fixtures covering dry-run, stable import IDs, HMAC response identity, locks, created/existing responses, inactive mapping preservation, and zero deletes
|
|
LITERAL_OUTPUT=incremental EJ medicine push tests passed: 40
|
|
EXIT_STATUS=0
|
|
|
|
MODIFIED_2:
|
|
COMMAND=php heredoc harness requiring /Users/long/Work/zyt/server/tests/pharmacy/route_contracts.php
|
|
INPUT=modified command/service registration contracts
|
|
LITERAL_OUTPUT=route contracts passed: 26
|
|
EXIT_STATUS=0
|
|
|
|
MODIFIED_3:
|
|
COMMAND=cd /Users/long/Work/zyt/server && php think ej-pharmacy:push-medicines
|
|
INPUT=default dry-run; no --apply
|
|
LITERAL_OUTPUT=dry-run source=654 candidates=654 batches=7 mapped=654 unmapped=0 preserved_inactive=0 remote_delete=0 local_delete=0
|
|
EXIT_STATUS=0
|
|
MODIFIED_RESULT=no EJ HTTP write; no ZYT projection write; no delete
|
|
|
|
MODIFIED_4:
|
|
COMMAND=cd /Users/long/Work/zyt/server && php think ej-pharmacy:push-medicines --apply
|
|
INPUT=apply requested without confirmation token
|
|
LITERAL_OUTPUT=执行增量写入必须提供 --confirm=INCREMENTAL_NO_DELETE
|
|
EXIT_STATUS=1
|
|
MODIFIED_RESULT=write gate stopped before lock, HTTP, or projection mutation
|
|
|
|
MODIFIED_5:
|
|
COMMAND=cd /Users/long/Work/ej/server && php tests/pharmacy/run.php
|
|
INPUT=EJ additive medicine-import service with unrelated catalog rows preserved
|
|
LITERAL_OUTPUT=pharmacy contract tests passed: 67; pharmacy domain contract tests passed: 41; admin pharmacy contracts passed; workflow template contracts passed: 14
|
|
EXIT_STATUS=0
|
|
|
|
MODIFIED_6:
|
|
COMMAND=cd /Users/long/Work/ej/server && php tests/pharmacy/medicine_import_mysql_integration.php
|
|
INPUT=isolated temporary database containing an unrelated EJ medicine plus a new ZYT source medicine
|
|
LITERAL_OUTPUT=medicine import MySQL integration passed: 11 (temporary_database)
|
|
EXIT_STATUS=0
|
|
MODIFIED_RESULT=unrelated EJ medicine preserved byte-for-byte; one new medicine/source mapping appended; temporary database cleaned
|
|
|
|
MODIFIED_7:
|
|
COMMAND=php -l on ZYT service, ZYT command, ZYT console config, and EJ MedicineImportService
|
|
INPUT=all changed PHP runtime files
|
|
LITERAL_OUTPUT=No syntax errors detected
|
|
EXIT_STATUS=0
|
|
|
|
ROLLBACK:
|
|
COMMAND=ZYT_ROOT=/tmp/ej-sync-rollback.HWTG7D/zyt EJ_ROOT=/tmp/ej-sync-rollback.HWTG7D/ej /Users/long/Work/zyt/artifacts/ej-medicine-incremental-sync/ROLLBACK.sh
|
|
INPUT=detached copies at ZYT 27fbef932 and EJ a7439cc with both diffs applied; BEFORE_ZYT=6; BEFORE_EJ=3
|
|
LITERAL_OUTPUT=ROLLBACK_OK: ZYT incremental push removed; EJ unrelated-catalog preflight restored.
|
|
EXIT_STATUS=0
|
|
ROLLBACK_RESULT=AFTER_ZYT=0; AFTER_EJ=0; both copies restored to clean base behavior/status
|
|
|
|
CURRENT_STATUS=both feature commits and ZYT verification artifacts are pushed; EJ retains only pre-existing unrelated deletions; production apply was not run
|
|
RESTORED_BEHAVIOR=ROLLBACK removes the ZYT push command/service/docs/tests and restores EJ bootstrap-only unrelated-catalog rejection
|