Skip to content

pii_check may not really be checking #38646

@robrap

Description

@robrap

Here is the code for pii_check:

  • openedx-platform/Makefile

    Lines 177 to 191 in 7c68f1d

    ## Re-enable --lint flag when this issue https://github.com/openedx/edx-platform/issues/35775 is resolved
    pii_check: ## check django models for pii annotations
    DJANGO_SETTINGS_MODULE=cms.envs.test \
    code_annotations django_find_annotations \
    --config_file .pii_annotations.yml \
    --app_name cms \
    --coverage \
    --lint
    DJANGO_SETTINGS_MODULE=lms.envs.test \
    code_annotations django_find_annotations \
    --config_file .pii_annotations.yml \
    --app_name lms \
    --coverage \
    --lint
    • This uses --app_name cms, which doesn't seem to be matching anything.
    • Also, line 177 has comment about "Re-enable --lint flag", which seems to already be done?

Possibly the target might be missed, given we don't seem to really have been checking?

Relevant recent issues and docs:

In addition to fixing, maybe we could implement or ticket ensuring this doesn't regress again? It seems this isn't the first time this broke and no one noticed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions