Skip to content

fix(cli): restore the space in the dynamic-hint failure message - #1977

Open
RaghavChamadiya wants to merge 1 commit into
mainfrom
fix/dynamic-hint-message-space
Open

fix(cli): restore the space in the dynamic-hint failure message#1977
RaghavChamadiya wants to merge 1 commit into
mainfrom
fix/dynamic-hint-message-space

Conversation

@RaghavChamadiya

Copy link
Copy Markdown
Member

The two adjacent string literals in _extract_dynamic_hints join with no separator, so the warning renders as:

Dynamic hint extraction failed: <exc>. Dynamic edgeswill be missing from this update.

packages/core/src/repowise/core/pipeline/incremental.py:217:

f"[yellow]Dynamic hint extraction failed: {exc}. Dynamic edges"
"will be missing from this update.[/yellow]"

The trailing space belongs on the first literal. One character.

Credit

Spotted by @Shivang9983 on #1772. I said on that thread I would take it rather than send them round again, so this is that.

Test Plan

  • Lint passes (ruff check .)
  • No test asserts on this string (grep over tests/ for the message finds nothing)
  • Web build passes - no frontend changes

The two adjacent string literals join with no separator, so the warning
renders as "Dynamic edgeswill be missing from this update." It has read
that way since #1772.

Reported on #1772 by @Shivang9983.
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.

1 participant