I were in my redstone ready flat world and made a redstone contraption that pushes me endless in the sky and I saw that the sky turns grey and there wasn't any rain and time was 0 ticks , it appears at y=500000 maybe below.
It looks like the sky is below me .. if you go even higher to round y=630000 than the sky turns black
A Minecraft world is at most 256 blocks high.