Skip to content

Support existing-user endurance tasks and complete-bundle export - #7

Draft
oznetmaster wants to merge 2 commits into
mainfrom
fix/endurance-existing-user-credentials
Draft

oznetmaster wants to merge 2 commits into
mainfrom
fix/endurance-existing-user-credentials

Conversation

@oznetmaster

@oznetmaster oznetmaster commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

The endurance scheduler previously supported only LocalService and a connection settings file, forcing existing-user workflows toward unnecessary credential duplication. Add an explicit current-user task option and pinned named-credential bindings so the existing account can use its encrypted processor credential store. Current-user tasks use a limited interactive token and hidden PowerShell; they require the user to remain logged in (locking is supported).

Preserve legacy configurations and LocalService registration. Keep credential bindings outside evidence/CLI directories, verify their hash before collection/export, and exclude the private file from retained snapshots. Clarify that reboot and interruption rehearsals are optional infrastructure validation, not extra Crestron submission criteria.

Completed-run export now accepts pinned CLI files up to 256 MiB, allowing the self-contained setup executable in complete released bundles. Retained evidence remains limited to 64 MiB per file; the 1 GiB inventory limit, complete pin checks, linked-file refusal and source/copy validation remain intact. Precreation failures emit structural diagnostics to stderr without echoing private exception messages or input values.

Validation: 45 synthetic scheduler scenarios, 24 snapshot scenarios and 2 mocked task-identity cases passed. Snapshot regressions include a 127,502,834-byte pinned tool, rejection of altered large tools and oversized tool/evidence files, and precreation diagnostics. No real task registration, credentials or hardware were used in these tests.

@oznetmaster oznetmaster changed the title Support existing-user endurance tasks with encrypted credentials Support existing-user endurance tasks and complete-bundle export Oct 11, 2026

This branch has not been deployed

No deployments
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