styleproof 4.4.14 → 4.4.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [4.4.15] - 2026-07-13
11
+
12
+ ### Fixed
13
+
14
+ - **Failed map-store uploads now retain every Git transport error.** The
15
+ workflow-token credential retry is no longer hidden by a later fallback, so
16
+ hosted CI reports the authenticated failure needed to repair publication.
17
+
10
18
  ## [4.4.14] - 2026-07-13
11
19
 
12
20
  ### Fixed
package/dist/map-store.js CHANGED
@@ -485,9 +485,11 @@ function checkoutMapStore(cwd, remote, branch, sparseSegment) {
485
485
  return tmp;
486
486
  }
487
487
  function pushMapStoreCommit(cwd, temporaryCheckout, remote, branch, authenticationArguments) {
488
+ const pushFailures = [];
488
489
  const isolatedPush = runGit(temporaryCheckout, [...authenticationArguments, 'push', '-q', 'origin', `HEAD:${branch}`], 1 << 20);
489
490
  if (isolatedPush.status === 0)
490
491
  return isolatedPush;
492
+ pushFailures.push(`isolated map-store push: ${isolatedPush.stderr.trim() || `git exited ${isolatedPush.status}`}`);
491
493
  const mapStoreToken = process.env.STYLEPROOF_MAP_STORE_TOKEN;
492
494
  if (mapStoreToken) {
493
495
  const githubExtraHeaderKey = ['http.https:', '', 'github.com', '.extraheader'].join('/');
@@ -511,12 +513,29 @@ function pushMapStoreCommit(cwd, temporaryCheckout, remote, branch, authenticati
511
513
  });
512
514
  if (credentialPush.status === 0)
513
515
  return credentialPush;
516
+ pushFailures.push(`workflow-token credential push: ${credentialPush.stderr.trim() || `git exited ${credentialPush.status}`}`);
514
517
  }
515
518
  const mapStoreCommit = gitOutput(temporaryCheckout, ['rev-parse', 'HEAD']);
516
519
  const importCommit = runGit(cwd, ['fetch', '-q', '--no-write-fetch-head', temporaryCheckout, mapStoreCommit], 1 << 20);
517
- if (importCommit.status !== 0)
518
- return isolatedPush;
519
- return runGit(cwd, ['push', '-q', remote, `${mapStoreCommit}:${branch}`], 1 << 20);
520
+ if (importCommit.status !== 0) {
521
+ return {
522
+ ...isolatedPush,
523
+ stderr: [
524
+ ...pushFailures,
525
+ `consumer checkout import: ${importCommit.stderr.trim() || `git exited ${importCommit.status}`}`,
526
+ ].join('\n'),
527
+ };
528
+ }
529
+ const consumerCheckoutPush = runGit(cwd, ['push', '-q', remote, `${mapStoreCommit}:${branch}`], 1 << 20);
530
+ if (consumerCheckoutPush.status === 0)
531
+ return consumerCheckoutPush;
532
+ return {
533
+ ...consumerCheckoutPush,
534
+ stderr: [
535
+ ...pushFailures,
536
+ `consumer checkout push: ${consumerCheckoutPush.stderr.trim() || `git exited ${consumerCheckoutPush.status}`}`,
537
+ ].join('\n'),
538
+ };
520
539
  }
521
540
  export function publishMapBundle(options) {
522
541
  const cwd = options.cwd ?? process.cwd();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "styleproof",
3
- "version": "4.4.14",
3
+ "version": "4.4.15",
4
4
  "description": "Catch every CSS change before it ships — review PRs and certify refactors by the browser's computed styles, not pixels. Works with any styling system.",
5
5
  "keywords": [
6
6
  "playwright",