Skip to content

fix: Greptile's findings on #84 - #85

Merged
wiseodd merged 2 commits into
mainfrom
fix/header-greptile
Nov 28, 2026
Merged

wiseodd merged 2 commits into
mainfrom
fix/header-greptile

Conversation

@wiseodd

@wiseodd wiseodd commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Two findings from Greptile on #84, which merged before they were fixed.

  • Second --index-url. A file with two primary indexes (--index-url or -i) is now an error that names the file. uv allows one default index, and the header used to get two, so mogs edit and build failed in uv sync.
  • Lost tool settings. mogs owns the header now, so replace_header writes the whole header and keeps nothing of the old one. Before, it copied [tool.*] tables line by line and dropped forms it did not recognize, such as [tool."marimo".runtime]. mogs reads no setting from those tables.

@greptile-apps

greptile-apps Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · This PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge.

Summary

This PR rejects a second primary package index and replaces notebook headers without keeping old tool settings.

  • A requirements file can name only one primary package index.
  • Rewritten notebook headers now contain only mogs-generated settings.

Reviews (1) · Last reviewed commit: "fix(config): mogs writes the whole heade..." · Reviewed by Greptile

@wiseodd
wiseodd merged commit 1ea0e74 into main Nov 28, 2026
16 checks passed
@wiseodd
wiseodd deleted the fix/header-greptile branch November 28, 2026 13:55
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