Skip to content

The Pipeline Assassin (sys.exit(1)) for full_api_network_map #165

Closed

Description

@squid-protocol

The programmatic entry point run_api_audit() is designed to be executed by your central pipeline orchestrator. However, it relies on parse_official_swagger(), which contains hardcoded system exits:

Python
except Exception as e:
print(f" ❌ Error reading Swagger file: {e}")
sys.exit(1)
If the GalaxyScope orchestrator attempts to scan a repository that contains a corrupted swagger.json file, or a .yaml file when pyyaml isn't installed, sys.exit(1) won't just stop the API mapper—it will instantly kill the entire Python process, crashing the entire pipeline and preventing the rest of your reports and databases from generating.

Activity

  1. added
    component: shadow-api
    bug
    priority: critical
    on Jul 11, 2026
  2. added this to the v2.4.0 milestone on Jul 11, 2026
  3. added a commit that references this issue on Jul 20, 2026
    7dcfa0c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcomponent: shadow-apipriority: critical

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions