[BUG] AppValidator._validateManifest has no validation branch for compose type #33
Labels
No labels
blocked:gate-plan
blocked:needs-decision
blocked:needs-human
blocked:no-changes
bug
feature-request
in-progress
ops-retry
ops-task
quickfix
security/high
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/node_hub#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In
launcher/validation/AppValidator.js, the_validateManifestmethod validates app manifests based onnormalizedType. However, there is no validation branch for the"compose"type. Whentype: composeis specified, the validation falls through all mode-specific checks (node, dockerfile, image, replit, static) and only applies generic id/port validation at lines 379-391.This means:
compose.proxyServiceare never validated_validateStructure, but confusing error messages can occurExpected
Add a compose validation branch that:
id,name,version,port(same as other modes)compose.proxyServiceif specifiedentry.command(since compose file defines services)Impact
File
launcher/validation/AppValidator.js:281-377- Missing compose case in the type switch