ci: open a tracking issue with an agent playbook when a new upstream version ships#810
Closed
avifenesh wants to merge 1 commit into
Closed
ci: open a tracking issue with an agent playbook when a new upstream version ships#810avifenesh wants to merge 1 commit into
avifenesh wants to merge 1 commit into
Conversation
…version ships When the scheduled upstream-build workflow detects a new ChatGPT.dmg app version (CFBundleShortVersionString), it now opens a tracking issue containing: - Version number and DMG metadata (SHA-256, Last-Modified, ETag) - Direct links to the workflow run and artifacts - A comprehensive agent playbook for addressing the new version The playbook guides an agent through: 1. Downloading and inspecting the DMG 2. Building and validating against the new version 3. Fixing patch matchers when upstream code shapes change 4. Running the test suite 5. Opening focused PRs for each fix 6. Updating the tracking issue Issues are deduplicated by version number in the title and the "upstream-version" label. The workflow only creates issues on scheduled runs when a valid version is extracted. Complements PR ilysenko#737 (DMG intelligence report) by adding scheduled version-detection and issue automation on top of the existing analysis tooling.
Collaborator
Author
|
The failing |
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
CFBundleShortVersionStringfrom the upstream DMG during scheduled buildsMotivation
The daily upstream-build workflow validates that the current patch set applies cleanly to the latest upstream DMG, but when a new version ships, there's no automated signal or guidance for maintainers. This PR adds scheduled version-detection and creates an issue containing:
patch-report.json)The playbook documents repo conventions (keep old shapes, add new branches, idempotent patches, graceful warnings) and references
AGENTS.md,scripts/patches/core/README.md, and other source-of-truth files.Issues are deduplicated by the
upstream-versionlabel and version number in the title. The workflow only creates issues on scheduled runs when a valid version is extracted (skipsunknownversions).Complementary to PR #737
This PR complements the DMG intelligence report work in PR #737:
Both work together: the playbook references the intelligence report as a discovery step, and the issue links to the workflow artifacts containing the patch report.
Validation
yaml.safe_loadcomputer-use-sync-reminder.ymlpattern: label creation, deduplication by label + title,github.rest.issues.createappBundleVersion()helper fromscripts/lib/build-info.jsAGENTS.mdand patch descriptor contract fromscripts/patches/core/README.mdissues: writepermission scoped to the single job that needs itTesting Plan
The workflow will be validated on the next scheduled run (daily at 6:30 UTC). Expected behavior:
unknownversions)The issue creation can also be tested by triggering a manual workflow_dispatch run, observing that no issue is created (schedule-only guard), then temporarily removing the
if: github.event_name == 'schedule'condition and re-running.