Repository navigation
Commit cb24680
committed
fix: treat Updating as in progress in core live-logging wait
Session.wait_for_endpoint(live_logging=True) stopped waiting as soon
as the endpoint left Creating, so an endpoint that was Updating was
reported as a failed deployment. Use the same in-progress statuses
as _deploy_done (Creating, Updating), which the sagemaker-serve
live-logging check already does.
Also state that the ResourceIterator repeated-token guard only
catches a NextToken that comes back unchanged, the same check
botocore paginators do.1 parent 02343e4 commit cb24680
3 files changed
Lines changed: 20 additions & 12 deletions
File tree
- sagemaker-core
- src/sagemaker/core
- helper
- utils
- tests/unit/helper
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3013 | 3013 | | |
3014 | 3014 | | |
3015 | 3015 | | |
3016 | | - | |
| 3016 | + | |
3017 | 3017 | | |
3018 | 3018 | | |
3019 | | - | |
| 3019 | + | |
| 3020 | + | |
3020 | 3021 | | |
3021 | 3022 | | |
3022 | 3023 | | |
| |||
3026 | 3027 | | |
3027 | 3028 | | |
3028 | 3029 | | |
| 3030 | + | |
3029 | 3031 | | |
3030 | 3032 | | |
3031 | 3033 | | |
| |||
3042 | 3044 | | |
3043 | 3045 | | |
3044 | 3046 | | |
3045 | | - | |
| 3047 | + | |
3046 | 3048 | | |
3047 | 3049 | | |
3048 | 3050 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
| 528 | + | |
528 | 529 | | |
529 | 530 | | |
530 | 531 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
440 | 445 | | |
441 | 446 | | |
442 | 447 | | |
| |||
0 commit comments