Skip to content

prevent access to ~/eosio-wallet/ & ~/.local/share/eosio during CI test runsΒ #1859

@spoonincode

Description

@spoonincode

This is a transfer of VaultaFoundation/mandel#770

Tests should never access nodeos' and keosd's default config & data directories (~/.local/share/eosio & ~/eosio-wallet respectively) . At best it can create spooky problems such as VaultaFoundation/mandel#553, in extreme cases it could remove a user's wallet (what I'm worried VaultaFoundation/mandel#704 might have done in very specific conditions).

CI must prevent access to these directories so that tests violating this rule fail as an indicator to us that the test needs fixing.

Bonus points for using something like FUSE to make sure an application even so much as taking a sniff πŸ‘ƒ with opendir() will cause some sort of catastrophic test failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CICDAnything dealing with the CI workflow behaviorπŸ‘ lgtm

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions