Skip to content

fix(console): restore upstream usage graph - #326

Merged
nicko-ai merged 1 commit into
devfrom
codex/restore-upstream-console-usage-graph
Jul 11, 2026
Merged

fix(console): restore upstream usage graph#326
nicko-ai merged 1 commit into
devfrom
codex/restore-upstream-console-usage-graph

Conversation

@nicko-ai

Copy link
Copy Markdown
Collaborator

Issue for this PR

Fixes #325

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Restores the generic console usage graph to the exact OpenCode upstream implementation and removes the fork-only date-window helper and test.

The final follow-up commits in #270 added the separate DST query path after the reviewed upstream-restoration commit. That behavior is not part of the Agent Swarm fork contract. This change keeps the known DST limitation owned by upstream instead of maintaining a parallel fork fix.

How did you verify your code works?

  • Confirmed graph-section.tsx is byte-identical to both the fork merge anchor and current OpenCode dev.
  • Confirmed the removed helper and test are absent upstream.
  • bun install --frozen-lockfile
  • bun test test from packages/console/app: 5 passed
  • bun run typecheck from packages/console/app
  • git diff --check
  • Exact-head Codex review with the fork-ownership contract: no findings

Screenshots / recordings

Not applicable. This restores upstream query behavior and does not change the console layout.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@nicko-ai

Copy link
Copy Markdown
Collaborator Author

@codex review

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

Copy link
Copy Markdown

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: c1dd3d9dbf

ℹ️ 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".

- Resolve issue #325 by restoring the upstream and fork-anchor graph blob.
- Remove date-window helper and test drift introduced by PR #270.
@nicko-ai
nicko-ai force-pushed the codex/restore-upstream-console-usage-graph branch from c1dd3d9 to f453195 Compare July 10, 2026 23:17
@nicko-ai
nicko-ai merged commit eb95f3b into dev Jul 11, 2026
12 checks passed
@nicko-ai
nicko-ai deleted the codex/restore-upstream-console-usage-graph branch July 11, 2026 01:49
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.

Restore upstream console usage graph implementation

1 participant