Skip to content

Commit a143eb3

Browse files
Merge branch 'main' into etb/update-testing-framework-billing
2 parents 12d26c7 + 396a8fc commit a143eb3

File tree

23 files changed

+1262
-43
lines changed

23 files changed

+1262
-43
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- path: framework
2626
vm: ubuntu-latest
2727
regex: TestStorageMutations
28+
- path: framework
29+
vm: ubuntu-latest
30+
regex: TestDX
2831
- path: wasp
2932
vm: ubuntu22.04-16cores-64GB # ghv-ignore!
3033
regex: TestSmoke
File renamed without changes.

framework/.changeset/v0.10.35.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
- Add function that exports OCR2 keys to the clnode's REST client
1+
- Add function that exports OCR2 keys to the clnode's REST client

framework/.changeset/v0.10.36.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
- Allow to execute arbitrary `ExecConfig` in Docker using our client

framework/.changeset/v0.11.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Add DX tracking package

framework/.changeset/v0.11.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Add a function for streaming Docker logs from containers and a predefined filter to exited/dead CTF containers

framework/.changeset/v0.11.2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Fix concurrent map write when streaming Docker logs
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- Fix prefix stripping from proto package names
2+
- Add `_` to valid character in proto package name (fix for `bridge_status` package)
3+
- Update `chainlink-protos` SHA used in tests to `latest`

framework/components/dockercompose/chip_ingress_set/protos.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,16 @@ func RegisterAndFetchProtos(ctx context.Context, client *github.Client, protoSch
139139
// or in other words, we treat "workflows/" folder as the root folder for all protos in this schema set and strip it from the paths derived from the repository structure.
140140
prefixesToStrip := determineFolderPrefixesToStrip(protoSchemaSet.Folders)
141141

142+
strippedProtdMap := make(map[string]string)
143+
strippedSubjects := make(map[string]string)
144+
142145
for path := range protoMap {
143146
strippedPath := stripFolderPrefix(path, prefixesToStrip)
144-
protoMap[strippedPath] = protoMap[path]
145-
subjects[strippedPath] = subjects[path]
146-
delete(protoMap, path)
147-
delete(subjects, path)
147+
strippedProtdMap[strippedPath] = protoMap[path]
148+
strippedSubjects[strippedPath] = subjects[path]
148149
}
149150

150-
registerErr := registerAllWithTopologicalSorting(schemaRegistryURL, protoMap, subjects)
151+
registerErr := registerAllWithTopologicalSorting(schemaRegistryURL, strippedProtdMap, strippedSubjects)
151152
if registerErr != nil {
152153
return errors.Wrapf(registerErr, "failed to register protos from %s", protoSchemaSet.URI)
153154
}
@@ -174,7 +175,7 @@ func DefaultSubjectNamingStrategy(subjectPrefix string, proto protoFile, protoSc
174175
// extractPackageNameWithRegex extracts the package name from a proto source file using regex.
175176
// It returns an error if no package name is found.
176177
func extractPackageNameWithRegex(protoSrc string) (string, error) {
177-
matches := regexp.MustCompile(`(?m)^\s*package\s+([a-zA-Z0-9.]+)\s*;`).FindStringSubmatch(protoSrc)
178+
matches := regexp.MustCompile(`(?m)^\s*package\s+([a-zA-Z0-9._]+)\s*;`).FindStringSubmatch(protoSrc)
178179
if len(matches) < 2 {
179180
return "", fmt.Errorf("no package name found in proto source")
180181
}

framework/components/dockercompose/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
2626
github.com/BurntSushi/toml v1.4.0 // indirect
2727
github.com/DefangLabs/secret-detector v0.0.0-20250403165618-22662109213e // indirect
28-
github.com/Masterminds/semver/v3 v3.2.1 // indirect
28+
github.com/Masterminds/semver/v3 v3.4.0 // indirect
2929
github.com/Microsoft/go-winio v0.6.2 // indirect
3030
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
3131
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect

0 commit comments

Comments
 (0)