Skip to content

Conversation

@ianhelle
Copy link
Contributor

@ianhelle ianhelle commented Feb 2, 2026

Copoilot instructions file
Also added fix for sporadic test failures in ip_utils

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds GitHub Copilot instructions files to help guide AI-assisted code generation for the msticpy project. The instructions provide comprehensive guidance on package structure, code conventions, testing requirements, and development workflows.

Changes:

  • Adds .github/copilot-instructions.md with coding guidelines and project conventions
  • Includes a copy/variant file with additional context about the project

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

File Description
.github/copilot-instructions.md Main Copilot instructions file defining Python standards, testing requirements, and development workflows
.github/copilot-instructions copy.md Extended version with additional project overview and key subpackages information

However, I've identified several issues with the instructions that need to be corrected:

- Add drop_duplicates(subset=['query']) before merge in get_whois_df to prevent
  row multiplication from duplicate whois results
- Change net_df fixture scope from module to function for test isolation with
  random sampling
- Add autouse fixture to clear LRU caches (get_whois_info, _whois_lookup) between
  tests to prevent state leakage
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.

2 participants