Commit 187493d
committed
feat(backend): add FastMCP framework support and handle missing package metadata
Add support for FastMCP Python framework in deployment validation and fix deployment failures for Python projects without pyproject.toml.
Changes:
- Add FastMCP package detection in runtime-detector.ts (requirements.txt and pyproject.toml)
- Generate fallback package name from repository name when metadata.name is undefined
- Handle Python projects with only requirements.txt (no pyproject.toml)
- Add logging when fallback package name generation is used1 parent 15c3d45 commit 187493d
File tree
2 files changed
+44
-7
lines changed- services/backend/src
- lib/deployment
- routes/teams/deploy
2 files changed
+44
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
140 | 148 | | |
141 | 149 | | |
142 | 150 | | |
143 | 151 | | |
144 | 152 | | |
145 | 153 | | |
146 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
147 | 162 | | |
148 | 163 | | |
149 | 164 | | |
| |||
164 | 179 | | |
165 | 180 | | |
166 | 181 | | |
167 | | - | |
| 182 | + | |
168 | 183 | | |
169 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
170 | 188 | | |
171 | 189 | | |
172 | | - | |
| 190 | + | |
| 191 | + | |
173 | 192 | | |
| 193 | + | |
174 | 194 | | |
175 | 195 | | |
176 | 196 | | |
177 | | - | |
| 197 | + | |
178 | 198 | | |
179 | 199 | | |
180 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
181 | 208 | | |
182 | 209 | | |
183 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
517 | 530 | | |
518 | 531 | | |
519 | 532 | | |
520 | 533 | | |
521 | 534 | | |
522 | 535 | | |
523 | 536 | | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | 537 | | |
528 | 538 | | |
529 | 539 | | |
| |||
0 commit comments