-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Genuinely started using the skill you announced at https://mglaman.dev/blog/drupalorg-cli-080-gitlab-issue-fork-and-merge-request-commands β thanks so much! π
Context
- I have your
drupalorg-cliAI skills installed :) - I have an AI working on https://www.drupal.org/project/canvas/issues/3578142
- While it was doing its thing, I was doing research in Drupal core. I updated the issue with new info in comment #6
- I informed the AI: "FYI a new comment with a new insight was posted β ensure the relevant @todo is added to the code you propose."
Problem
That is when I observed an inability to fetch this new comment, which is impairing real-time human-in-the-loop collaboration.
Output
Let me check the latest comment on the issue:
# Fetch latest issue comments
$ drupalorg issue:show 3578142 --with-comments --format=llm
then it did
The issue still shows the same comments I read before β the API cache might be stale. Let me try clearing the cache and fetching again:
# Clear cache and re-fetch issue
$ drupalorg cache:clear && drupalorg issue:show 3578142 --with-comments --format=llm
There are no commands defined in the "cache" namespace.
π
Then:
# Fetch issue without cache
$ drupalorg issue:show 3578142 --with-comments --format=llm --no-cache 2>/dev/null || drupalorg issue:show 3578142 --with-comments --format=text
Finally:
The issue still shows the same 5 comments. Let me check the issue page directly via web fetch to see if there's a newer comment:
% WebFetch https://www.drupal.org/project/canvas/issues/3578142
Found it. Comment #6 mentions the upstream issue #3001284: Allow plugin derivers to specify cache tags for their definitions. And the issue summary was updated to include:
It's totally possible that d.o's HTTP API caching is what's getting in the way, but I think this repo's skill would be the ideal place to standardize some strategy to handle this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels