Skip to content

Tensorboard upstream conflicts#45

Merged
Demonstrandum merged 3 commits intomasterfrom
cursor/tensorboard-upstream-conflicts-a170
Feb 16, 2026
Merged

Tensorboard upstream conflicts#45
Demonstrandum merged 3 commits intomasterfrom
cursor/tensorboard-upstream-conflicts-a170

Conversation

@Demonstrandum
Copy link
Owner

Motivation for features / changes

This PR merges the latest upstream changes from tensorflow/tensorboard to keep our fork up-to-date. Specifically, it incorporates commit 3ad0c359 which resolves CI test failures related to the environment.

Technical description of changes

  • Merged upstream commit 3ad0c359 ("Resolve test failures for CI workflows for TensorBoard in new environment (Resolve test failures for CI workflows for TensorBoard in new environment tensorflow/tensorboard#7055)").
  • Resolved conflicts in tensorbored/BUILD:
    • Reordered load statements to match upstream's preferred order, while preserving tensorbored specific paths.
    • Updated the manager_test target to include the "exclusive" tag and "large" size from upstream, while maintaining the fork's tensorbored visibility path.
  • Auto-merged changes in:
    • .github/workflows/ci.yml: Added Chrome dependencies for frontend tests.
    • tensorbored/manager_test.py: Updated an expected debug call count.
    • tensorbored/program_test.py: Broadened exception handling in testSpecifiedHost.

Screenshots of UI changes (or N/A)

N/A

Detailed steps to verify changes work correctly (as executed by you)

  1. Verified successful merge of upstream commit 3ad0c359.
  2. Confirmed tensorbored/BUILD conflict resolution:
    • Load statements reordering applied correctly, tensorbored paths maintained.
    • manager_test target updated with "exclusive" tag and "large" size, tensorbored visibility path maintained.
  3. Verified auto-merged files (.github/workflows/ci.yml, tensorbored/manager_test.py, tensorbored/program_test.py) correctly integrated upstream changes while respecting fork's tensorbored paths.
  4. Confirmed no merge conflict markers remained in any files.

Alternate designs / implementations considered (or N/A)

N/A


Open in Cursor Open in Web

tomlar7 and others added 2 commits February 12, 2026 16:23
…ment (tensorflow#7055)

## Motivation for features / changes
The CI/CD pipeline was failing due to a combination of infrastructure
constraints and missing dependencies in the GitHub Actions environment.

Specifically, the failures were caused by:

Resource Exhaustion (OOM): Several profile plugin tests were crashing
the container when running in parallel.

Missing System Dependencies: Chrome Headless (used for Karma/Frontend
tests) failed to launch due to missing shared libraries (libgbm, libxss,
etc.) in the runner environment.

Network Configuration: The testSpecifiedHost test was failing because
the CI environment could not bind to the IPv6 address ::1, causing an
unhandled OSError.

This PR fixes these issues to restore a green build state and ensure
reliability across different runner environments.

## Technical description of changes
CI Workflow (.github/workflows/ci.yml):

Added a step to install libgbm-dev, libxss1, and libasound2. These are
required by modern versions of Chrome Headless to render correctly
during frontend tests.

Bazel Configuration (BUILD files):

Added tags = ["exclusive"] to memory-intensive tests in
//tensorboard/plugins/profile/... (pod_viewer_utils_test,
pod_viewer_common_test, and memory_usage_test). This prevents them from
running in parallel with other tests, avoiding container OOM crashes.

Fixed formatting (linting) issues to comply with buildifier.

Python Tests (tensorboard/program_test.py):

Updated testSpecifiedHost to catch OSError and SystemExit. This allows
the test to pass if Werkzeug fails to bind to a specific interface (like
IPv6) due to environment restrictions, provided that IPv4 binding works
or is handled gracefully.

Applied black formatting to satisfy the linter.
## Screenshots of UI changes (or N/A)

## Detailed steps to verify changes work correctly (as executed by you)

## Alternate designs / implementations considered (or N/A)
…orflow#7055)

Pull upstream commit 3ad0c35 which resolves CI test failures:
- Add Chrome dependencies (libgbm-dev, libxss1, libasound2) to CI workflow
- Add 'exclusive' tag to manager_test and program_test BUILD targets
- Fix manager_test expected debug call count (2 -> 3)
- Broaden exception handling in program_test for IPv6 bind failures

Conflicts resolved in tensorbored/BUILD:
- Kept fork's tensorbored/defs paths with upstream's load reordering
- Accepted upstream's 'exclusive' tag for manager_test with fork's visibility path

Co-authored-by: Samuel <samuel@knutsen.co>
@cursor
Copy link

cursor bot commented Feb 16, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@Demonstrandum Demonstrandum marked this pull request as ready for review February 16, 2026 11:09
The upstream commit changed the expected debug call count from 2 to 3,
but this is only correct when running as root (where os.chmod 0o000
doesn't prevent reading). On our ubuntu-22.04 GitHub-hosted runners
(non-root), the unreadable file correctly triggers EACCES which is
silently handled via 'continue' in manager.get_all(), producing only
2 debug log calls.

Co-authored-by: Samuel <samuel@knutsen.co>
@github-actions
Copy link

Preview Deployment

Status ✅ Running
Live Preview https://Demonstrandum-tensorbored-pr-45.hf.space
Space https://huggingface.co/spaces/Demonstrandum/tensorbored-pr-45
Details
  • Wheel: tensorbored_nightly-2.21.0a20260216-py3-none-any.whl
  • Commit: 8e3dd64
  • Build status: success

@Demonstrandum Demonstrandum merged commit f279905 into master Feb 16, 2026
13 checks passed
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.

3 participants