bitfab 0.61.2 → 0.62.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3ee5133d6797e0d931936274c5d05bea38532e5879f8a55567a5417cabdd04d
4
- data.tar.gz: 57666b69b7277a81a3715a3f386d8660d47d6568ef027adc7a4a10fafc02f6c2
3
+ metadata.gz: 4a04ce4c6087bca4125aeb03947b00facce1f8b1f8da0ab35973c110ef1f40ae
4
+ data.tar.gz: c66fec4e4390bbdfa35f1a12a010bc070400309b874c2531f48930729754712f
5
5
  SHA512:
6
- metadata.gz: 8a7d3b6f1f05402242f92004139803d1246be8407c3e71a8246331e8cb2d49ed811f0e54005843549490ae385e2bec32be681392241c2a866d13d502339e2e51
7
- data.tar.gz: 3e2a653d2de7a0d4e64424f3a40ada97e5922968e7862701241efb41a2e3a679e715feb1899ac0e7ace5144bbb4161269b52f2bf5f66e53eef0e9d854397bcf0
6
+ metadata.gz: 5c0d3bf2b9f187c8e0ec6e9ce99cf28b81cf992377e4621e9636d77cd79a027a15f857e3572ba0bf8ebf5a4912cbd4fd8da8cd652ab1d2ad5f77e43073ba8c6e
7
+ data.tar.gz: 64eef7e076828f8ab95c4b53f0f2c95061b142819d8e705ac59417a6b2df95da6ed6f4e5100627881e8de8582f769a6cf557e99b9a3ad3185eeb2e1e9f247ece
data/lib/bitfab/replay.rb CHANGED
@@ -465,8 +465,6 @@ module Bitfab
465
465
  # run's tokens (span-aggregated server-side), used below to fill each
466
466
  # item's :tokens.
467
467
  replay_tokens = complete_response&.dig("tokens") || {}
468
- replay_outlines = complete_response&.dig("traceOutlines") || {}
469
- original_outlines = complete_response&.dig("originalTraceOutlines") || {}
470
468
 
471
469
  # trace_id_map maps each item's client-side correlation id (:_sdk_trace_id,
472
470
  # which tagged that item's spans during the run) to the server's trace row
@@ -490,11 +488,7 @@ module Bitfab
490
488
  completed_count += 1
491
489
  missing << local_id if mapped.nil?
492
490
  end
493
- if mapped
494
- item[:tokens] = normalize_tokens(replay_tokens[mapped])
495
- item[:trace_outline] = replay_outlines[mapped]
496
- end
497
- item[:original_trace_outline] = original_outlines[item[:original_trace_id]] if item[:original_trace_id]
491
+ item[:tokens] = normalize_tokens(replay_tokens[mapped]) if mapped
498
492
  end
499
493
  # ALL completed items missing: systemic (the replayed method is not
500
494
  # traced, or uploads are wholesale broken). Raise; the run's traces
@@ -887,9 +881,7 @@ module Bitfab
887
881
  tokens: result[:tokens],
888
882
  model: result[:model],
889
883
  db_snapshot_ref: result[:db_snapshot_ref],
890
- db_branch_timings: result[:db_branch_timings],
891
- trace_outline: result[:trace_outline],
892
- original_trace_outline: result[:original_trace_outline]
884
+ db_branch_timings: result[:db_branch_timings]
893
885
  }
894
886
  })
895
887
  rescue => e
@@ -1091,9 +1083,7 @@ module Bitfab
1091
1083
  source_trace_id: original_trace_id,
1092
1084
  source_span_id: original_span_id,
1093
1085
  db_snapshot_ref:,
1094
- db_branch_timings:,
1095
- trace_outline: nil,
1096
- original_trace_outline: nil
1086
+ db_branch_timings:
1097
1087
  }
1098
1088
  ensure
1099
1089
  release_db_branch_lease(http_client, lease) if lease
@@ -1403,9 +1393,7 @@ module Bitfab
1403
1393
  source_trace_id: source_bitfab_trace_id,
1404
1394
  source_span_id: input_source_span_id,
1405
1395
  db_snapshot_ref:,
1406
- db_branch_timings:,
1407
- trace_outline: nil,
1408
- original_trace_outline: nil
1396
+ db_branch_timings:
1409
1397
  }
1410
1398
  end
1411
1399
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitfab
4
- VERSION = "0.61.2"
4
+ VERSION = "0.62.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitfab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.2
4
+ version: 0.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harvest Team