You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "stricklandrbls (via GitHub)" <gi...@apache.org> on 2025/08/22 22:05:49 UTC
[I] Add Ability To Profile Unapplied Data Editor Changes [daffodil-vscode]
stricklandrbls opened a new issue, #1377:
URL: https://github.com/apache/daffodil-vscode/issues/1377
Enhancement from the previous issue: https://github.com/apache/daffodil-vscode/issues/1252
It would be beneficial to be able to profile data in the Data Editor that has not yet been applied to the file on the filesystem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Ability To Profile Unapplied Data Editor Changes [daffodil-vscode]
Posted by "Ontiomacer (via GitHub)" <gi...@apache.org>.
Ontiomacer commented on issue #1377:
URL: https://github.com/apache/daffodil-vscode/issues/1377#issuecomment-3632278504
First of all thanks @stricklandrbls — I’ve started exploring the Data Editor internals and I want to confirm my understanding before I begin implementing the feature.
Here’s what I found so far:
- Profiling requests (`MessageCommand.profile`) are handled in `dataEditorClient.ts` and are sent to omega-edit through `profileSession()`.
- Omega-edit only reflects *applied* changes. This means any edits that are still pending in the Svelte editor buffer (the “unapplied changes”) are not included.
- The front-end stores maintain the pending text buffer until `applyChanges` is triggered, but profiling always operates on the omega-edit session, not the unsaved buffer.
Based on this, profiling ignores any text the user has typed but not yet applied, which matches Issue #1377.
### Proposed approach (please confirm)
Before implementing anything, I want to verify the right direction:
1. Extend the profiling request to include the pending editor buffer (the unapplied edits).
2. Update the backend handler to:
- Prefer profiling the pending buffer if it exists, or
- Fall back to the omega-edit session if there are no pending edits.
3. If needed, create a temporary / staged omega-edit session for profiling the transient buffer so the main session isn’t mutated.
Does this approach align with what you expect for this feature?
Once confirmed, I will proceed with the implementation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Ability To Profile Unapplied Data Editor Changes [daffodil-vscode]
Posted by "stricklandrbls (via GitHub)" <gi...@apache.org>.
stricklandrbls commented on issue #1377:
URL: https://github.com/apache/daffodil-vscode/issues/1377#issuecomment-3628361133
@Ontiomacer Thanks for the interest. I am not currently working this issue. I had initially just assigned it to myself but would appreciate additional support.
I will add you as an additional assignee. Let me know if you have any questions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Ability To Profile Unapplied Data Editor Changes [daffodil-vscode]
Posted by "stricklandrbls (via GitHub)" <gi...@apache.org>.
stricklandrbls closed issue #1377: Add Ability To Profile Unapplied Data Editor Changes
URL: https://github.com/apache/daffodil-vscode/issues/1377
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Ability To Profile Unapplied Data Editor Changes [daffodil-vscode]
Posted by "stricklandrbls (via GitHub)" <gi...@apache.org>.
stricklandrbls commented on issue #1377:
URL: https://github.com/apache/daffodil-vscode/issues/1377#issuecomment-3667071080
@scholarsmate @hdalsania @Ontiomacer
As Davin stated, this is currently working as it should from the Data Editor's profiler. I am currently determining whether the scope of this ticket should be changed to allow both types of profiling to exist (Unapplied vs on-disk).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Ability To Profile Unapplied Data Editor Changes [daffodil-vscode]
Posted by "scholarsmate (via GitHub)" <gi...@apache.org>.
scholarsmate commented on issue #1377:
URL: https://github.com/apache/daffodil-vscode/issues/1377#issuecomment-3647487599
@stricklandrbls Ωedit does indeed profile edits that are in-flight, not just what's on disk. If you make a change in the data editor, don't save it, and profile it, that changed data ought to be reflected in the profile. If that's the intent of this feature, it already works that way.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Ability To Profile Unapplied Data Editor Changes [daffodil-vscode]
Posted by "Ontiomacer (via GitHub)" <gi...@apache.org>.
Ontiomacer commented on issue #1377:
URL: https://github.com/apache/daffodil-vscode/issues/1377#issuecomment-3622227872
Hey @stricklandrbls Are you still working on this i am here just comming on the mailing list of apache daffodil just wanted to know if you are working on it also it would be extremly helpful for me to assist you on this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Ability To Profile Unapplied Data Editor Changes [daffodil-vscode]
Posted by "stricklandrbls (via GitHub)" <gi...@apache.org>.
stricklandrbls commented on issue #1377:
URL: https://github.com/apache/daffodil-vscode/issues/1377#issuecomment-3666891150
@scholarsmate IIRC, I attempted to profile unapplied data with the profiler but only ever saw data that was on disk. Is there an alternate OmegaEdit API call for profiling buffered data w/ changes vs what's on disk?
I'm going to check this out right now and see.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Ability To Profile Unapplied Data Editor Changes [daffodil-vscode]
Posted by "stricklandrbls (via GitHub)" <gi...@apache.org>.
stricklandrbls commented on issue #1377:
URL: https://github.com/apache/daffodil-vscode/issues/1377#issuecomment-3667385666
@scholarsmate @hdalsania @Ontiomacer - This has been moved to issue #1563 as the scope has changed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org