Skip to content

Commit

Permalink
implement richer error model (#2589)
Browse files Browse the repository at this point in the history
* implement richer error model

Signed-off-by: Kosuke Morimoto <[email protected]>

* fix

Signed-off-by: Kosuke Morimoto <[email protected]>

* bug fix

Signed-off-by: Kosuke Morimoto <[email protected]>

* format

Signed-off-by: Kosuke Morimoto <[email protected]>

* add pkg-config

Signed-off-by: Kosuke Morimoto <[email protected]>

* delete comment out include

Signed-off-by: Kosuke Morimoto <[email protected]>

* Add UpdateTimestamp API (#2605)

Signed-off-by: kpango <[email protected]>

* [Bugfix] agent service test (#2620)

Signed-off-by: kpango <[email protected]>

* implement richer error model

Signed-off-by: Kosuke Morimoto <[email protected]>

* fix

Signed-off-by: Kosuke Morimoto <[email protected]>

* format

Signed-off-by: Kosuke Morimoto <[email protected]>

* resolve conflict

Signed-off-by: Kosuke Morimoto <[email protected]>

* resolve conflict

Signed-off-by: Kosuke Morimoto <[email protected]>

* revert

Signed-off-by: Kosuke Morimoto <[email protected]>

---------

Signed-off-by: Kosuke Morimoto <[email protected]>
Signed-off-by: kpango <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
  • Loading branch information
kmrmt and kpango authored Sep 17, 2024
1 parent 1c45978 commit c856daf
Show file tree
Hide file tree
Showing 27 changed files with 3,330 additions and 193 deletions.
2 changes: 2 additions & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ plugins:
- json_names_for_fields=true
- plugin: buf.build/community/neoeinstein-prost
out: rust/libs/proto/src
opt:
- enable_type_names
- plugin: buf.build/community/neoeinstein-tonic
out: rust/libs/proto/src
opt:
Expand Down
1 change: 1 addition & 0 deletions dockers/agent/core/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ RUN --mount=type=bind,target=.,rw \
libomp-dev \
libopenblas-dev \
gfortran \
pkg-config \
&& ldconfig \
&& echo "${LANG} UTF-8" > /etc/locale.gen \
&& ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \
Expand Down
1 change: 1 addition & 0 deletions dockers/ci/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ RUN --mount=type=bind,target=.,rw \
libomp-dev \
libopenblas-dev \
gfortran \
pkg-config \
gawk \
gnupg2 \
graphviz \
Expand Down
2 changes: 2 additions & 0 deletions dockers/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ RUN --mount=type=bind,target=.,rw \
libomp-dev \
libopenblas-dev \
gfortran \
pkg-config \
gawk \
gnupg2 \
graphviz \
Expand Down Expand Up @@ -141,6 +142,7 @@ RUN --mount=type=bind,target=.,rw \
&& make telepresence/install \
&& make ngt/install \
&& make faiss/install \
&& make usearch/install \
&& rm -rf ${GOPATH}/src/github.com/${ORG}/${REPO}/*
# skipcq: DOK-DL3002
USER root:root
12 changes: 9 additions & 3 deletions hack/docker/gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ var (
faissBuildDeps = []string{
"gfortran",
}
rustBuildDeps = []string{
"pkg-config",
}
devContainerDeps = []string{
"gawk",
"gnupg2",
Expand Down Expand Up @@ -532,7 +535,8 @@ func main() {
RuntimeImage: "gcr.io/distroless/cc-debian12",
ExtraPackages: append(clangBuildDeps,
append(ngtBuildDeps,
faissBuildDeps...)...),
append(faissBuildDeps,
rustBuildDeps...)...)...),
Preprocess: []string{
ngtPreprocess,
faissPreprocess,
Expand Down Expand Up @@ -649,7 +653,8 @@ func main() {
ExtraPackages: append([]string{"npm"}, append(clangBuildDeps,
append(ngtBuildDeps,
append(faissBuildDeps,
devContainerDeps...)...)...)...),
append(rustBuildDeps,
devContainerDeps...)...)...)...)...),
Preprocess: append(ciContainerPreprocess, ngtPreprocess, faissPreprocess, usearchPreprocess),
Entrypoints: []string{"/bin/bash"},
},
Expand All @@ -664,7 +669,8 @@ func main() {
ExtraPackages: append(clangBuildDeps,
append(ngtBuildDeps,
append(faissBuildDeps,
devContainerDeps...)...)...),
append(rustBuildDeps,
devContainerDeps...)...)...)...),
Preprocess: append(devContainerPreprocess,
append(ciContainerPreprocess,
ngtPreprocess,
Expand Down
Loading

0 comments on commit c856daf

Please sign in to comment.