Skip to content

Add a prefix to files output to ${FLUTTER_LOGS_DIR} #144402

@matanlurey

Description

@matanlurey

I unfortunately misunderstood how ${FLUTTER_LOGS_DIR} works, and have been overwriting my own outputs 😢:

  1. Any task in the same builder writes to the same directory

    If task A writes foo.txt, and task B writes foo.txt, then task A's foo.txt is silently overwritten.

  2. Re-runs (i.e. due to failures or timeouts) have the same property

    If task A (run 1) fails, a successful task A (run 1) will overwrite the logs of the failed entry.

This is all made extra confusing by the fact the UI shows multiple log uploads, as if they might be different:

Screenshot 2024-02-29 at 9 10 17 AM

Special thanks to @keyonghan for explaining this all to me here on Discord.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work liste: scenario-appThe `testing/scenario_app` fixture in the engineplatform-androidAndroid applications specificallyteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions