Skip to content

Restore PulseStack Monorepo Integrity and Runtime Stability#54

Open
vraj826 wants to merge 1 commit into
NEXARA-oss:mainfrom
vraj826:fix/monorepo-runtime-hardening
Open

Restore PulseStack Monorepo Integrity and Runtime Stability#54
vraj826 wants to merge 1 commit into
NEXARA-oss:mainfrom
vraj826:fix/monorepo-runtime-hardening

Conversation

@vraj826
Copy link
Copy Markdown

@vraj826 vraj826 commented Jun 2, 2026

Pull Request Overview

This Pull Request restores monorepo stability and resolves critical merge-corruption issues affecting PulseStack’s runtime, contracts, frontend, and workspace tooling.

The implementation focuses on restoring deterministic runtime behavior, repairing broken pnpm/Turbo workflows, consolidating conflicting frontend implementations, and re-enabling reproducible lint/typecheck/test execution without introducing architectural redesigns or unnecessary abstractions.

Key goals achieved:

  • restored workspace integrity
  • removed merge-corrupted runtime/frontend code
  • fixed duplicated runtime execution paths
  • repaired shared contract inconsistencies
  • stabilized React operations console state handling
  • restored contributor-safe development workflows

The implementation intentionally remains surgical and PR-scoped to avoid broad system rewrites while preserving existing retry/tracing behavior.


Related Issues


Architecture and Implementation Details

  • Fixed duplicate kind schema definitions in packages/contracts/src/index.ts
  • Removed duplicated execution logic and repaired corrupted method signatures in packages/core/src/lib/runtime.ts
  • Fixed malformed test structure and consolidated imports in packages/core/src/lib/runtime.test.ts
  • Merged conflicting App.tsx implementations into a single stable runtime console UI
  • Added loading, error, empty, and websocket reconnect states to the operations dashboard
  • Removed redundant root package-lock.json to preserve pnpm workspace consistency
  • Restored compatibility with lint/typecheck/test execution workflows
  • Preserved existing runtime retry/tracing behavior while repairing merge corruption

Breaking Changes

  • Yes (Describe below)
  • No

This PR does not intentionally introduce API, telemetry, or configuration breaking changes.


Testing Methodology

  1. Executed:

    • pnpm install
    • pnpm typecheck
    • pnpm lint
    • pnpm test
  2. Manually validated:

    • operations dashboard rendering
    • replay UI functionality
    • websocket connection state handling
    • loading/error/empty state rendering
    • runtime execution flow stability
  3. Verified:

    • removal of merge artifacts
    • deterministic runtime execution paths
    • successful workspace dependency resolution

Performance & Observability Impact

This PR primarily improves runtime stability and observability reliability rather than introducing new telemetry features.

Impact includes:

  • improved deterministic workflow execution
  • safer runtime retry handling
  • stabilized distributed observability pipelines
  • improved websocket lifecycle handling
  • reduced contributor onboarding friction
  • restored reproducible CI/CD behavior

No significant memory overhead or telemetry schema changes were introduced.


Contributor Checklist

  • I have read and adhered to the PulseStack Contributing Guidelines.
  • I have successfully executed the local test suite without errors.
  • I have updated the corresponding documentation to reflect these changes.
  • I have added adequate test coverage for my implementation.
  • I have verified that my code aligns with the repository's formatting and linting standards.

@vraj826
Copy link
Copy Markdown
Author

vraj826 commented Jun 3, 2026

Maintainers @NEXARA-oss , can you please review this!

@NEXARA-oss
Copy link
Copy Markdown
Owner

hey @vraj826 could u please fix the conflicts

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.

[Feature]: Restore PulseStack Monorepo Integrity and Runtime Stability for Production-Safe AI Observability

2 participants