Skip to content

Keep malformed Node and Deno manifests from breaking the dashboard - #1

Merged
UmutAlisoglu merged 1 commit into
mainfrom
codex/review-manifest-detection
Oct 27, 2026
Merged

UmutAlisoglu merged 1 commit into
mainfrom
codex/review-manifest-detection

Conversation

@UmutAlisoglu

Copy link
Copy Markdown
Owner

A repository with package.json containing null crashes command detection with an AttributeError. Because dashboard state detects commands for each ready project, one malformed manifest can interrupt the library view.

Validate the package/config objects, script/task tables and Node entry-point types before reading them. Invalid metadata is skipped so detection can continue to another supported project type. Valid Deno task objects, including dependency-only tasks, remain supported.

Validation: the complete Python suite ran on Windows with Python 3.14: 99 tests, 98 passed and one platform-specific test skipped. All 31 detection tests passed again after adding coverage for Deno task objects. New regressions cover null/array/scalar manifests, malformed script/task tables and invalid entry-point types.

This is a source fix. The existing v0.2.1 Windows downloads are unchanged; a separately built release is needed to distribute the change.

@UmutAlisoglu
UmutAlisoglu merged commit 053f22a into main Oct 27, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant