Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix deploys #1369

Merged
merged 1 commit into from
Feb 22, 2024
Merged

fix deploys #1369

merged 1 commit into from
Feb 22, 2024

Conversation

dyc3
Copy link
Owner

@dyc3 dyc3 commented Feb 22, 2024

No description provided.

@dyc3 dyc3 enabled auto-merge (squash) February 22, 2024 13:39
Copy link
Contributor

coderabbitai bot commented Feb 22, 2024

Important

Auto Review Skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository.

To trigger a single review, invoke the @coderabbitai review command.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository from git and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

@dyc3
Copy link
Owner Author

dyc3 commented Feb 22, 2024

@coderabbitai create an issue for creating a lint to make sure the start scripts in package.json reference valid paths

Copy link
Contributor

coderabbitai bot commented Feb 22, 2024

@dyc3, the issue for creating a lint rule to ensure the start scripts in package.json reference valid paths has been successfully created. You can view and track the progress of this issue at this link.

Analysis chain

@dyc3, based on the package.json files found, there are multiple start scripts across different packages in the repository. Here's a summary of the start scripts that would need to be validated for correct paths:

  1. ott-server package:

    • "start": "node --experimental-specifier-resolution=node --loader ts-node/esm app.ts"
  2. opentogethertube root package:

    • "start": "yarn workspace ott-server start"
  3. Other packages like ott-client, ott-common, ott-vis, ott-vis-common, and ott-vis-datasource do not contain a start script but have various build, lint, and test scripts.

Given this information, I will proceed to create an issue on GitHub to request the creation of a lint rule ensuring these start scripts reference valid paths.

Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Locate and display the contents of the `package.json` file to understand the start scripts.
fd package.json --exec cat {}

Length of output: 12104



Script:

#!/bin/bash
# Create a GitHub issue for adding a lint rule to validate start script paths
gh issue create --title "Add lint rule for validating start script paths" --body "We need to ensure that the start scripts in `package.json` across various packages reference valid paths. This includes scripts in the `ott-server` and the root `package.json` files. Implementing a lint rule would help maintain the integrity of these scripts and prevent runtime errors due to incorrect paths.

Affected start scripts:
- `ott-server`: `node --experimental-specifier-resolution=node --loader ts-node/esm app.ts`
- Root package: `yarn workspace ott-server start`

This issue was requested in PR https://github.com/dyc3/opentogethertube/pull/1369." --repo dyc3/opentogethertube

Length of output: 1199

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7e09ad8) 54.1663% compared to head (ac7db95) 54.1663%.

Additional details and impacted files
@@             Coverage Diff             @@
##             master      #1369   +/-   ##
===========================================
  Coverage   54.1663%   54.1663%           
===========================================
  Files           158        158           
  Lines         24650      24650           
  Branches       1437       1437           
===========================================
  Hits          13352      13352           
  Misses        11241      11241           
  Partials         57         57           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

cypress bot commented Feb 22, 2024

Passing run #1066 ↗︎

0 73 1 0 Flakiness 0

Details:

Merge ac7db95 into 7e09ad8...
Project: OpenTogetherTube Commit: f53a9b89cd ℹ️
Status: Passed Duration: 03:44 💡
Started: Feb 22, 2024 1:41 PM Ended: Feb 22, 2024 1:45 PM

Review all test suite changes for PR #1369 ↗︎

@dyc3 dyc3 merged commit cfc0304 into master Feb 22, 2024
22 checks passed
@dyc3 dyc3 deleted the fix-deploy branch February 22, 2024 14:02
Copy link

cypress bot commented Feb 22, 2024

Passing run #1067 ↗︎

0 73 1 0 Flakiness 0

Details:

fix deploys (#1369)
Project: OpenTogetherTube Commit: cfc03045e7
Status: Passed Duration: 03:45 💡
Started: Feb 22, 2024 2:04 PM Ended: Feb 22, 2024 2:07 PM

Review all test suite changes for PR #1369 ↗︎

dyc3 added a commit that referenced this pull request Feb 22, 2024
dyc3 added a commit that referenced this pull request Feb 22, 2024
* Revert "fix `start-lean` (#1373)"

This reverts commit bab537a.

* Revert "switch `ott-server` to import `ott-common` instead of referencing the relative file path (#1356)"

This reverts commit dc22e4e.

* Revert "fix deploys (#1369)"

This reverts commit cfc0304.

* Revert "fix deploys for real (#1371)"

This reverts commit 4634b71.
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