Some additional info to add to the puzzle:
Same Oak is still failing so I decided to bring up my (straight of the package) only virgin Oak. Let's call it OAK_SPARE.
Using the 1.0.5 repro and OakCLI 1.0.2 (latest with my debug output)
1. Did a factory restore on OAK_SPARE.
2. Did SoftAp update on OAK_SPARE.
3. Did a OTA upload of a simple blink test program to OAK_SPARE.
It flashed and ran as expected. All OK... OAK_SPARE working.
Then tried the same on the failing OAK. Let's call it OAK_FAIL.
Using the 1.0.5 repro and OakCLI 1.0.2 (latest with my debug output
1. Did a factory restore on OAK_FAIL.
2. Did SoftAp update on OAK_FAIL.
3. Did a OTA upload of a simple blink test program to OAK_FAIL.
OTA upload fails with the same debug output reported on previous fails...
OakCLI tool version 1.0.2
Using config file at: C:\Users\Stephen\AppData\Roaming\oak\config.json
Sending file to cloud, to flash OAK_GD (Device ID: d9Removed for public consumption)
Get ready to flash C:\Users\Stephen\AppData\Local\Temp\build8316527855105053068.tmpBlinkTestPgm.cpp.bin
null
{ ok: false,
code: 200,
errors:
[ { id: 'd9d9Removed for public consumption',
status: 'Update failed - File was too big!' } ] }
So as reported err = null, data reports file was too big!
So why the difference? BTW, both are claimed and seen on Particle. The only thing that is different (I think) is OAK_FAIL had been previously in service (at repo 1.0.0) and posting events to Particle before all this started. At some point OAK_FAIL events were no longer seen on Particle. For that and other reasons I decided to update OAK_FAIL which now cannot be OTA uploaded.