@parca/profile 0.16.484 → 0.16.485

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
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.16.485](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.484...@parca/profile@0.16.485) (2025-03-05)
7
+
8
+ **Note:** Version bump only for package @parca/profile
9
+
6
10
  ## [0.16.484](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.483...@parca/profile@0.16.484) (2025-03-05)
7
11
 
8
12
  **Note:** Version bump only for package @parca/profile
@@ -1 +1 @@
1
- {"version":3,"file":"ProfileViewWithData.d.ts","sourceRoot":"","sources":["../src/ProfileViewWithData.tsx"],"names":[],"mappings":"AAeA,OAAO,EAA0B,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAK1E,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAK9C,UAAU,wBAAwB;IAChC,WAAW,EAAE,kBAAkB,CAAC;IAChC,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,eAAO,MAAM,mBAAmB,+DAI7B,wBAAwB,KAAG,GAAG,CAAC,OAoPjC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ProfileViewWithData.d.ts","sourceRoot":"","sources":["../src/ProfileViewWithData.tsx"],"names":[],"mappings":"AAeA,OAAO,EAA0B,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAK1E,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAK9C,UAAU,wBAAwB;IAChC,WAAW,EAAE,kBAAkB,CAAC;IAChC,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,eAAO,MAAM,mBAAmB,+DAI7B,wBAAwB,KAAG,GAAG,CAAC,OAmPjC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -59,7 +59,7 @@ export const ProfileViewWithData = ({ queryClient, profileSource, showVisualizat
59
59
  invertCallStack,
60
60
  binaryFrameFilter,
61
61
  });
62
- const { isLoading: profileMetadataLoading, response: profileMetadataResponse } = useQuery(queryClient, profileSource, QueryRequest_ReportType.PROFILE_METADATA, {
62
+ const { isLoading: profileMetadataLoading, response: profileMetadataResponse, error: profileMetadataError, } = useQuery(queryClient, profileSource, QueryRequest_ReportType.PROFILE_METADATA, {
63
63
  nodeTrimThreshold,
64
64
  groupBy,
65
65
  });
@@ -150,7 +150,7 @@ export const ProfileViewWithData = ({ queryClient, profileSource, showVisualizat
150
150
  : undefined,
151
151
  total: BigInt(flamegraphResponse?.total ?? '0'),
152
152
  filtered: BigInt(flamegraphResponse?.filtered ?? '0'),
153
- error: flamegraphError,
153
+ error: flamegraphError ?? profileMetadataError,
154
154
  metadataMappingFiles: profileMetadataResponse?.report.oneofKind === 'profileMetadata'
155
155
  ? profileMetadataResponse?.report?.profileMetadata?.mappingFiles
156
156
  : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parca/profile",
3
- "version": "0.16.484",
3
+ "version": "0.16.485",
4
4
  "description": "Profile viewing libraries",
5
5
  "dependencies": {
6
6
  "@headlessui/react": "^1.7.19",
@@ -75,5 +75,5 @@
75
75
  "access": "public",
76
76
  "registry": "https://registry.npmjs.org/"
77
77
  },
78
- "gitHead": "bb8afa0ff715bed74d870f709b5f93289f268f7c"
78
+ "gitHead": "a873f929f4e16cb2c0e12f2321f4b429b617f20e"
79
79
  }
@@ -90,15 +90,14 @@ export const ProfileViewWithData = ({
90
90
  binaryFrameFilter,
91
91
  });
92
92
 
93
- const {isLoading: profileMetadataLoading, response: profileMetadataResponse} = useQuery(
94
- queryClient,
95
- profileSource,
96
- QueryRequest_ReportType.PROFILE_METADATA,
97
- {
98
- nodeTrimThreshold,
99
- groupBy,
100
- }
101
- );
93
+ const {
94
+ isLoading: profileMetadataLoading,
95
+ response: profileMetadataResponse,
96
+ error: profileMetadataError,
97
+ } = useQuery(queryClient, profileSource, QueryRequest_ReportType.PROFILE_METADATA, {
98
+ nodeTrimThreshold,
99
+ groupBy,
100
+ });
102
101
 
103
102
  const {perf} = useParcaContext();
104
103
 
@@ -213,7 +212,7 @@ export const ProfileViewWithData = ({
213
212
  : undefined,
214
213
  total: BigInt(flamegraphResponse?.total ?? '0'),
215
214
  filtered: BigInt(flamegraphResponse?.filtered ?? '0'),
216
- error: flamegraphError,
215
+ error: flamegraphError ?? profileMetadataError,
217
216
  metadataMappingFiles:
218
217
  profileMetadataResponse?.report.oneofKind === 'profileMetadata'
219
218
  ? profileMetadataResponse?.report?.profileMetadata?.mappingFiles