Skip to content

fix: show Workflow sync as gated in org settings#2166

Merged
daryllimyt merged 1 commit intomainfrom
fix/workflow-sync-gated-tab
Feb 24, 2026
Merged

fix: show Workflow sync as gated in org settings#2166
daryllimyt merged 1 commit intomainfrom
fix/workflow-sync-gated-tab

Conversation

@daryllimyt
Copy link
Contributor

@daryllimyt daryllimyt commented Feb 24, 2026

Summary

  • keep the Workflow sync item visible in the organization settings sidebar even when git_sync is disabled
  • show the lock badge for Workflow sync when git_sync is unavailable, matching gated behavior like Git repository
  • replace the /organization/vcs not-found redirect with an entitlement-gated empty state and upgrade CTA

Testing

  • pnpm -C frontend exec biome check src/app/organization/vcs/page.tsx src/components/sidebar/organization-sidebar.tsx
  • uv run ruff check .

Summary by cubic

Keep Workflow sync visible in org settings and gate the page with an upgrade CTA when git_sync is unavailable. Revert the builtin registry tarball build to use the venv-from-source path and add uncompressed size metrics.

  • Bug Fixes

    • Sidebar: Workflow sync is always shown; displays a lock when git_sync is disabled.
    • VCS page: Replaced not-found redirect with an entitlement-gated empty state and “Learn more” upgrade CTA.
  • Refactors

    • Builtin registry tarball now always builds from the source path venv; removed the installed-site-packages path, its config flag, and related tests.
    • Added uncompressed size calculation and logging; included in TarballVenvBuildResult and upload logs.

Written for commit 32bac65. Summary will update on new commits.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 542a6ea425

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@daryllimyt daryllimyt force-pushed the fix/workflow-sync-gated-tab branch from 542a6ea to fd1f998 Compare February 24, 2026 02:24
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 6 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="tracecat/registry/sync/tarball.py">

<violation number="1" location="tracecat/registry/sync/tarball.py:222">
P2: Offload the site-packages size calculation to a worker thread so the async event loop isn’t blocked by large filesystem traversal.

(Based on your team's feedback about offloading potentially slow synchronous file I/O in async functions.) [FEEDBACK_USED]</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@daryllimyt daryllimyt force-pushed the fix/workflow-sync-gated-tab branch from fd1f998 to 32bac65 Compare February 24, 2026 02:27
@daryllimyt
Copy link
Contributor Author

@cubic-dev-ai rereview

@daryllimyt
Copy link
Contributor Author

@codex rereview

@cubic-dev-ai
Copy link
Contributor

cubic-dev-ai bot commented Feb 24, 2026

@cubic-dev-ai rereview

@daryllimyt I have started the AI code review. It will take a few minutes to complete.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. What shall we delve into next?

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@daryllimyt daryllimyt merged commit d2d8790 into main Feb 24, 2026
11 checks passed
@daryllimyt daryllimyt deleted the fix/workflow-sync-gated-tab branch February 24, 2026 02:35
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