Skip to content
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

[air/output] Only wrap header columns in rich #36072

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

krfricke
Copy link
Contributor

@krfricke krfricke commented Jun 5, 2023

Why are these changes needed?

In the Ray AIR status table, we currently always try to wrap header columns that are too long using a newline character. However, in the regular console output, this breaks the design. The wraps only work in the rich reporter.

This PR updates the output module to not wrap headers columns per default (cut off instead).

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Kai Fricke <kai@anyscale.com>
Copy link
Contributor

@ArturNiederfahrenhorst ArturNiederfahrenhorst left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! I didn't check it and there is no test in place obviously.

@krfricke krfricke merged commit 7b6028d into ray-project:master Jun 6, 2023
@krfricke krfricke deleted the air/output-nowrap branch June 6, 2023 08:48
krfricke added a commit to krfricke/ray that referenced this pull request Jun 20, 2023
In the Ray AIR status table, we currently always try to wrap header columns that are too long using a newline character. However, in the regular console output, this breaks the design. The wraps only work in the rich reporter.

This PR updates the output module to not wrap headers columns per default (cut off instead).

Signed-off-by: Kai Fricke <kai@anyscale.com>
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
In the Ray AIR status table, we currently always try to wrap header columns that are too long using a newline character. However, in the regular console output, this breaks the design. The wraps only work in the rich reporter.

This PR updates the output module to not wrap headers columns per default (cut off instead).

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
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