Skip to content

Add Hive file type support to FileTypeChecker#678

Merged
Bujee415 merged 1 commit intomasterfrom
improve/add-message-for-hive-format
Dec 4, 2025
Merged

Add Hive file type support to FileTypeChecker#678
Bujee415 merged 1 commit intomasterfrom
improve/add-message-for-hive-format

Conversation

@YukiMatsuzawa
Copy link
Copy Markdown
Contributor

Add Hive file type support to FileTypeChecker

Added a new ContainsHive property to track Hive file types.
Enhanced CheckFileType to detect .hmd and .mzb extensions
and updated ClearFileTypeInfo to reset ContainsHive.

Modified GetSupportMessage to include a notice about Hive
file format support, warning users about potential future
unavailability and suggesting updates to newer MS-DIAL versions.

Added a new `ContainsHive` property to track Hive file types.
Enhanced `CheckFileType` to detect `.hmd` and `.mzb` extensions
and updated `ClearFileTypeInfo` to reset `ContainsHive`.

Modified `GetSupportMessage` to include a notice about Hive
file format support, warning users about potential future
unavailability and suggesting updates to newer MS-DIAL versions.
@YukiMatsuzawa YukiMatsuzawa changed the title Add Hive file type support to FileTypeCheckeru Add Hive file type support to FileTypeChecker Dec 4, 2025
Copy link
Copy Markdown
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 support for detecting Hive file formats (.hmd and .mzb extensions) in the MS-DIAL application's file type checker system, with an accompanying user notice about potential future unavailability of Hive format support.

  • Added ContainsHive property to track presence of Hive file types
  • Enhanced file type detection to recognize .hmd and .mzb extensions
  • Added user-facing notification about Hive format support lifecycle

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

builder.AppendLine();
}
builder.AppendLine("Hive Format Notice");
builder.AppendLine("The Hive data reader may become unavailable after the support period ends. If you are unable to read Hive data, please consider using a newer version of MS-DIAL.");
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

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

The message says "may become unavailable after the support period ends" but doesn't specify when that support period is or provide any concrete timeline. This makes the warning vague and unhelpful for users trying to plan their usage. Consider either:

  1. Specifying the actual support end date if known (e.g., "after [DATE]")
  2. Providing a version number where support will end
  3. Making the message more actionable without the vague timeline reference
Suggested change
builder.AppendLine("The Hive data reader may become unavailable after the support period ends. If you are unable to read Hive data, please consider using a newer version of MS-DIAL.");
builder.AppendLine("Support for the Hive data reader is planned to end after June 30, 2024. If you are unable to read Hive data after this date, please consider using a newer version of MS-DIAL or consult the official MS-DIAL website for the latest support information.");

Copilot uses AI. Check for mistakes.
@Bujee415 Bujee415 merged commit 989a814 into master Dec 4, 2025
14 of 15 checks passed
@Bujee415 Bujee415 deleted the improve/add-message-for-hive-format branch December 4, 2025 07:54
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.

3 participants