Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Ident #1113

Closed
JdumaresqSE opened this issue Feb 12, 2024 · 2 comments
Closed

Updating Ident #1113

JdumaresqSE opened this issue Feb 12, 2024 · 2 comments

Comments

@JdumaresqSE
Copy link

Hi,

I when I try to update the ident, I get this error:

docker compose run --rm --no-deps api monocle janitor update-idents --elastic elastic:9200 --config /etc/monocle/config.yaml
2024-02-12 20:56:28 INFO    Monocle.Backend.Janitor:49: Janitor will process changes and event {"workspace":"monocle","changes":469,"events":4007}
2024-02-12 20:56:28 INFO    Monocle.Backend.Janitor:51: Updated changes {"count":0}
monocle: esSearch: Original error was: Error in $.hits.hits[1901]['_source']: parsing Monocle.Backend.Janitor.EChangeEventAuthors(EChangeEventAuthors) failed, key "id" not found Error parse failure was: Error in $: key "status" not found, req: {"from":0,"query":{"terms":{"type":["ChangeCreatedEvent","ChangeMergedEvent","ChangeReviewedEvent","ChangeCommentedEvent, resp: {"_scroll_id":"FGluY2x1ZGVfY29udGV4dF91dWlkDXF1ZXJ5QW5kRmV0Y2gBFkRQNnVVMmg2UXhDd211SmVINWVua3cAAAAAAAAAXBY2b2huc0RqYlFUZ, tb: [("throwError",SrcLoc {srcLocPackage = "monocle-1.11.0-2ShLfwfFjyo1H0paLD2SMi", srcLocModule = "Monocle.Effects", srcLocFile = "src/Monocle/Effects.hs", srcLocStartLine = 403, srcLocStartCol = 15, srcLocEndLine = 403, srcLocEndCol = 27}),("runBHIOSafe",SrcLoc {srcLocPackage = "monocle-1.11.0-2ShLfwfFjyo1H0paLD2SMi", srcLocModule = "Monocle.Effects", srcLocFile = "src/Monocle/Effects.hs", srcLocStartLine = 437, srcLocStartCol = 3, srcLocEndLine = 437, srcLocEndCol = 14})]
CallStack (from HasCallStack):
  error, called at src/Relude/Debug.hs:289:11 in relude-1.2.0.0-Jiwa4gfuZvkK1snRof3V:Relude.Debug
  error, called at src/Monocle/Effects.hs:420:7 in monocle-1.11.0-2ShLfwfFjyo1H0paLD2SMi:Monocle.Effects

Here the config

workspaces:
  - name: monocle
    idents:
      - ident: "Jonathan Dumaresq"
        aliases:
          - "github.private.url/myusername"
    crawlers:
    ......

I'm currently using the docker-compose file from master

image: "quay.io/change-metrics/monocle:${COMPOSE_MONOCLE_VERSION:-1.11.0}"

Thanx

@TristanCacqueray
Copy link
Contributor

I think this was fixed in #1111 , could you please try using the master image?

@morucci perhaps we should do a patch release?

@JdumaresqSE
Copy link
Author

I confirm that using :latest image is working back.

Thanx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants