With Hasura v1.3.2 when I created a new action in Hasura Console, both metadata/actions.yaml and metadata/actions.graphql were updated automatically.
Now in v1.3.3 I create a new action in Hasura Console, it is created successfully, listed and available via Hasura Console, but metadata/actions.* files are not updated any more - why?
@denis-ryzhkov AFAIK there were no changes to that part of code in v1.3.3 . can you confirm you did open console using the hasura console command and observed this behavior?
@scriptonist yes, I double-checked, it is the same hasura console --skip-update-check I always used.
Also, from Chrome Inspect Network tab I see that when action is saved, http://localhost:8080/v1/query with {"type":"bulk","args":[{"type":"select","args":{"table":{"name":"hdb_action","schema":"hdb_catalog"},... responds with my new action name included in the list of actions. So hdb_action table was updated successfully, but metadata/actions.* files - were not. Both git diff and manual check prove this.
Should I try to downgrade to v1.3.2?
@denis-ryzhkov Thank you. I was trying to reproduce this but it seems to works ok for me.
We might need some help to understand if this is a bug, can you
@scriptonist
I have the same issue. Will try downgrading.
@denis-ryzhkov Thanks for the prompt reply, I'm trying to reproduce this but still hasn't succeeded.
Would be a great help, if you can
hasura console --skip-update-check --log-level debug@scriptonist alas, I'm AFK until tomorrow.
maybe @CoenNengerman could help to debug this?
I'm guessing this can happen because of https://github.com/hasura/graphql-engine/issues/6219.
would appreciate if someone can try the workaround mentioned there.
The current workaround is to
rm -rf ~/.hasuraand retry.
debug gives me this message: "DEBU cannot export actions from metadata: cannot fetch plugin manfiest cli-ext: plugin version is not available"
Thanks for the quick turnaround @CoenNengerman . That sort of confirms my doubt here https://github.com/hasura/graphql-engine/issues/6356#issuecomment-746424526, do you mind trying the workaround?
I will try the workaround.
The workaround works like a charm (for me). Thank you very much! BTW, I use graphql-engine.v1.3.2.
Seems like this was caused by ~#6356~ #6219
Seems like this was caused by #6356
@tirumaraiselvan Do you mean #6356 is caused by #6356 ? :)
Maybe you have meant some other issue?
If that related issue is fixed, please link it here,
else please reopen current issue #6356 until it gets fixed
I think that was a typo, the right issue is https://github.com/hasura/graphql-engine/issues/6219
Most helpful comment
The workaround works like a charm (for me). Thank you very much! BTW, I use graphql-engine.v1.3.2.