Skip to content

hotfix: isolate metadata from project#64

Merged
marlonmarcello merged 4 commits into
mainfrom
hotfix/isolate-metadata-fetch
Jul 1, 2026
Merged

hotfix: isolate metadata from project#64
marlonmarcello merged 4 commits into
mainfrom
hotfix/isolate-metadata-fetch

Conversation

@marlonmarcello

Copy link
Copy Markdown
Member

Summary

Fixes an issue where a call to metadata that would error would stop the TUI from continuing.

Type of Change

  • Feature
  • Bug fix
  • Refactor
  • Documentation
  • Tooling / CI / release

Local Verification

  • bun run fmt
  • bun run lint
  • bun run check
  • bun run build

Release Impact

  • No release impact
  • Changeset added in .changeset/
  • Updates CLI behavior
  • Updates install/update behavior
  • Updates build/release packaging
  • Breaking change

@marlonmarcello marlonmarcello requested a review from a team as a code owner June 30, 2026 23:57
@changeset-bot

changeset-bot Bot commented Jun 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ee4cc3a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wtc Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hotfixes the Teamwork Project tab so that failures while loading Teamwork project metadata no longer abort loading the rest of the TUI context (notably pinned task lists).

Changes:

  • Wrap getTeamworkProjectMetadata() in a local try/catch so metadata failures don’t prevent pinned task list loading.
  • Aggregate status messages and set the final projectMessage once the rest of the context is loaded.
  • Add a patch changeset documenting the fix.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/tui/pages/teamwork/project-tab.tsx Isolates metadata loading errors from the rest of loadProjectContext() so the TUI continues even if metadata fails.
.changeset/funky-rooms-check.md Adds a patch changeset describing the metadata-error hotfix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/tui/pages/teamwork/project-tab.tsx
marlonmarcello and others added 2 commits June 30, 2026 17:03
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Marlon U. Marcello <marlon.marcello@gmail.com>
@marlonmarcello marlonmarcello merged commit e26774e into main Jul 1, 2026
5 checks passed
@marlonmarcello marlonmarcello deleted the hotfix/isolate-metadata-fetch branch July 1, 2026 00:07
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