[Deploy Fix] Self-healing failed: Missing module or file at runtime
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- Calme
- Stack technique
- azure, node.js, typescript
Piste de recherche
Start by tracing the deployment entry point that produces /app/migrate.cjs and checking how the @azure/identity dependency is included in the runtime image. Reproduce the migration or nightly deployment, then verify that the container starts successfully and the readiness, health, and home-page smoke tests pass.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
🚨 Self-Healing Deployment Failed — Needs Human Review
Environment: rg-acroyoga-nightly
Image Tag: sha-d84287a49f7adf0a5db5674476702ea1f9da9887
Iterations Attempted: 1
Error Category: dependency
Summary: Missing module or file at runtime
Rollback: ❌ No baseline revision available
Container Logs (last 50 lines)
igrate (/app/migrate.cjs:6597:3) {"}
{"TimeStamp": "2026-04-17T09:29:43.8852327+00:00", "Log": "F code: 'ERR_MODULE_NOT_FOUND'"}
{"TimeStamp": "2026-04-17T09:29:43.8852348+00:00", "Log": "F }"}
{"TimeStamp": "2026-04-17T09:29:43.8852369+00:00", "Log": "F"}
{"TimeStamp": "2026-04-17T09:29:43.885239+00:00", "Log": "F Node.js v22.22.1"}
{"TimeStamp": "2026-04-17T09:29:43.8905512+00:00", "Log": "F Migration attempt 2 failed, retrying in 15s..."}
{"TimeStamp": "2026-04-17T09:29:59.0768616+00:00", "Log": "F /app/node_modules/pg-pool/index.js:45"}
{"TimeStamp": "2026-04-17T09:29:59.0769045+00:00", "Log": "F Error.captureStackTrace(err)"}
{"TimeStamp": "2026-04-17T09:29:59.0769224+00:00", "Log": "F ^"}
{"TimeStamp": "2026-04-17T09:29:59.0769267+00:00", "Log": "F"}
{"TimeStamp": "2026-04-17T09:29:59.0769293+00:00", "Log": "F Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@azure/identity' imported from /app/migrate.cjs"}
{"TimeStamp": "2026-04-17T09:29:59.0769419+00:00", "Log": "F at /app/node_modules/pg-pool/index.js:45:11"}
{"TimeStamp": "2026-04-17T09:29:59.0769448+00:00", "Log": "F at process.processTicksAndRejections (node:internal/process/task_queues:103:5)"}
{"TimeStamp": "2026-04-17T09:29:59.0769462+00:00", "Log": "F at async migrate (/app/migrate.cjs:6597:3) {"}
{"TimeStamp": "2026-04-17T09:29:59.0769476+00:00", "Log": "F code: 'ERR_MODULE_NOT_FOUND'"}
{"TimeStamp": "2026-04-17T09:29:59.0769489+00:00", "Log": "F }"}
{"TimeStamp": "2026-04-17T09:29:59.07695+00:00", "Log": "F"}
{"TimeStamp": "2026-04-17T09:29:59.0769513+00:00", "Log": "F Node.js v22.22.1"}
{"TimeStamp": "2026-04-17T09:29:59.0806719+00:00", "Log": "F Migration attempt 3 failed, retrying in 15s..."}
{"TimeStamp": "2026-04-17T09:30:14.2051232+00:00", "Log": "F /app/node_modules/pg-pool/index.js:45"}
{"TimeStamp": "2026-04-17T09:30:14.2051645+00:00", "Log": "F Error.captureStackTrace(err)"}
{"TimeStamp": "2026-04-17T09:30:14.2052119+00:00", "Log": "F ^"}
{"TimeStamp": "2026-04-17T09:30:14.205233+00:00", "Log": "F"}
{"TimeStamp": "2026-04-17T09:30:14.2052362+00:00", "Log": "F Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@azure/identity' imported from /app/migrate.cjs"}
{"TimeStamp": "2026-04-17T09:30:14.2052385+00:00", "Log": "F at /app/node_modules/pg-pool/index.js:45:11"}
{"TimeStamp": "2026-04-17T09:30:14.2052407+00:00", "Log": "F at process.processTicksAndRejections (node:internal/process/task_queues:103:5)"}
{"TimeStamp": "2026-04-17T09:30:14.2052429+00:00", "Log": "F at async migrate (/app/migrate.cjs:6597:3) {"}
{"TimeStamp": "2026-04-17T09:30:14.2052449+00:00", "Log": "F code: 'ERR_MODULE_NOT_FOUND'"}
{"TimeStamp": "2026-04-17T09:30:14.2052517+00:00", "Log": "F }"}
{"TimeStamp": "2026-04-17T09:30:14.2052538+00:00", "Log": "F"}
{"TimeStamp": "2026-04-17T09:30:14.2052558+00:00", "Log": "F Node.js v22.22.1"}
{"TimeStamp": "2026-04-17T09:30:14.2089497+00:00", "Log": "F Migration attempt 4 failed, retrying in 15s..."}
System Logs (last 30 lines)
05-7fc8879554-df7zg", "Msg": "Started container 'web'", "Reason": "ContainerStarted", "EventSource": "ContainerAppController", "Count": 1}
{"TimeStamp": "2026-04-17 09:29:58.576670376 +0000 UTC", "Type": "Warning", "ContainerAppName": "ca-acroyoga-web-nightly", "RevisionName": "ca-acroyoga-web-nightly--0000005", "ReplicaName": "ca-acroyoga-web-nightly--0000005-7fc8879554-df7zg", "Msg": "Probe of StartUp failed with status code: ", "Reason": "ProbeFailed", "EventSource": "ContainerAppController", "Count": 1}
{"TimeStamp": "2026-04-17 09:30:03.6026215 +0000 UTC", "Type": "Warning", "ContainerAppName": "ca-acroyoga-web-nightly", "RevisionName": "ca-acroyoga-web-nightly--0000005", "ReplicaName": "ca-acroyoga-web-nightly--0000005-7fc8879554-df7zg", "Msg": "Probe of StartUp failed with status code: ", "Reason": "ProbeFailed", "EventSource": "ContainerAppController", "Count": 2}
{"TimeStamp": "2026-04-17 09:30:08.6006658 +0000 UTC", "Type": "Warning", "ContainerAppName": "ca-acroyoga-web-nightly", "RevisionName": "ca-acroyoga-web-nightly--0000005", "ReplicaName": "ca-acroyoga-web-nightly--0000005-7fc8879554-df7zg", "Msg": "Probe of StartUp failed with status code: ", "Reason": "ProbeFailed", "EventSource": "ContainerAppController", "Count": 3}
{"TimeStamp": "2026-04-17 09:30:13.6000843 +0000 UTC", "Type": "Warning", "ContainerAppName": "ca-acroyoga-web-nightly", "RevisionName": "ca-acroyoga-web-nightly--0000005", "ReplicaName": "ca-acroyoga-web-nightly--0000005-7fc8879554-df7zg", "Msg": "Probe of StartUp failed with status code: ", "Reason": "ProbeFailed", "EventSource": "ContainerAppController", "Count": 4}
{"TimeStamp": "2026-04-17 09:30:18.6043918 +0000 UTC", "Type": "Warning", "ContainerAppName": "ca-acroyoga-web-nightly", "RevisionName": "ca-acroyoga-web-nightly--0000005", "ReplicaName": "ca-acroyoga-web-nightly--0000005-7fc8879554-df7zg", "Msg": "Probe of StartUp failed with status code: ", "Reason": "ProbeFailed", "EventSource": "ContainerAppController", "Count": 5}
Smoke Test Results
- Readiness: ❌
- Health: ❌
- Home page: ❌
This issue was auto-created by the self-healing deploy pipeline after exhausting all retry attempts.
- Langage dominant
- TypeScript
- Étoiles
- 8
- Forks
- 4
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de microsoft/CommunityManagement-Sample-Spec-Kit
-
deploy-fix-auto needs-human-review
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
Toutes les issues de microsoft/CommunityManagement-Sample-Spec-Kit
Issues similaires
-
Remove unused dependenciesPeut-être pris @alastair-smith l’a pris aujourd’hui. Ouvertechore other
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
alastair-smith/card-games#384 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
code-yeongyu/senpi#5571 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
nexu-io/open-design#9262 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
friction
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
kentcdodds/kody#4753 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 62/100
lingdojo/kana-dojo#33508 · 1 commentaire · 5 réactions ·
Les mainteneurs répondent en général sous 1 jour