Skip to content

Commit 74736b6

Browse files
Merge branch 'main' into migrate_timeout_config
2 parents 0048794 + 0dff746 commit 74736b6

344 files changed

Lines changed: 11345 additions & 5966 deletions

File tree

Some content is hidden

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

.chloggen/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ components:
3232
- pkg/config/confignet
3333
- pkg/config/configopaque
3434
- pkg/config/configretry
35+
- pkg/config/configstorage
3536
- pkg/config/configtelemetry
3637
- pkg/config/configtls
3738
- pkg/confighttp

.chloggen/documentation-fix-extra-line.yaml

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

.chloggen/fix-15437-configretry-validate-when-disabled.yaml

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

.chloggen/main.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,24 @@ change_type: enhancement
77
component: cmd/mdatagen
88

99
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10-
note: Generate named Go types for primitive exported config schemas.
10+
note: Add first-class extended type aliases (int64, duration, opaque_string, id, opaque_map, etc.) to config schemas in metadata.yaml
1111

1212
# One or more tracking issues or pull requests related to the change
13-
issues: [15487]
13+
issues: [15513]
1414

1515
# (Optional) One or more lines of additional information to render under the primary note.
1616
# These lines will be padded with 2 spaces and then inserted directly into the document.
1717
# Use pipe (|) for multiline entries.
1818
subtext: |
19-
Primitive exported configs for string, integer, number, and boolean schemas now produce distinct exported types while default values and validation remain on referencing fields.
19+
Authors can now write `type: int64`, `type: duration`, `type: opaque_string`, `type: id`, or
20+
`type: opaque_map` directly as a property type in the `config:` section of `metadata.yaml`.
21+
Each alias expands to the correct JSON Schema representation and Go type automatically.
22+
Existing uses of standard JSON Schema types, `format:`, and `x-customType:` remain supported
23+
without migration.
2024
2125
# Optional: The change log or logs in which this entry should be included.
2226
# e.g. '[user]' or '[user, api]'
2327
# Include 'user' if the change is relevant to end users.
2428
# Include 'api' if there is a change to a library API.
2529
# Default: '[user]'
26-
change_logs: [api]
30+
change_logs: [user, api]

.chloggen/ml-status-reporting.yaml

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

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ config/confignet/ @open-telemetry/collector
4343
config/configopaque/ @open-telemetry/collector-approvers
4444
config/configoptional/ @open-telemetry/collector-approvers
4545
config/configretry/ @open-telemetry/collector-approvers
46+
config/configstorage/ @open-telemetry/collector-approvers
4647
config/configtelemetry/ @open-telemetry/collector-approvers
4748
config/configtls/ @open-telemetry/collector-approvers
4849
confmap/ @open-telemetry/collector-approvers @mx-psi @evan-bradley

.github/workflows/api-compatibility.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333
persist-credentials: false
3434

3535
- name: Setup Go
36-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
36+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
3737
with:
3838
go-version: oldstable
3939
cache: false
4040

4141
- name: Cache Go
4242
id: go-cache
43-
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
43+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
4444
with:
4545
path: |
4646
~/go/bin
@@ -56,17 +56,15 @@ jobs:
5656
# Compare apidiff states of Main with PR
5757
- name: Compare-States
5858
env:
59-
CI: true
60-
COMPARE_OPTS: -d "../${{ github.base_ref }}/internal/data/apidiff"
59+
APIDIFF_DATA_DIR: "../${{ github.base_ref }}/internal/data/apidiff"
6160
run: |
6261
cd $HEAD_REF
6362
make apidiff-compare
6463
6564
# Fail GitHub Action if there are incompatible changes
6665
- name: Check-States
6766
env:
68-
CI: true
69-
COMPARE_OPTS: -d "../${{ github.base_ref }}/internal/data/apidiff" -c
67+
APIDIFF_DATA_DIR: "../${{ github.base_ref }}/internal/data/apidiff"
7068
run: |
7169
cd $HEAD_REF
72-
make apidiff-compare
70+
make apidiff-check

.github/workflows/approve-workflows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
2121
id: otelbot-token
2222
with:
23-
app-id: ${{ vars.OTELBOT_APP_ID }}
23+
client-id: ${{ vars.OTELBOT_CLIENT_ID }}
2424
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
2525
- name: Run approve-workflows.sh
2626
run: ./.github/workflows/scripts/approve-workflows.sh

.github/workflows/build-and-test-arm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3232
with:
3333
persist-credentials: false
34-
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
34+
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
3535
with:
3636
go-version: oldstable
3737
cache: false
3838
- name: Cache Go
3939
id: go-cache
4040
timeout-minutes: 5
41-
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
41+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
4242
with:
4343
path: |
4444
~/go/bin

0 commit comments

Comments
 (0)