Skip to content

Add flattening support to artifact_manager#3315

Merged
marbre merged 2 commits intomainfrom
users/marbre/artifact-manager-flatten
Feb 11, 2026
Merged

Add flattening support to artifact_manager#3315
marbre merged 2 commits intomainfrom
users/marbre/artifact-manager-flatten

Conversation

@marbre
Copy link
Member

@marbre marbre commented Feb 9, 2026

The patch for testing was developed with assistance from Cursor AI.

The patch for testing was developed with assistance from Cursor AI.
Comment on lines 227 to 239
log(f" ++ Flattening {archive_path.name}")
flattener = ArtifactPopulator(
log(f" ++ Flattening {archive_path.name} to {output_dir}")
populator = ArtifactPopulator(
output_path=output_dir, verbose=False, flatten=True
)
flattener(archive_path)
populator(archive_path)
Copy link
Member

Choose a reason for hiding this comment

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

I could see keeping the variable name flattener here. It's a populator with flatten=True and it's only used in this narrow scope.

Could also use a more verbose name like flattening_populator :P

Copy link
Member Author

Choose a reason for hiding this comment

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

No strong feelings from my side just felt more consistent the proposed way. Switched back to what it was :)

@marbre marbre marked this pull request as ready for review February 11, 2026 13:04
@marbre marbre merged commit da91472 into main Feb 11, 2026
12 checks passed
@marbre marbre deleted the users/marbre/artifact-manager-flatten branch February 11, 2026 13:04
@github-project-automation github-project-automation bot moved this from TODO to Done in TheRock Triage Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants