Skip to content

Conversation

@PsicoThePato
Copy link
Contributor

No description provided.

saiintbrisson and others added 28 commits November 26, 2025 02:22
Refactored the main deployment workflow, now using a centralized config file and matrix strategies. The old workflow had individual jobs for each app with heavily repeated code. Any changes to the app list was fragile. It was necessary to configure the jobs individually, list dependencies and so on.

Added `.github/ci-config.json` to define all apps and their dependencies in one place. The workflow parses the list and sets up matrix jobs for each apps and its necessities.

Add a new app:

```json
"your-app": {
    "pr_preview": true,
    "preview_domain": "my-app.com"
}
```

When `preview_domain` is provided, PR previews will be created as `https://pr-<number>.<preview_domain>`. Or `https://pr-<num>.<app>.torus.network` otherwise.

You can also define dependencies; apps that have to be deployed together in order to work.

```json
"torus-governance": {
    "deploys": ["torus-cache", "torus-worker"],
    "pr_preview": true
}
```

Dependencies that are tagged with `pr_preview = true` will also have PR previews deployed.
This change adds a simple target duplicate finder. We work on top of slices
by comparing distances of the slice indices. This provides a reliable way to find
_almost_ identical predictions. This finds changes like missing dots and whitespaces
or broken target slices into more than one piece.

The threshold is high enough that any distances big enough to break context will fail to
be considered a duplicate and both entries will be analyzed.
…with relevant keys and indexes for predictions
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 1, 2025

Important

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.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@PsicoThePato PsicoThePato marked this pull request as ready for review December 1, 2025 23:49
@PsicoThePato PsicoThePato requested a review from a team as a code owner December 1, 2025 23:49
@PsicoThePato PsicoThePato merged commit e0aefb6 into main Dec 2, 2025
138 of 145 checks passed
rodrigooler pushed a commit that referenced this pull request Dec 8, 2025
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.

5 participants