Skip to content

fix(agent-tars): Could not resolve "./platform/FSPanel" in linux build #472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

ulivz
Copy link
Member

@ulivz ulivz commented Apr 7, 2025

Summary

macOS file systems are case-insensitive by default, while Linux file systems are usually case-sensitive. If references to file names in the code or during the build process are inconsistent with the actual file case, this may cause build errors on Linux, but may not be apparent on macOS.

ref: https://github.com/bytedance/UI-TARS-desktop/actions/runs/14304629225/job/40085662954

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

Copy link

codecov bot commented Apr 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 4.37%. Comparing base (322cf1b) to head (4a6faea).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #472   +/-   ##
=====================================
  Coverage   4.37%   4.37%           
=====================================
  Files        274     274           
  Lines       8488    8488           
  Branches    1585    1585           
=====================================
  Hits         371     371           
  Misses      8076    8076           
  Partials      41      41           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ulivz
Copy link
Member Author

ulivz commented Apr 7, 2025

@ycjcl868 @helio9cn Please take a glance

@ycjcl868
Copy link
Collaborator

ycjcl868 commented Apr 7, 2025

Is there a way to intercept this with eslint rules?

@ycjcl868 ycjcl868 merged commit b9e282e into main Apr 7, 2025
8 checks passed
@ycjcl868 ycjcl868 deleted the fix/linux-build branch April 7, 2025 23:41
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