[WIP] Check remote VERSION file for version updates #716
+291
−22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement hash tracking to indicate when labels are out of date in remote VERSION files
Problem:
When a remote VERSION file shows:
We know
raw-datawas last uploaded at v0.3.0, but we don't know if it's still up to date with the current project version (v0.5.0) - there may have been changes to raw-data between v0.3.0 and v0.5.0.Solution:
Add hash tracking to indicate when labels are potentially out of date:
#to label versions that weren't uploaded in the current version#(and add*if untrusted)Implementation:
.version_file_update_project_version()to mark existing labels with#when project version changes.version_file_mark_labels_stale()helper function to add hash markers.version_file_update_label_version()to remove#when label is uploaded.remote_get_version_label_non_project_file_extract()to handle#marker.remote_get_version_label_non_project_archive()(broken function call)Original prompt
VERSIONfile correctly shows label version as out of date if not up to date with project version #577💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.