Revision 652dcb59e91c25e6e6b26138b2e3fbd34a21a4cd authored by Christian Stewart on 17 June 2021, 02:11:03 UTC, committed by Christian Stewart on 17 June 2021, 02:11:04 UTC
Throughout the code there are calls to ValueOf() and NameOf() on the QuadStore. The QuadStore currently returns a single value for these functions without an error, but internally the QuadStore might run into some errors when processing the value. This hack is clearly identified in the code: rather than return the error, it's just logged. If the QuadStore has an error while processing ValueOf or NameOf, the returned value will be nil which might lead to many types of undefined behavior - such as queries returning "nil" for one field of a Quad. Fixes #985 Signed-off-by: Christian Stewart <christian@paral.in>
1 parent 08381ef
.travis.yml
language: go
addons:
apt:
packages:
- snapd
go:
- "1.13.x"
- tip
matrix:
allow_failures:
- go: tip
install:
- sudo snap install snapcraft --classic
- go mod download
- go run cmd/download_ui/download_ui.go
cache:
directories:
- $GOPATH/pkg/mod
script:
- CGO_ENABLED=0 go build -o /tmp/cayley ./cmd/cayley
- go run github.com/gobuffalo/packr/v2/packr2
- git checkout -- ./packrd/dummy.go
- go get -u golang.org/x/lint/golint
- bash lint.sh
- go test -v ./...
after_success:
- test -n "$TRAVIS_TAG" && echo "$SNAP_TOKEN" > /tmp/snap.login && snapcraft login --with /tmp/snap.login
deploy:
- provider: script
skip_cleanup: true
script: git status && curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux && $TRAVIS_GO_VERSION =~ ^1\.13
Computing file changes ...