Corrigir hash do pacote inventory-write de desenvolvimento
O pin do manifest.json tinha sido calculado sobre a cópia CRLF do Windows; o git guarda LF, por isso qualquer clone limpo recusava o escritor de recepção. Pin actualizado para os bytes canónicos e pacotes inventory-*/order-cancellation marcados -text para preservar os bytes exactos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -267,7 +267,7 @@ final class AgreementOrderLimits
|
||||
}
|
||||
$root = base_path('packages/inventory-write/development');
|
||||
$bytes = file_get_contents($root.'/manifest.json');
|
||||
if ($bytes === false || ! hash_equals('90cf565537e7fd48eb54a87bcfd6d585cf53239f075764910047838b3b8b4c38', hash('sha256', $bytes))) {
|
||||
if ($bytes === false || ! hash_equals('c7ba216ff4f61f1435f7fc7ac423bf56dc729c228aa3acb165b960675cb96dbb', hash('sha256', $bytes))) {
|
||||
throw new \LogicException('Artefacto aritmético incompatível.');
|
||||
}
|
||||
$manifest = json_decode($bytes, true, 512, JSON_THROW_ON_ERROR);
|
||||
|
||||
@@ -26,7 +26,7 @@ final class ReceiptStockMovement
|
||||
abort_unless(($connection->getDriverName() === 'sqlite' && $connection->getDatabaseName() === ':memory:')
|
||||
|| ($connection->getDriverName() === 'pgsql' && preg_match('/^compras_receipts_test_[a-f0-9]{12}$/D', $connection->getDatabaseName())), 503, 'Base QA isolada obrigatória.');
|
||||
$root = base_path('packages/inventory-write/development');
|
||||
$pin = '90cf565537e7fd48eb54a87bcfd6d585cf53239f075764910047838b3b8b4c38';
|
||||
$pin = 'c7ba216ff4f61f1435f7fc7ac423bf56dc729c228aa3acb165b960675cb96dbb';
|
||||
$files[] = 'src/QuantityConversion.php';
|
||||
} else {
|
||||
$conversion->assertLegacyCompatible();
|
||||
|
||||
Reference in New Issue
Block a user