Commit 69ca5fa
fix(build): validate Discord package after backend dependency install (#128)
* chore(version): sync desktop version to v4.23.0-beta.1
* fix: add backend startup heartbeat liveness probe (#114)
* fix: add backend startup heartbeat liveness probe
* fix: tighten startup heartbeat validation
* refactor: centralize startup heartbeat metadata
* fix: surface heartbeat invalidation sooner
* fix: harden startup heartbeat parsing
* fix: warn on stop-time heartbeat failures
* refactor: simplify startup heartbeat control flow
* refactor: flatten readiness heartbeat helpers
* refactor: clarify heartbeat helper responsibilities
* docs: clarify startup heartbeat path coupling
* fix: harden startup heartbeat coordination
* fix: make startup heartbeat checks monotonic
* fix: clean up heartbeat test and exit handling
* chore(version): sync desktop version to v4.23.1
* fix(ci): prepare macOS resources before optional signing (#119)
* fix(ci): prepare macOS resources before optional signing
* test(ci): parse macOS workflow steps structurally
* test(ci): parse workflow YAML structurally
* test(ci): relax workflow assertions and install test deps
* test(ci): share workflow test helpers
* test(ci): harden script workflow dependency setup
* fix(ci): setup pnpm before enabling pnpm cache
* test(ci): relax workflow step assertions
* [codex] default desktop chat transport to websocket (#121)
* chore(version): sync desktop version to v4.23.0-beta.1
* fix: add backend startup heartbeat liveness probe (#114)
* fix: add backend startup heartbeat liveness probe
* fix: tighten startup heartbeat validation
* refactor: centralize startup heartbeat metadata
* fix: surface heartbeat invalidation sooner
* fix: harden startup heartbeat parsing
* fix: warn on stop-time heartbeat failures
* refactor: simplify startup heartbeat control flow
* refactor: flatten readiness heartbeat helpers
* refactor: clarify heartbeat helper responsibilities
* docs: clarify startup heartbeat path coupling
* fix: harden startup heartbeat coordination
* fix: make startup heartbeat checks monotonic
* fix: clean up heartbeat test and exit handling
* fix: default desktop chat transport to websocket
* fix: respect existing desktop transport preference
* fix: harden desktop transport bootstrap
* fix: centralize desktop transport contract
* fix: harden desktop bridge transport injection
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* chore(version): sync desktop version to v4.23.2
* chore(version): sync desktop version to v4.23.3
* chore(version): sync desktop version to v4.23.5
* chore(version): sync desktop version to v4.23.6
* chore: ignore local task plans
* fix(build): validate Discord package after backend dependency install
The PyPI 'discord' stub package (v0.0.2) shadows the real 'py-cord'
package because both occupy the 'discord' namespace. When the stub is
installed by mistake (e.g. cache pollution or dependency resolution
glitch), the Discord adapter fails at runtime with:
module 'discord' has no attribute 'Bot'
This change adds a post-install validation step that imports 'discord'
and asserts 'discord.Bot' exists. If the stub is present, the build
fails early with a clear error message instead of producing a broken
runtime bundle.
Closes #8016
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 9f29fc5 commit 69ca5fa
2 files changed
Lines changed: 108 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
584 | 585 | | |
585 | 586 | | |
586 | 587 | | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
587 | 669 | | |
588 | 670 | | |
589 | 671 | | |
| |||
615 | 697 | | |
616 | 698 | | |
617 | 699 | | |
| 700 | + | |
618 | 701 | | |
619 | 702 | | |
620 | 703 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments