If this is a bug, lmk, and I'll try to github it (please link me; I play on steamdeck but I'll try my best). It may be intended behaviour:
I get a CS quest for Cocoa.
Before hitting "Next Turn", I always finish the worker action if it's got 1 turn left so I can better allocate my tiles, sell to the best civ, etc. So I forced the worker to finish my cocoa plantation. If I sell that turn (before hitting next turn), I don't get the CS quest reward (even the next turn). But if I don't sell immediately, I do. I've tried it both ways on the same turn, on the same game.
I get a CS quest for Cocoa.
Before hitting "Next Turn", I always finish the worker action if it's got 1 turn left so I can better allocate my tiles, sell to the best civ, etc. So I forced the worker to finish my cocoa plantation. If I sell that turn (before hitting next turn), I don't get the CS quest reward (even the next turn). But if I don't sell immediately, I do. I've tried it both ways on the same turn, on the same game.