Commit 324595d
committed
fix(ci): Add dummy credentials and process health check for tracing
The performance trace was failing because HelloWorldBot requires GitHub
App credentials to start. Without valid config, the app crashes before
dotnet-trace can attach (exit code 3).
Changes:
- Create dummy GitHub App private key file
- Set environment variables (AppId, WebhookSecret, PrivateKeyPath)
- Add process health check before attempting trace collection
- Improve error messages for debugging
This allows the app to start successfully for performance profiling
without needing real GitHub App credentials.1 parent 2bdcaae commit 324595d
1 file changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
112 | 123 | | |
113 | 124 | | |
114 | 125 | | |
115 | 126 | | |
116 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
117 | 134 | | |
118 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
119 | 139 | | |
120 | 140 | | |
121 | 141 | | |
| |||
0 commit comments