Skip to content

Commit b48e02a

Browse files
authored
Merge branch 'main' into rlamb/record-log-optional-attributes
2 parents 8a0694b + b215109 commit b48e02a

File tree

79 files changed

+6025
-593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+6025
-593
lines changed

.changeset/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/config.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

.changeset/great-comics-ask.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@launchdarkly/observability-react-native': minor
3+
---
4+
5+
support automated exception reporting for uncaught exceptions, promise rejections and network errors

.changeset/pretty-nails-reply.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'highlight.run': patch
3+
---
4+
5+
update export timeouts for highlight.run

.changeset/shaggy-comics-unite.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@launchdarkly/observability-react-native': minor
3+
---
4+
5+
add additional error handlers for the react native sdk

.github/workflows/manual-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181

8282
- name: Publish highlight npm packages
8383
if: ${{ inputs.release_highlight == true }}
84-
id: changesets-publish
84+
id: publish-highlight
8585
run: yarn publish:highlight
8686

8787
- uses: launchdarkly/gh-actions/actions/[email protected]

.github/workflows/release-please.yml

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
release-package:
99
runs-on: ubuntu-latest
1010
permissions:
11+
id-token: write
1112
contents: write # Contents and pull-requests are for release-please to make releases.
1213
pull-requests: write
1314
issues: write
@@ -19,8 +20,17 @@ jobs:
1920
dotnet-plugin-released: ${{ steps.release.outputs['sdk/@launchdarkly/observability-dotnet--release_created'] }}
2021
dotnet-plugin-tag-name: ${{ steps.release.outputs['sdk/@launchdarkly/observability-dotnet--tag_name'] }}
2122
steps:
23+
# Normally a workflow cannot trigger another workflow. For this workflow we need to run required checks.
24+
# Github determines that something is created by a workflow/bot based on the token.
25+
- uses: launchdarkly/gh-actions/actions/[email protected]
26+
name: 'Get PAT'
27+
with:
28+
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
29+
ssm_parameter_pairs: '/production/common/releasing/o11y_gh_pat = GITHUB_PAT'
2230
- uses: googleapis/release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445
2331
id: release
32+
with:
33+
token: ${{ env.GITHUB_PAT }}
2434

2535
- uses: actions/checkout@v4
2636
if: ${{ steps.release.outputs.releases_created == 'true' }}
@@ -47,15 +57,13 @@ jobs:
4757
aws-role-arn: ${{ vars.AWS_ROLE_ARN }}
4858

4959
release-python-docs:
50-
runs-on: ubuntu-latest
60+
needs: ['release-package', 'release-python-plugin']
61+
if: ${{ needs.release-package.outputs.python-plugin-released == 'true' }}
5162
permissions:
5263
contents: write
53-
needs: ['release-python-plugin']
54-
steps:
55-
- name: Build and Publish Docs
56-
uses: ./.github/workflows/manual-publish-docs.yml
57-
with:
58-
workspace_path: sdk/@launchdarkly/observability-python
64+
uses: launchdarkly/observability-sdk/.github/workflows/manual-publish-docs.yml@main
65+
with:
66+
workspace_path: sdk/@launchdarkly/observability-python
5967

6068
release-python-provenance:
6169
needs: ['release-package', 'release-python-plugin']
@@ -108,16 +116,13 @@ jobs:
108116
dry-run: false
109117

110118
release-dotnet-plugin-docs:
111-
runs-on: ubuntu-latest
119+
needs: ['release-package', 'release-dotnet-plugin']
112120
permissions:
113121
contents: write
114-
needs: ['release-package', 'release-dotnet-plugin']
115122
if: ${{ needs.release-package.outputs.dotnet-plugin-released == 'true' }}
116-
steps:
117-
- name: Build and Publish Docs
118-
uses: ./.github/workflows/manual-publish-docs.yml
119-
with:
120-
workspace_path: sdk/@launchdarkly/observability-dotnet
123+
uses: launchdarkly/observability-sdk/.github/workflows/manual-publish-docs.yml@main
124+
with:
125+
workspace_path: sdk/@launchdarkly/observability-dotnet
121126

122127
release-dotnet-sdk-provenance:
123128
needs: ['release-package', 'release-dotnet-plugin']

.github/workflows/turbo.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,3 @@ jobs:
8282
env:
8383
LD_RELEASE_IS_PRERELEASE: false
8484
LD_RELEASE_IS_DRYRUN: false
85-
86-
- name: Release changesets
87-
if: github.ref == 'refs/heads/main'
88-
id: changesets-version
89-
uses: changesets/action@v1
90-
with:
91-
version: yarn changeset version
92-
env:
93-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94-
NPM_TOKEN: ${{ secrets.NPM_TOKEN_HIGHLIGHT_RUN }}
95-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_HIGHLIGHT_RUN }}

.release-please-manifest.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
2-
"sdk/@launchdarkly/observability-python": "0.1.0",
32
"go": "0.2.1",
4-
"sdk/@launchdarkly/observability-android": "0.5.0",
5-
"sdk/@launchdarkly/observability-dotnet": "0.1.0"
3+
"sdk/@launchdarkly/observability": "0.4.0",
4+
"sdk/@launchdarkly/observability-android": "0.6.0",
5+
"sdk/@launchdarkly/observability-dotnet": "0.1.0",
6+
"sdk/@launchdarkly/observability-node": "0.3.0",
7+
"sdk/@launchdarkly/observability-python": "0.1.1",
8+
"sdk/@launchdarkly/observability-react-native": "0.6.0",
9+
"sdk/@launchdarkly/session-replay": "0.4.0"
610
}

0 commit comments

Comments
 (0)