Skip to content

fix(postgres): widen git_function_blame.symbol_id to Text - #2169

Open
Aman-goel-04 wants to merge 1 commit into
repowise-dev:mainfrom
Aman-goel-04:fix/git-function-blame-symbol-id-2162
Open

fix(postgres): widen git_function_blame.symbol_id to Text#2169
Aman-goel-04 wants to merge 1 commit into
repowise-dev:mainfrom
Aman-goel-04:fix/git-function-blame-symbol-id-2162

Conversation

@Aman-goel-04

Copy link
Copy Markdown
Contributor

Summary

Related Issues

Fixes #2162

Test Plan

  • Tests pass (pytest)
  • Lint passes (ruff check .)
  • Web build passes (npm run build) (no frontend changes)

What was done

  • Reproduced the original error locally against Postgres, confirmed the fix resolves it
  • alembic upgrade head / downgrade -1 verified round-trip on a stamped pre-fix schema
  • Added an integration test (tests/integration/test_postgres_git_function_blame_symbol_id.py), confirmed it fails without the fix and passes with it

Checklist

  • My code follows the project's code style
  • I have added tests for new functionality
  • All existing tests still pass
  • I have updated documentation if needed

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.

[Bug] Postgres schema. 512 chars are not sufficient for git_function_blame.symbol_id column

1 participant