Skip to content

Promote staging to main#59

Merged
BWJ2310 merged 3 commits intomainfrom
staging
Apr 19, 2026
Merged

Promote staging to main#59
BWJ2310 merged 3 commits intomainfrom
staging

Conversation

@BWJ2310
Copy link
Copy Markdown
Collaborator

@BWJ2310 BWJ2310 commented Apr 19, 2026

Summary

Why

staging currently contains the release candidate changes that are not yet on main. This PR promotes the vetted branch state to production and keeps review focused on the exact staged rollup rather than reopening the individual feature branches.

Affected Areas

  • apps/tradinggoose
  • apps/docs
  • packages/*
  • Workflows / execution
  • Realtime / sockets
  • Market data / charting
  • Dev tooling / CI / infra
  • Documentation only
  • Other: admin, billing, auth/SSO, import/export, copilot

Issue Links( if any )

Validation

git fetch origin main staging
git log --oneline origin/main..staging
git diff --stat origin/main...staging

Risk / Rollout Notes

  • This is a multi-area release promotion. Main rollout considerations are the combined migrations, admin/billing/auth changes, and the Copilot/workflow plumbing updates already reviewed in the child PRs.
  • Database migrations 0018 through 0026 are present on staging; deployment must apply them before serving new code.
  • Billing, Stripe, OAuth/SSO, and provider configuration changes should be confirmed in the target environment before merge or deploy.
  • Backout: revert the merge commit or roll back to the previous main deployment if a regression appears after promotion.

Config / Data Changes

  • Env vars added or changed: apps/tradinggoose/.env.example changed on staging; confirm release env matches the new billing, provider, and auth expectations.
  • Database schema or migration impact: packages/db/migrations/0018 through 0026 are included on the branch.
  • External services or provider behavior changed: admin-managed integrations and SSO, billing and Stripe behavior, and Copilot/provider routing changed across the rolled-up PRs.

Screenshots / Video

Checklist

  • I kept the change focused and reviewed my own diff
  • I validated the change locally and documented the results above
  • I updated docs, examples, or copy if behavior/user-facing flows changed
  • I called out any env, schema, provider, or rollout impact
  • I did not include secrets, tokens, or private credentials in this PR

agualdron and others added 3 commits April 10, 2026 22:44
* feat(import-export): add unified TradingGoose resource import/export flows

Introduce a shared TradingGoose export envelope and update skills, workflows, indicators, custom tools, and watchlists to use the unified import/export contract.

Workflow exports now embed referenced skills in the root *skills* array while preserving *state.blocks*, and workflow imports import embedded skills first before relinking block skill references by resolved imported names.

Update the API routes, hooks, and dashboard widgets to consume the new format, and add regression coverage for mixed imports, export generation, and ordered skill import metadata.

* fix(workflow-diff): use *conversationId* for checkpoint creation

The rebase changed the copilot chat identifier from *currentChat.id* to *currentChat.conversationId*.
This update keeps the workflow diff checkpoint flow aligned with the current store shape so it can still detect the active chat and send the correct *chatId* when creating checkpoints.

* refactor(workflows): remove workflow-diff and use Yjs snapshots for export

Read workflow JSON export state from the live *Yjs* snapshot so exports match
the current editor state and the unified import/export envelope.

Remove the reintroduced *workflow-diff* layer, drop the stale diff-reset calls
from the workflow create menu, and update the workflow/widget docs and list
pages for indicators, skills, custom tools, and watchlists.

Tests: Yjs regression suite, import/export regression suite, and *bun run type-check*
…egration management (#57)

* feat: update blog metadata and structured data for improved SEO and user experience

* feat: specify target branch for release creation in workflow

* feat: update release workflow to generate notes from merged PRs since last release

* fix(release): use individual PR commits for release notes

Release notes now list every commit within each PR merged into staging,
instead of only showing squash-merged PR titles. Uses gh pr view to
fetch commit history per PR filtered by merge date since last release.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(release): add contributors section to release notes

Lists unique contributors from PRs merged into staging since the
last release.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat: enhance release workflow to categorize and deduplicate commits in release notes

* feat(oauth): support system-managed OAuth credentials

Co-authored-by: Codex <codex@openai.com>

* feat(admin): add system integration admin console

Co-authored-by: Codex <codex@openai.com>

* feat(workspace): move navbar into workspace layout

Co-authored-by: Codex <codex@openai.com>

* refactor(trading): remove Robinhood brokerage support

Co-authored-by: Codex <codex@openai.com>

* refactor(workflows): align trigger metadata with webhook providers

Co-authored-by: Codex <codex@openai.com>

* refactor(ai): centralize provider catalog

Co-authored-by: Codex <codex@openai.com>

* chore(ci): simplify release tag title

Co-authored-by: Codex <codex@openai.com>

* fix(ui): enable horizontal table scrolling

Co-authored-by: Codex <codex@openai.com>

* build(db): add registration and waitlist schema

Co-authored-by: Codex <codex@openai.com>

* feat(registration): add waitlist signup and approval flow

Co-authored-by: Codex <codex@openai.com>

* style(admin): reformat integration secret editor

Co-authored-by: Codex <codex@openai.com>

* ci(images): add image publishing workflow

Co-authored-by: Codex <codex@openai.com>

* feat(billing): add tiered billing and admin surfaces

Co-authored-by: Codex <codex@openai.com>

* feat(changelog): add detailed changelog for user waitlist feature and related changes

* feat(auth): hydrate system-managed social OAuth credentials

Co-authored-by: Codex <codex@openai.com>

* fix(billing): keep personal billing context isolated

Co-authored-by: Codex <codex@openai.com>

* fix(function-execute): require workflow access before execution

Co-authored-by: Codex <codex@openai.com>

* fix(workspaces): surface billing owner validation errors

Co-authored-by: Codex <codex@openai.com>

* refactor(executor): share context extension types

Co-authored-by: Codex <codex@openai.com>

* feat(registration): use live registration mode across auth and landing

Co-authored-by: Codex <codex@openai.com>

* refactor(branding): derive footer copy from brand config

Co-authored-by: Codex <codex@openai.com>

* feat(admin): scope SSO and admin routes to organizations

Co-authored-by: Codex <codex@openai.com>

* refactor(sso): remove legacy SSO query hook and scripts

Co-authored-by: Codex <codex@openai.com>

* build(env): remove obsolete SSO env schema

Co-authored-by: Codex <codex@openai.com>

* test(sso): update org-scoped SSO and admin coverage

Co-authored-by: Codex <codex@openai.com>

* docs(changelog): update April 11 branch notes

Co-authored-by: Codex <codex@openai.com>

* docs(changelog): update April 11 branch notes

Co-authored-by: Codex <codex@openai.com>

* feat(billing): gate billing on runtime enablement

Co-authored-by: Codex <codex@openai.com>

* feat(execution): gate billing work on runtime enablement

Co-authored-by: Codex <codex@openai.com>

* feat(admin-billing): enforce default tier rules

Co-authored-by: Codex <codex@openai.com>

* feat(auth): require issuer discovery for SSO registration

Co-authored-by: Codex <codex@openai.com>

* chore(changelog): remove April 11, 2026 changelog entry

* feat(changelog): add detailed entry for admin panel enhancements

* refactor: update admin integrations and system settings to handle secret presence flags

- Removed direct exposure of secret values in AdminIntegrations and AdminSystemSettings components.
- Introduced hasValue flag for secrets to indicate if a value is stored.
- Updated integration and system settings routes to manage secret presence without revealing actual values.
- Adjusted tests to reflect changes in secret handling and ensure proper validation of secret presence.
- Enhanced error handling and logging for better debugging and user feedback.

* feat(admin-registration): enhance error handling and logging for unauthorized access and update failures

* feat(admin-registration): implement bootstrap admin claim logic and enhance access control

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Codex <codex@openai.com>
)

* feat(copilot): migrate to document-based tool contracts

Co-authored-by: Codex <codex@openai.com>

* refactor(platform): centralize runtime services and normalization

Add DB-backed system service and system-settings management, move runtime consumers onto shared resolvers, and split server-only helpers into dedicated modules.

Also normalize listing/trading symbol handling, tighten associated runtime fallbacks, and update the related tests, migrations, and config files.

Co-authored-by: Codex <codex@openai.com>

* docs(tradinggoose): expand env example

Co-authored-by: Codex <codex@openai.com>

* feat(tradinggoose): refresh branding assets

Co-authored-by: Codex <codex@openai.com>

* refactor(settings): centralize trigger execution and remove legacy training settings

Co-authored-by: Codex <codex@openai.com>

* refactor(admin-services): streamline secret editing and required-field metadata

Co-authored-by: Codex <codex@openai.com>

* refactor(landing): centralize public navigation

Use the shared PublicNav wrapper on public pages and align registration CTA labels with the disabled state.

Co-authored-by: Codex <codex@openai.com>

* fix(workflow-preview): allow preview nodes to drag locally

Switch the preview canvas to default ReactFlow state and remove the forced non-draggable node flag from the adapter.

Co-authored-by: Codex <codex@openai.com>

* refactor(workflow-editor): share trigger editing layout

Extract the trigger row/state logic into a reusable helper and have the panel and deploy modal consume the same layout and visibility rules.

Co-authored-by: Codex <codex@openai.com>

* test(workflow-preview): cover trigger preview rendering

Add a preview-node regression test for mixed trigger fields and values in read-only preview mode.

Co-authored-by: Codex <codex@openai.com>

* feat(auth): add auth error recovery flow

Capture persistable Better Auth errors, redirect them through a dedicated API endpoint, and render a user-facing recovery page.

Co-authored-by: Codex <codex@openai.com>

* test(auth): cover auth error copy

Add regression tests for auth error code normalization, message extraction, and content selection.

Co-authored-by: Codex <codex@openai.com>

* refactor(auth): simplify auth error flow

Co-authored-by: Codex <codex@openai.com>

* refactor(studio): consolidate access, copilot, and workflow plumbing

Update billing, organization access, CSP, and workflow state handling alongside the copilot tool/runtime refactor.

Co-authored-by: Codex <codex@openai.com>

* feat(tradinggoose): modernize copilot, workflow, and access flows

Co-authored-by: Codex <codex@openai.com>

* build(billing): move Stripe config to deployment env

Co-authored-by: Codex <codex@openai.com>

* feat(organization): gate team access by billing state

Co-authored-by: Codex <codex@openai.com>

* refactor(copilot): centralize server tool contracts

Co-authored-by: Codex <codex@openai.com>

* fix(copilot): stabilize chat history and tool approvals

Co-authored-by: Codex <codex@openai.com>

* feat(workflows): preserve Mermaid direction in live state

Co-authored-by: Codex <codex@openai.com>

* test(workflows): cover live state apply route

Co-authored-by: Codex <codex@openai.com>

* fix(security): tighten CSP and rate-limit failures

Co-authored-by: Codex <codex@openai.com>

* fix(ui): polish auth hydration and block branding

Co-authored-by: Codex <codex@openai.com>

* docs(licenses): refresh upstream attribution

Co-authored-by: Codex <codex@openai.com>

* fix(organization): keep SSO access when billing is disabled

Co-authored-by: Codex <codex@openai.com>

* feat(copilot): unify usage billing and reservations

Co-authored-by: Codex <codex@openai.com>

* fix(copilot-widget): keep chat mounted during workflow hydration

Co-authored-by: Codex <codex@openai.com>

* fix(data-chart): preserve listing query while syncing selection

Co-authored-by: Codex <codex@openai.com>

* feat(copilot): rework streaming persistence and tool routing

Co-authored-by: Codex <codex@openai.com>

* build(deps): refresh workspace dependency versions

Co-authored-by: Codex <codex@openai.com>

* style(auth): soften social login hover state

Co-authored-by: Codex <codex@openai.com>

* fix(data-chart): prevent dropdown update loop

Co-authored-by: Codex <codex@openai.com>

* test(copilot): enhance reservation release tests and add new scenarios

* refactor(watchlist): share header renderer

Co-authored-by: Codex <codex@openai.com>

* feat(copilot): require explicit tool targets

Co-authored-by: Codex <codex@openai.com>

* refactor: extract shared workflow row builder

* refactor: update vitest configuration to use ES modules and add support for .mts files

* refactor(config): remove legacy runtime customization hooks

Co-authored-by: Codex <codex@openai.com>

* refactor(copilot): propagate workflow context and review targets

Co-authored-by: Codex <codex@openai.com>

* fix(billing): count pending invitations toward seat limits

Co-authored-by: Codex <codex@openai.com>

* fix(admin): accept partial system settings updates

Co-authored-by: Codex <codex@openai.com>

* feat(billing): add tier execution limit controls

Co-authored-by: Codex <codex@openai.com>

* feat(execution): queue background work through pending executions

Co-authored-by: Codex <codex@openai.com>

* feat(market): require explicit provider auth for quote snapshots

Co-authored-by: Codex <codex@openai.com>

* refactor(ai): simplify hosted model list

Co-authored-by: Codex <codex@openai.com>

* feat(workflows): centralize execution runner

Co-authored-by: Codex <codex@openai.com>

* fix(workflows): reject non-canonical workflow sub-blocks

Co-authored-by: Codex <codex@openai.com>

* fix(copilot): bypass usage billing when disabled

Co-authored-by: Codex <codex@openai.com>

* feat(copilot): stabilize tool state transitions

Co-authored-by: Codex <codex@openai.com>

* feat(copilot): persist reasoning blocks in chat streams

Co-authored-by: Codex <codex@openai.com>

* feat(execution): centralize queued workflow dispatch

Co-authored-by: Codex <codex@openai.com>

* refactor(execution): remove async execution surfaces

Co-authored-by: Codex <codex@openai.com>

* refactor(app): inline public env snapshot

Co-authored-by: Codex <codex@openai.com>

* refactor(landing): extract careers form and use direct layouts

Co-authored-by: Codex <codex@openai.com>

* fix(api): guard missing chat workspace id

Co-authored-by: Codex <codex@openai.com>

* fix(dashboard): ignore stale layout switch responses

Co-authored-by: Codex <codex@openai.com>

* refactor(copilot): improve options rendering logic and enhance auto-scroll behavior

* refactor(copilot): update chat handling to be workspace-scoped and improve related tests

* refactor(execution): enhance pending execution handling with local drain support and improved logging

* refactor(copilot): remove feedback endpoint

Co-authored-by: Codex <codex@openai.com>

* fix(workflows): reuse normalized persisted state

Co-authored-by: Codex <codex@openai.com>

* refactor(copilot): simplify tool metadata and block catalog

Co-authored-by: Codex <codex@openai.com>

* refactor(copilot): split streaming store and message UI

Co-authored-by: Codex <codex@openai.com>

* fix(system-integrations): handle missing lineage roots

Co-authored-by: Codex <codex@openai.com>

* build(tradinggoose): simplify dev script

Co-authored-by: Codex <codex@openai.com>

* chore(providers): stop fetching vllm models

Co-authored-by: Codex <codex@openai.com>

* refactor(redis): implement lock renewal mechanism and improve connection handling

* refactor(workflow): update authentication checks and enhance child execution handling

* feat(copilot): scope generic chat history by workspace

Co-authored-by: Codex <codex@openai.com>

* feat(copilot): add indicator catalog and entity mutation tools

Co-authored-by: Codex <codex@openai.com>

* fix(auth): preserve protected-route callback redirects

Co-authored-by: Codex <codex@openai.com>

* feat(copilot): add workflow block editing and Monaco diagnostics

Co-authored-by: Codex <codex@openai.com>

* build(db): refresh migration 0026 metadata

Co-authored-by: Codex <codex@openai.com>

* refactor(copilot): improve chat persistence handling and update test cases

---------

Co-authored-by: Codex <codex@openai.com>
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 19, 2026

Too many files changed for review. (1028 files found, 500 file limit)

@BWJ2310 BWJ2310 changed the title [codex] Promote staging to main Promote staging to main Apr 19, 2026
Client = TradingGooseClient
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
studio Ready Ready Preview, Comment Apr 19, 2026 5:52pm

Request Review

@BWJ2310 BWJ2310 marked this pull request as ready for review April 19, 2026 17:52
@BWJ2310 BWJ2310 merged commit 7159d4d into main Apr 19, 2026
4 checks passed
@BWJ2310 BWJ2310 deleted the staging branch April 19, 2026 17:56
BWJ2310 added a commit that referenced this pull request Apr 19, 2026
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.

2 participants