Skip to content

wake: implement --prune feature.#1858

Open
Will Dietz (dtzSiFive) wants to merge 1 commit into
feature/multi-wakefrom
feature/prune
Open

wake: implement --prune feature.#1858
Will Dietz (dtzSiFive) wants to merge 1 commit into
feature/multi-wakefrom
feature/prune

Conversation

@dtzSiFive
Copy link
Copy Markdown
Contributor

Checks for existance and file type.

Add basic test.

Comment thread src/runtime/database.cpp Outdated
const char *sql_get_job_output_paths =
"select distinct f.file_id, f.path, f.type"
" from filetree ft join files f on f.file_id=ft.file_id join jobs j on ft.job_id=j.job_id"
" where ft.access = 2"
Copy link
Copy Markdown
Contributor Author

@dtzSiFive Will Dietz (dtzSiFive) May 15, 2026

Choose a reason for hiding this comment

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

Consideration:

Drop this qualifier (and rename to get_job_paths or whatever).

And actually simplify this all the way down to just:

select distinct f.file_id, f.path, f.type .

Everything is someone's output.

Anyway hopefully this is easy enough to shape however we'd like.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think that's the right call so went ahead and made the change.

Checks for existance and file type.

Add basic test.
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